google-cloud-notebooks-v2 0.5.0 → 1.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: 285dc6139d050eca9378639d620785282538c1e5478b6414a171f6e97dcaa243
4
- data.tar.gz: d44b79d1832550747c1001cc4913fce85a43846a6fcd1956d01f3ccaea49d959
3
+ metadata.gz: f0e4c7b1e3a19b97db797ca2c406231ef34917f5444ffa9f6264bad2c28797e7
4
+ data.tar.gz: 85c7081e43dc68e98025522e1ad609b02d08366fb7fabbe4406622f3c0b38b5e
5
5
  SHA512:
6
- metadata.gz: 39a877a613ee8c08bfe8aa8cb0fc6f972c4af8e83a9719ad3c0a8ec7f08ff2a260e0350f391ecd50c0912cad1a412f4cbf4aaee75d53b1f342a991073ada63fc
7
- data.tar.gz: 9e9b4bed761a3e920f4ac3922348fa1520fd7aefbab47bb561b027b7ad7513acf247f30c97f4d5e1c574f4d646511d71727e8caee10eccb148f5d619f39f7515
6
+ metadata.gz: 98c7d8ddfce69d8a439e0dfe41d84134950599afe5bb2717dd51d68690d2c8b5eba5a38e670ebb650327cd975753658de9e9226d54640d6e13835017c03f4d5a
7
+ data.tar.gz: c0dde59141beb8006a1450f97fedbd45f9c8cb2b9d1409709a34054db9596530156c10f973ac52edcf4b8705ef4bd0ccce908dcced529b6f58064076cd457f0c
data/README.md CHANGED
@@ -85,7 +85,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
85
85
 
86
86
  ## Supported Ruby Versions
87
87
 
88
- This library is supported on Ruby 2.7+.
88
+ This library is supported on Ruby 3.0+.
89
89
 
90
90
  Google provides official support for Ruby versions that are actively supported
91
91
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -1443,6 +1443,13 @@ module Google
1443
1443
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1444
1444
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1445
1445
  # * (`nil`) indicating no credentials
1446
+ #
1447
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1448
+ # external source for authentication to Google Cloud, you must validate it before
1449
+ # providing it to a Google API client library. Providing an unvalidated credential
1450
+ # configuration to Google APIs can compromise the security of your systems and data.
1451
+ # For more information, refer to [Validate credential configurations from external
1452
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1446
1453
  # @return [::Object]
1447
1454
  # @!attribute [rw] scope
1448
1455
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -279,10 +279,10 @@ module Google
279
279
  # @param filter [::String]
280
280
  # Optional. List filter.
281
281
  # @yield [result, operation] Access the result along with the TransportOperation object
282
- # @yieldparam result [::Google::Cloud::Notebooks::V2::ListInstancesResponse]
282
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V2::Instance>]
283
283
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
284
284
  #
285
- # @return [::Google::Cloud::Notebooks::V2::ListInstancesResponse]
285
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V2::Instance>]
286
286
  #
287
287
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
288
288
  #
@@ -334,7 +334,9 @@ module Google
334
334
  retry_policy: @config.retry_policy
335
335
 
336
336
  @notebook_service_stub.list_instances request, options do |result, operation|
337
+ result = ::Gapic::Rest::PagedEnumerable.new @notebook_service_stub, :list_instances, "instances", request, result, options
337
338
  yield result, operation if block_given?
339
+ throw :response, result
338
340
  end
339
341
  rescue ::Gapic::Rest::Error => e
340
342
  raise ::Google::Cloud::Error.from_error(e)
@@ -1350,6 +1352,13 @@ module Google
1350
1352
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1351
1353
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1352
1354
  # * (`nil`) indicating no credentials
1355
+ #
1356
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1357
+ # external source for authentication to Google Cloud, you must validate it before
1358
+ # providing it to a Google API client library. Providing an unvalidated credential
1359
+ # configuration to Google APIs can compromise the security of your systems and data.
1360
+ # For more information, refer to [Validate credential configurations from external
1361
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1353
1362
  # @return [::Object]
1354
1363
  # @!attribute [rw] scope
1355
1364
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Notebooks
23
23
  module V2
24
- VERSION = "0.5.0"
24
+ VERSION = "1.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -409,6 +409,14 @@ module Google
409
409
  # @return [::Array<::String>]
410
410
  # An allowlist of the fully qualified names of RPCs that should be included
411
411
  # on public client surfaces.
412
+ # @!attribute [rw] generate_omitted_as_internal
413
+ # @return [::Boolean]
414
+ # Setting this to true indicates to the client generators that methods
415
+ # that would be excluded from the generation should instead be generated
416
+ # in a way that indicates these methods should not be consumed by
417
+ # end users. How this is expressed is up to individual language
418
+ # implementations to decide. Some examples may be: added annotations,
419
+ # obfuscated identifiers, or other language idiomatic patterns.
412
420
  class SelectiveGapicGeneration
413
421
  include ::Google::Protobuf::MessageExts
414
422
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -63,10 +63,14 @@ module Google
63
63
  # @!attribute [rw] name
64
64
  # @return [::String]
65
65
  # Optional. Use VM image name to find the image.
66
+ #
67
+ # Note: The following fields are mutually exclusive: `name`, `family`. If a field in that set is populated, all other fields in the set will automatically be cleared.
66
68
  # @!attribute [rw] family
67
69
  # @return [::String]
68
70
  # Optional. Use this VM image family to find the image; the newest image in
69
71
  # this family will be used.
72
+ #
73
+ # Note: The following fields are mutually exclusive: `family`, `name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
70
74
  class VmImage
71
75
  include ::Google::Protobuf::MessageExts
72
76
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -267,9 +271,13 @@ module Google
267
271
  # @!attribute [rw] vm_image
268
272
  # @return [::Google::Cloud::Notebooks::V2::VmImage]
269
273
  # Optional. Use a Compute Engine VM image to start the notebook instance.
274
+ #
275
+ # Note: The following fields are mutually exclusive: `vm_image`, `container_image`. If a field in that set is populated, all other fields in the set will automatically be cleared.
270
276
  # @!attribute [rw] container_image
271
277
  # @return [::Google::Cloud::Notebooks::V2::ContainerImage]
272
278
  # Optional. Use a container image to start the notebook instance.
279
+ #
280
+ # Note: The following fields are mutually exclusive: `container_image`, `vm_image`. If a field in that set is populated, all other fields in the set will automatically be cleared.
273
281
  # @!attribute [rw] boot_disk
274
282
  # @return [::Google::Cloud::Notebooks::V2::BootDisk]
275
283
  # Optional. The boot disk for the VM.
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-notebooks-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-02-07 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -139,7 +138,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
139
138
  licenses:
140
139
  - Apache-2.0
141
140
  metadata: {}
142
- post_install_message:
143
141
  rdoc_options: []
144
142
  require_paths:
145
143
  - lib
@@ -147,15 +145,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
147
145
  requirements:
148
146
  - - ">="
149
147
  - !ruby/object:Gem::Version
150
- version: '2.7'
148
+ version: '3.0'
151
149
  required_rubygems_version: !ruby/object:Gem::Requirement
152
150
  requirements:
153
151
  - - ">="
154
152
  - !ruby/object:Gem::Version
155
153
  version: '0'
156
154
  requirements: []
157
- rubygems_version: 3.5.23
158
- signing_key:
155
+ rubygems_version: 3.6.3
159
156
  specification_version: 4
160
157
  summary: Notebooks API is used to manage notebook resources in Google Cloud.
161
158
  test_files: []