google-cloud-notebooks-v2 0.6.0 → 1.0.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 +4 -4
- data/lib/google/cloud/notebooks/v2/notebook_service/client.rb +2 -2
- data/lib/google/cloud/notebooks/v2/notebook_service/operations.rb +2 -2
- data/lib/google/cloud/notebooks/v2/notebook_service/rest/client.rb +5 -3
- data/lib/google/cloud/notebooks/v2/notebook_service/rest/operations.rb +1 -1
- data/lib/google/cloud/notebooks/v2/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afa195dc8b8b88c8087d88c3931ceede298cea31267463a5b67e8a2afc3ac010
|
4
|
+
data.tar.gz: 5359c8b21150d4ef384d6bb1544809997055d5e51fb5ad5fcde0d2ff4331f831
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f1691fb36ba8f9de552f21846bd54bd7cd97ea5be40535b323ff62095d4ebebb02d91fb75b6531d83300ae5404d0477fade0d38283f26e67c8c5a9c7f046ab3
|
7
|
+
data.tar.gz: 1f5b2ed8a9f5714a673f1372ee1cb34b526661395ef5c525b3ecd2227773cb4c8cb5d596b7fc7858f985fba480e77f17e070116fb0e408d970b014331ad22bba
|
@@ -1504,8 +1504,8 @@ module Google
|
|
1504
1504
|
|
1505
1505
|
config_attr :endpoint, nil, ::String, nil
|
1506
1506
|
config_attr :credentials, nil do |value|
|
1507
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1508
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
1507
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
1508
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
1509
1509
|
allowed.any? { |klass| klass === value }
|
1510
1510
|
end
|
1511
1511
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -701,8 +701,8 @@ module Google
|
|
701
701
|
|
702
702
|
config_attr :endpoint, nil, ::String, nil
|
703
703
|
config_attr :credentials, nil do |value|
|
704
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
705
|
-
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
|
706
706
|
allowed.any? { |klass| klass === value }
|
707
707
|
end
|
708
708
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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::
|
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::
|
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)
|
@@ -1404,7 +1406,7 @@ module Google
|
|
1404
1406
|
|
1405
1407
|
config_attr :endpoint, nil, ::String, nil
|
1406
1408
|
config_attr :credentials, nil do |value|
|
1407
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1409
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
1408
1410
|
allowed.any? { |klass| klass === value }
|
1409
1411
|
end
|
1410
1412
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -556,7 +556,7 @@ module Google
|
|
556
556
|
|
557
557
|
config_attr :endpoint, nil, ::String, nil
|
558
558
|
config_attr :credentials, nil do |value|
|
559
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
559
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
560
560
|
allowed.any? { |klass| klass === value }
|
561
561
|
end
|
562
562
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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
|
metadata
CHANGED
@@ -1,13 +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.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: gapic-common
|
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
152
|
- !ruby/object:Gem::Version
|
153
153
|
version: '0'
|
154
154
|
requirements: []
|
155
|
-
rubygems_version: 3.6.
|
155
|
+
rubygems_version: 3.6.8
|
156
156
|
specification_version: 4
|
157
157
|
summary: Notebooks API is used to manage notebook resources in Google Cloud.
|
158
158
|
test_files: []
|