google-cloud-notebooks-v1 0.11.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/v1/managed_notebook_service/client.rb +2 -2
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/operations.rb +2 -2
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/rest/client.rb +5 -3
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/rest/operations.rb +1 -1
- data/lib/google/cloud/notebooks/v1/notebook_service/client.rb +2 -2
- data/lib/google/cloud/notebooks/v1/notebook_service/operations.rb +2 -2
- data/lib/google/cloud/notebooks/v1/notebook_service/rest/client.rb +17 -9
- data/lib/google/cloud/notebooks/v1/notebook_service/rest/operations.rb +1 -1
- data/lib/google/cloud/notebooks/v1/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: 726d305bde0131e1b6c700db659ab8e2e44f799591623d09595f87414215e443
|
4
|
+
data.tar.gz: d98e2f4a2524d1f2118788cfa9edb774afd2d75c94287b80b428981df8a44685
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2c2bac8894e0d8979fd4fb18ba16a51a3dd90c9d2a7bf72b666965239870626d6768b52e08668779e4c52cf049a2fcefed2f5531f24fbd52bad2bc9fbcc5feb
|
7
|
+
data.tar.gz: 864023ece806f6e877727d17afdd9307433b23cfd4a14e18c9d3b6b7b8d490063fa40a612b7f306a0915c91f740554de62e96c9acc5ce80d1af7af501ab07b9c
|
@@ -1645,8 +1645,8 @@ module Google
|
|
1645
1645
|
|
1646
1646
|
config_attr :endpoint, nil, ::String, nil
|
1647
1647
|
config_attr :credentials, nil do |value|
|
1648
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1649
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
1648
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
1649
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
1650
1650
|
allowed.any? { |klass| klass === value }
|
1651
1651
|
end
|
1652
1652
|
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
|
@@ -276,10 +276,10 @@ module Google
|
|
276
276
|
# A previous returned page token that can be used to continue listing
|
277
277
|
# from the last result.
|
278
278
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
279
|
-
# @yieldparam result [::Google::Cloud::Notebooks::V1::
|
279
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V1::Runtime>]
|
280
280
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
281
281
|
#
|
282
|
-
# @return [::Google::Cloud::Notebooks::V1::
|
282
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V1::Runtime>]
|
283
283
|
#
|
284
284
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
285
285
|
#
|
@@ -331,7 +331,9 @@ module Google
|
|
331
331
|
retry_policy: @config.retry_policy
|
332
332
|
|
333
333
|
@managed_notebook_service_stub.list_runtimes request, options do |result, operation|
|
334
|
+
result = ::Gapic::Rest::PagedEnumerable.new @managed_notebook_service_stub, :list_runtimes, "runtimes", request, result, options
|
334
335
|
yield result, operation if block_given?
|
336
|
+
throw :response, result
|
335
337
|
end
|
336
338
|
rescue ::Gapic::Rest::Error => e
|
337
339
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1538,7 +1540,7 @@ module Google
|
|
1538
1540
|
|
1539
1541
|
config_attr :endpoint, nil, ::String, nil
|
1540
1542
|
config_attr :credentials, nil do |value|
|
1541
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1543
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
1542
1544
|
allowed.any? { |klass| klass === value }
|
1543
1545
|
end
|
1544
1546
|
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
|
@@ -3659,8 +3659,8 @@ module Google
|
|
3659
3659
|
|
3660
3660
|
config_attr :endpoint, nil, ::String, nil
|
3661
3661
|
config_attr :credentials, nil do |value|
|
3662
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
3663
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
3662
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
3663
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
3664
3664
|
allowed.any? { |klass| klass === value }
|
3665
3665
|
end
|
3666
3666
|
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
|
@@ -320,10 +320,10 @@ module Google
|
|
320
320
|
# A previous returned page token that can be used to continue listing
|
321
321
|
# from the last result.
|
322
322
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
323
|
-
# @yieldparam result [::Google::Cloud::Notebooks::V1::
|
323
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V1::Instance>]
|
324
324
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
325
325
|
#
|
326
|
-
# @return [::Google::Cloud::Notebooks::V1::
|
326
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V1::Instance>]
|
327
327
|
#
|
328
328
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
329
329
|
#
|
@@ -375,7 +375,9 @@ module Google
|
|
375
375
|
retry_policy: @config.retry_policy
|
376
376
|
|
377
377
|
@notebook_service_stub.list_instances request, options do |result, operation|
|
378
|
+
result = ::Gapic::Rest::PagedEnumerable.new @notebook_service_stub, :list_instances, "instances", request, result, options
|
378
379
|
yield result, operation if block_given?
|
380
|
+
throw :response, result
|
379
381
|
end
|
380
382
|
rescue ::Gapic::Rest::Error => e
|
381
383
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2189,10 +2191,10 @@ module Google
|
|
2189
2191
|
# A previous returned page token that can be used to continue listing from
|
2190
2192
|
# the last result.
|
2191
2193
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
2192
|
-
# @yieldparam result [::Google::Cloud::Notebooks::V1::
|
2194
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V1::Environment>]
|
2193
2195
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2194
2196
|
#
|
2195
|
-
# @return [::Google::Cloud::Notebooks::V1::
|
2197
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V1::Environment>]
|
2196
2198
|
#
|
2197
2199
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2198
2200
|
#
|
@@ -2244,7 +2246,9 @@ module Google
|
|
2244
2246
|
retry_policy: @config.retry_policy
|
2245
2247
|
|
2246
2248
|
@notebook_service_stub.list_environments request, options do |result, operation|
|
2249
|
+
result = ::Gapic::Rest::PagedEnumerable.new @notebook_service_stub, :list_environments, "environments", request, result, options
|
2247
2250
|
yield result, operation if block_given?
|
2251
|
+
throw :response, result
|
2248
2252
|
end
|
2249
2253
|
rescue ::Gapic::Rest::Error => e
|
2250
2254
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2542,10 +2546,10 @@ module Google
|
|
2542
2546
|
# @param order_by [::String]
|
2543
2547
|
# Field to order results by.
|
2544
2548
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
2545
|
-
# @yieldparam result [::Google::Cloud::Notebooks::V1::
|
2549
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V1::Schedule>]
|
2546
2550
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2547
2551
|
#
|
2548
|
-
# @return [::Google::Cloud::Notebooks::V1::
|
2552
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V1::Schedule>]
|
2549
2553
|
#
|
2550
2554
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2551
2555
|
#
|
@@ -2597,7 +2601,9 @@ module Google
|
|
2597
2601
|
retry_policy: @config.retry_policy
|
2598
2602
|
|
2599
2603
|
@notebook_service_stub.list_schedules request, options do |result, operation|
|
2604
|
+
result = ::Gapic::Rest::PagedEnumerable.new @notebook_service_stub, :list_schedules, "schedules", request, result, options
|
2600
2605
|
yield result, operation if block_given?
|
2606
|
+
throw :response, result
|
2601
2607
|
end
|
2602
2608
|
rescue ::Gapic::Rest::Error => e
|
2603
2609
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2983,10 +2989,10 @@ module Google
|
|
2983
2989
|
# @param order_by [::String]
|
2984
2990
|
# Sort by field.
|
2985
2991
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
2986
|
-
# @yieldparam result [::Google::Cloud::Notebooks::V1::
|
2992
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V1::Execution>]
|
2987
2993
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2988
2994
|
#
|
2989
|
-
# @return [::Google::Cloud::Notebooks::V1::
|
2995
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V1::Execution>]
|
2990
2996
|
#
|
2991
2997
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2992
2998
|
#
|
@@ -3038,7 +3044,9 @@ module Google
|
|
3038
3044
|
retry_policy: @config.retry_policy
|
3039
3045
|
|
3040
3046
|
@notebook_service_stub.list_executions request, options do |result, operation|
|
3047
|
+
result = ::Gapic::Rest::PagedEnumerable.new @notebook_service_stub, :list_executions, "executions", request, result, options
|
3041
3048
|
yield result, operation if block_given?
|
3049
|
+
throw :response, result
|
3042
3050
|
end
|
3043
3051
|
rescue ::Gapic::Rest::Error => e
|
3044
3052
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -3399,7 +3407,7 @@ module Google
|
|
3399
3407
|
|
3400
3408
|
config_attr :endpoint, nil, ::String, nil
|
3401
3409
|
config_attr :credentials, nil do |value|
|
3402
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
3410
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
3403
3411
|
allowed.any? { |klass| klass === value }
|
3404
3412
|
end
|
3405
3413
|
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-v1
|
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
|
@@ -174,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
174
174
|
- !ruby/object:Gem::Version
|
175
175
|
version: '0'
|
176
176
|
requirements: []
|
177
|
-
rubygems_version: 3.6.
|
177
|
+
rubygems_version: 3.6.8
|
178
178
|
specification_version: 4
|
179
179
|
summary: Notebooks API is used to manage notebook resources in Google Cloud.
|
180
180
|
test_files: []
|