google-cloud-notebooks-v1beta1 0.11.0 → 0.12.1

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: 6bf529303c57eb352e6710dc81b4fb76706edba08c8ca9b6946bc377cc1ec7c6
4
- data.tar.gz: 8863ebe8e62451f6f0b6f3145d70102136fc87878e849fa9c28366de15178fbd
3
+ metadata.gz: 6c25bc407440dcfcb081a433cbc2897f8907f8d1f160d39aa8b1d665d2118808
4
+ data.tar.gz: 657d400290dd97a05cf7178f8145e3e3657828bb79997516cace8a20bf3067fe
5
5
  SHA512:
6
- metadata.gz: 9e697ed8df2e8ef3e35a279156ce9b21e28c459acc8874d17630d6b613d135ddd9bafbd369095549a1fc21c329b8e8290bfd33a1d756ca68cde3a3cc85e79723
7
- data.tar.gz: b06e572756f8f7815b3427aa7ef31c1ce78e1aa0756e13f34772145cd70b5b2a8d5d35de6dbdebdd2ca3b8c0effb354fbd905099273e83f526945ef5e1272e81
6
+ metadata.gz: ec0022b9e8c7f26e627da640457a78b89013bb16a5a9798a72fe053dee639ef487ebb08173daee548713e39c287748a04273b534e9585bf0224fdfcfb178c16f
7
+ data.tar.gz: c360109f66e8a2119c81ffadc29a4a853bb2040d2fcd1810e2019649ac9ff97c28d10c7081f572d0ca42df8d531a438f214a3817e62d29068f6b8f108e8355f7
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -2150,6 +2150,13 @@ module Google
2150
2150
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
2151
2151
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2152
2152
  # * (`nil`) indicating no credentials
2153
+ #
2154
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2155
+ # external source for authentication to Google Cloud, you must validate it before
2156
+ # providing it to a Google API client library. Providing an unvalidated credential
2157
+ # configuration to Google APIs can compromise the security of your systems and data.
2158
+ # For more information, refer to [Validate credential configurations from external
2159
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2153
2160
  # @return [::Object]
2154
2161
  # @!attribute [rw] scope
2155
2162
  # The OAuth scopes
@@ -2204,8 +2211,8 @@ module Google
2204
2211
 
2205
2212
  config_attr :endpoint, nil, ::String, nil
2206
2213
  config_attr :credentials, nil do |value|
2207
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2208
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
2214
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2215
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
2209
2216
  allowed.any? { |klass| klass === value }
2210
2217
  end
2211
2218
  config_attr :scope, nil, ::String, ::Array, nil
@@ -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
@@ -694,8 +701,8 @@ module Google
694
701
 
695
702
  config_attr :endpoint, nil, ::String, nil
696
703
  config_attr :credentials, nil do |value|
697
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
698
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
704
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
705
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
699
706
  allowed.any? { |klass| klass === value }
700
707
  end
701
708
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Notebooks
23
23
  module V1beta1
24
- VERSION = "0.11.0"
24
+ VERSION = "0.12.1"
25
25
  end
26
26
  end
27
27
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -37,9 +37,13 @@ module Google
37
37
  # @!attribute [rw] vm_image
38
38
  # @return [::Google::Cloud::Notebooks::V1beta1::VmImage]
39
39
  # Use a Compute Engine VM image to start the notebook instance.
40
+ #
41
+ # 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.
40
42
  # @!attribute [rw] container_image
41
43
  # @return [::Google::Cloud::Notebooks::V1beta1::ContainerImage]
42
44
  # Use a container image to start the notebook instance.
45
+ #
46
+ # 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.
43
47
  # @!attribute [rw] post_startup_script
44
48
  # @return [::String]
45
49
  # Path to a Bash script that automatically runs after a notebook instance
@@ -62,10 +66,14 @@ module Google
62
66
  # @!attribute [rw] image_name
63
67
  # @return [::String]
64
68
  # Use VM image name to find the image.
69
+ #
70
+ # Note: The following fields are mutually exclusive: `image_name`, `image_family`. If a field in that set is populated, all other fields in the set will automatically be cleared.
65
71
  # @!attribute [rw] image_family
66
72
  # @return [::String]
67
73
  # Use this VM image family to find the image; the newest image in this
68
74
  # family will be used.
75
+ #
76
+ # Note: The following fields are mutually exclusive: `image_family`, `image_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
69
77
  class VmImage
70
78
  include ::Google::Protobuf::MessageExts
71
79
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -60,9 +60,13 @@ module Google
60
60
  # @!attribute [rw] vm_image
61
61
  # @return [::Google::Cloud::Notebooks::V1beta1::VmImage]
62
62
  # Use a Compute Engine VM image to start the notebook instance.
63
+ #
64
+ # 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.
63
65
  # @!attribute [rw] container_image
64
66
  # @return [::Google::Cloud::Notebooks::V1beta1::ContainerImage]
65
67
  # Use a container image to start the notebook instance.
68
+ #
69
+ # 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.
66
70
  # @!attribute [rw] post_startup_script
67
71
  # @return [::String]
68
72
  # Path to a Bash script that automatically runs after a notebook instance
@@ -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-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.1
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: 1980-01-02 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
@@ -131,7 +130,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
131
130
  licenses:
132
131
  - Apache-2.0
133
132
  metadata: {}
134
- post_install_message:
135
133
  rdoc_options: []
136
134
  require_paths:
137
135
  - lib
@@ -139,15 +137,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
139
137
  requirements:
140
138
  - - ">="
141
139
  - !ruby/object:Gem::Version
142
- version: '2.7'
140
+ version: '3.0'
143
141
  required_rubygems_version: !ruby/object:Gem::Requirement
144
142
  requirements:
145
143
  - - ">="
146
144
  - !ruby/object:Gem::Version
147
145
  version: '0'
148
146
  requirements: []
149
- rubygems_version: 3.5.23
150
- signing_key:
147
+ rubygems_version: 3.6.8
151
148
  specification_version: 4
152
149
  summary: Notebooks API is used to manage notebook resources in Google Cloud.
153
150
  test_files: []