google-cloud-notebooks 1.1.3 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5289e842411ead0295c19d970922de6c0a49963f235428c02bb5230a51bc960b
4
- data.tar.gz: 424ecf2ce4f73132dd1236dde68bc98904c3597a25dc1315bcb648d633dc85ed
3
+ metadata.gz: 520794a6fe0f38d40ceb4ac7a34eaefd1620170203af5ec801e33d6d416a09ec
4
+ data.tar.gz: 3b35040524c5eb25b177985b2a8ae9fa4810cce15f42d3286430b90110ff416d
5
5
  SHA512:
6
- metadata.gz: 4d6c2718b477ca77c62f11eabb1da076c1590f7bbe4dcde343acbdeb14b60012d92e97df6f8750e859f0946745739bd56f111671a24a6665c1a1fdbbd4ae282b
7
- data.tar.gz: d669db5b2e9b2a1e420e3c372b945e4df85a572292fd3e0248514bb884796691df1671d5986348e3e2a8fc3f2af9f28cbdddbc560680702937928635f0aa7284
6
+ metadata.gz: 48ca7a4da2c75ddd93eca7bbdf34c613ec97a0aa0e2820c3f58a9fe497cef17553b85be35bc678d7648d5035f603dd8783f312e455c50a155066774012cf499d
7
+ data.tar.gz: 6bdfefbfbc7ccd9034a93ef6661a6ccaca7972275701ed7139b3f2ff8593881b4378077124d7a9f4d6cf96a0cf6b501b033429ca07174ee36d92df9547e631ea
data/README.md CHANGED
@@ -11,11 +11,12 @@ verisoned gems in as dependencies, and provides high-level methods for
11
11
  constructing clients. More information on versioned clients can be found below
12
12
  in the section titled *Which client should I use?*.
13
13
 
14
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-notebooks/latest)
14
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-notebooks/latest)
15
15
  for this library, google-cloud-notebooks, to see the convenience methods for
16
16
  constructing client objects. Reference documentation for the client objects
17
17
  themselves can be found in the client library documentation for the versioned
18
18
  client gems:
19
+ [google-cloud-notebooks-v1](https://googleapis.dev/ruby/google-cloud-notebooks-v1/latest),
19
20
  [google-cloud-notebooks-v1beta1](https://googleapis.dev/ruby/google-cloud-notebooks-v1beta1/latest).
20
21
 
21
22
  See also the [Product Documentation](https://cloud.google.com/ai-platform-notebooks)
@@ -76,7 +77,7 @@ about the Ruby support schedule.
76
77
  Most modern Ruby client libraries for Google APIs come in two flavors: the main
77
78
  client library with a name such as `google-cloud-notebooks`,
78
79
  and lower-level _versioned_ client libraries with names such as
79
- `google-cloud-notebooks-v1beta1`.
80
+ `google-cloud-notebooks-v1`.
80
81
  _In most cases, you should install the main client._
81
82
 
82
83
  ### What's the difference between the main client and a versioned client?
@@ -114,7 +115,7 @@ You can use a versioned client if you are content with a possibly lower-level
114
115
  class interface, you explicitly want to avoid features provided by the main
115
116
  client, or you want to access a specific service version not be covered by the
116
117
  main client. You can identify versioned client gems because the service version
117
- is part of the name, e.g. `google-cloud-notebooks-v1beta1`.
118
+ is part of the name, e.g. `google-cloud-notebooks-v1`.
118
119
 
119
120
  ### What about the google-apis-<name> clients?
120
121
 
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Notebooks
23
- VERSION = "1.1.3"
23
+ VERSION = "2.0.0"
24
24
  end
25
25
  end
26
26
  end
@@ -48,8 +48,8 @@ module Google
48
48
  # Create a new client object for NotebookService.
49
49
  #
50
50
  # By default, this returns an instance of
51
- # [Google::Cloud::Notebooks::V1beta1::NotebookService::Client](https://googleapis.dev/ruby/google-cloud-notebooks-v1beta1/latest/Google/Cloud/Notebooks/V1beta1/NotebookService/Client.html)
52
- # for version V1beta1 of the API.
51
+ # [Google::Cloud::Notebooks::V1::NotebookService::Client](https://googleapis.dev/ruby/google-cloud-notebooks-v1/latest/Google/Cloud/Notebooks/V1/NotebookService/Client.html)
52
+ # for version V1 of the API.
53
53
  # However, you can specify specify a different API version by passing it in the
54
54
  # `version` parameter. If the NotebookService service is
55
55
  # supported by that API version, and the corresponding gem is available, the
@@ -60,10 +60,10 @@ module Google
60
60
  # API v1beta1 service for Cloud AI Platform Notebooks.
61
61
  #
62
62
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
63
- # Defaults to `:v1beta1`.
63
+ # Defaults to `:v1`.
64
64
  # @return [NotebookService::Client] A client object for the specified version.
65
65
  #
66
- def self.notebook_service version: :v1beta1, &block
66
+ def self.notebook_service version: :v1, &block
67
67
  require "google/cloud/notebooks/#{version.to_s.downcase}"
68
68
 
69
69
  package_name = Google::Cloud::Notebooks
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-notebooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-11 00:00:00.000000000 Z
11
+ date: 2022-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core
@@ -24,6 +24,26 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: google-cloud-notebooks-v1
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0.0'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: 2.a
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: '0.0'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: 2.a
27
47
  - !ruby/object:Gem::Dependency
28
48
  name: google-cloud-notebooks-v1beta1
29
49
  requirement: !ruby/object:Gem::Requirement
@@ -191,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
191
211
  - !ruby/object:Gem::Version
192
212
  version: '0'
193
213
  requirements: []
194
- rubygems_version: 3.3.4
214
+ rubygems_version: 3.3.5
195
215
  signing_key:
196
216
  specification_version: 4
197
217
  summary: API Client library for the AI Platform Notebooks API