google-cloud-notebooks-v2 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 285dc6139d050eca9378639d620785282538c1e5478b6414a171f6e97dcaa243
4
- data.tar.gz: d44b79d1832550747c1001cc4913fce85a43846a6fcd1956d01f3ccaea49d959
3
+ metadata.gz: ef1e484b9ec595a0e3f50af9c211430213816f8f56eee53cb8d925b0114761dd
4
+ data.tar.gz: 4739a3ec93032dafdc4294e9e97c1e31024f169ee79b4046b83c99d00097d766
5
5
  SHA512:
6
- metadata.gz: 39a877a613ee8c08bfe8aa8cb0fc6f972c4af8e83a9719ad3c0a8ec7f08ff2a260e0350f391ecd50c0912cad1a412f4cbf4aaee75d53b1f342a991073ada63fc
7
- data.tar.gz: 9e9b4bed761a3e920f4ac3922348fa1520fd7aefbab47bb561b027b7ad7513acf247f30c97f4d5e1c574f4d646511d71727e8caee10eccb148f5d619f39f7515
6
+ metadata.gz: b5e19028ef90dfb00140ece4b6c99eb897962067a4dc7aca87052fed8b80e93e1a68b8df4853eb1d7d689502573c737ebdb4408f0c704ffc70811156cddc1fa4
7
+ data.tar.gz: 5de823a4cfa734d7343e9ad52b6f9da907a431333b8a7e19b880c8f63c7f50d9c8583ea0f4163142129e5c1fff09b52eff24abc95dba37a7918149ce67adec3b
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
@@ -1350,6 +1350,13 @@ module Google
1350
1350
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1351
1351
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1352
1352
  # * (`nil`) indicating no credentials
1353
+ #
1354
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1355
+ # external source for authentication to Google Cloud, you must validate it before
1356
+ # providing it to a Google API client library. Providing an unvalidated credential
1357
+ # configuration to Google APIs can compromise the security of your systems and data.
1358
+ # For more information, refer to [Validate credential configurations from external
1359
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1353
1360
  # @return [::Object]
1354
1361
  # @!attribute [rw] scope
1355
1362
  # 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 = "0.6.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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: 0.6.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-01-29 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.2
159
156
  specification_version: 4
160
157
  summary: Notebooks API is used to manage notebook resources in Google Cloud.
161
158
  test_files: []