google-cloud-bare_metal_solution-v2 0.10.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/bare_metal_solution/v2/bare_metal_solution/client.rb +2 -2
- data/lib/google/cloud/bare_metal_solution/v2/bare_metal_solution/operations.rb +2 -2
- data/lib/google/cloud/bare_metal_solution/v2/bare_metal_solution/rest/client.rb +25 -13
- data/lib/google/cloud/bare_metal_solution/v2/bare_metal_solution/rest/operations.rb +1 -1
- data/lib/google/cloud/bare_metal_solution/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: c2a1105eb44ee0b8a0a70980d45b5bb4038a56468c3e07f5a98063a566c8de53
|
4
|
+
data.tar.gz: 317bc2ec0724af4eb459714fa255e5e652b411e0bed3f3ca421d3051c3465c76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3af771e6907966fc3e44e6bd9190aac7fefb6aafb17308e50c05454fc7232584d853d3bf7a3d2aeab4fe20b011b1aa8f26735fb862d3648733eb4b52b3845225
|
7
|
+
data.tar.gz: efc932ddaa79c74fbbcff9c80f0c52b45c5322c8e7e222f426c419190117e53807c02cd022eb7ae65634a62b345de133910c52dec62c321453f05b39e23e890a
|
@@ -4434,8 +4434,8 @@ module Google
|
|
4434
4434
|
|
4435
4435
|
config_attr :endpoint, nil, ::String, nil
|
4436
4436
|
config_attr :credentials, nil do |value|
|
4437
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
4438
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
4437
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
4438
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
4439
4439
|
allowed.any? { |klass| klass === value }
|
4440
4440
|
end
|
4441
4441
|
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
|
@@ -260,10 +260,10 @@ module Google
|
|
260
260
|
# @param filter [::String]
|
261
261
|
# List filter.
|
262
262
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
263
|
-
# @yieldparam result [::Google::Cloud::BareMetalSolution::V2::
|
263
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BareMetalSolution::V2::Instance>]
|
264
264
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
265
265
|
#
|
266
|
-
# @return [::Google::Cloud::BareMetalSolution::V2::
|
266
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BareMetalSolution::V2::Instance>]
|
267
267
|
#
|
268
268
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
269
269
|
#
|
@@ -315,7 +315,9 @@ module Google
|
|
315
315
|
retry_policy: @config.retry_policy
|
316
316
|
|
317
317
|
@bare_metal_solution_stub.list_instances request, options do |result, operation|
|
318
|
+
result = ::Gapic::Rest::PagedEnumerable.new @bare_metal_solution_stub, :list_instances, "instances", request, result, options
|
318
319
|
yield result, operation if block_given?
|
320
|
+
throw :response, result
|
319
321
|
end
|
320
322
|
rescue ::Gapic::Rest::Error => e
|
321
323
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1388,10 +1390,10 @@ module Google
|
|
1388
1390
|
# @param filter [::String]
|
1389
1391
|
# List filter.
|
1390
1392
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1391
|
-
# @yieldparam result [::Google::Cloud::BareMetalSolution::V2::
|
1393
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BareMetalSolution::V2::Volume>]
|
1392
1394
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1393
1395
|
#
|
1394
|
-
# @return [::Google::Cloud::BareMetalSolution::V2::
|
1396
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BareMetalSolution::V2::Volume>]
|
1395
1397
|
#
|
1396
1398
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1397
1399
|
#
|
@@ -1443,7 +1445,9 @@ module Google
|
|
1443
1445
|
retry_policy: @config.retry_policy
|
1444
1446
|
|
1445
1447
|
@bare_metal_solution_stub.list_volumes request, options do |result, operation|
|
1448
|
+
result = ::Gapic::Rest::PagedEnumerable.new @bare_metal_solution_stub, :list_volumes, "volumes", request, result, options
|
1446
1449
|
yield result, operation if block_given?
|
1450
|
+
throw :response, result
|
1447
1451
|
end
|
1448
1452
|
rescue ::Gapic::Rest::Error => e
|
1449
1453
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1908,10 +1912,10 @@ module Google
|
|
1908
1912
|
# @param filter [::String]
|
1909
1913
|
# List filter.
|
1910
1914
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1911
|
-
# @yieldparam result [::Google::Cloud::BareMetalSolution::V2::
|
1915
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BareMetalSolution::V2::Network>]
|
1912
1916
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1913
1917
|
#
|
1914
|
-
# @return [::Google::Cloud::BareMetalSolution::V2::
|
1918
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BareMetalSolution::V2::Network>]
|
1915
1919
|
#
|
1916
1920
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1917
1921
|
#
|
@@ -1963,7 +1967,9 @@ module Google
|
|
1963
1967
|
retry_policy: @config.retry_policy
|
1964
1968
|
|
1965
1969
|
@bare_metal_solution_stub.list_networks request, options do |result, operation|
|
1970
|
+
result = ::Gapic::Rest::PagedEnumerable.new @bare_metal_solution_stub, :list_networks, "networks", request, result, options
|
1966
1971
|
yield result, operation if block_given?
|
1972
|
+
throw :response, result
|
1967
1973
|
end
|
1968
1974
|
rescue ::Gapic::Rest::Error => e
|
1969
1975
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2576,10 +2582,10 @@ module Google
|
|
2576
2582
|
# @param page_token [::String]
|
2577
2583
|
# A token identifying a page of results from the server.
|
2578
2584
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
2579
|
-
# @yieldparam result [::Google::Cloud::BareMetalSolution::V2::
|
2585
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BareMetalSolution::V2::VolumeSnapshot>]
|
2580
2586
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2581
2587
|
#
|
2582
|
-
# @return [::Google::Cloud::BareMetalSolution::V2::
|
2588
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BareMetalSolution::V2::VolumeSnapshot>]
|
2583
2589
|
#
|
2584
2590
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2585
2591
|
#
|
@@ -2631,7 +2637,9 @@ module Google
|
|
2631
2637
|
retry_policy: @config.retry_policy
|
2632
2638
|
|
2633
2639
|
@bare_metal_solution_stub.list_volume_snapshots request, options do |result, operation|
|
2640
|
+
result = ::Gapic::Rest::PagedEnumerable.new @bare_metal_solution_stub, :list_volume_snapshots, "volume_snapshots", request, result, options
|
2634
2641
|
yield result, operation if block_given?
|
2642
|
+
throw :response, result
|
2635
2643
|
end
|
2636
2644
|
rescue ::Gapic::Rest::Error => e
|
2637
2645
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2741,10 +2749,10 @@ module Google
|
|
2741
2749
|
# @param page_token [::String]
|
2742
2750
|
# A token identifying a page of results from the server.
|
2743
2751
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
2744
|
-
# @yieldparam result [::Google::Cloud::BareMetalSolution::V2::
|
2752
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BareMetalSolution::V2::Lun>]
|
2745
2753
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2746
2754
|
#
|
2747
|
-
# @return [::Google::Cloud::BareMetalSolution::V2::
|
2755
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BareMetalSolution::V2::Lun>]
|
2748
2756
|
#
|
2749
2757
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2750
2758
|
#
|
@@ -2796,7 +2804,9 @@ module Google
|
|
2796
2804
|
retry_policy: @config.retry_policy
|
2797
2805
|
|
2798
2806
|
@bare_metal_solution_stub.list_luns request, options do |result, operation|
|
2807
|
+
result = ::Gapic::Rest::PagedEnumerable.new @bare_metal_solution_stub, :list_luns, "luns", request, result, options
|
2799
2808
|
yield result, operation if block_given?
|
2809
|
+
throw :response, result
|
2800
2810
|
end
|
2801
2811
|
rescue ::Gapic::Rest::Error => e
|
2802
2812
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2996,10 +3006,10 @@ module Google
|
|
2996
3006
|
# @param filter [::String]
|
2997
3007
|
# List filter.
|
2998
3008
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
2999
|
-
# @yieldparam result [::Google::Cloud::BareMetalSolution::V2::
|
3009
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BareMetalSolution::V2::NfsShare>]
|
3000
3010
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
3001
3011
|
#
|
3002
|
-
# @return [::Google::Cloud::BareMetalSolution::V2::
|
3012
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::BareMetalSolution::V2::NfsShare>]
|
3003
3013
|
#
|
3004
3014
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
3005
3015
|
#
|
@@ -3051,7 +3061,9 @@ module Google
|
|
3051
3061
|
retry_policy: @config.retry_policy
|
3052
3062
|
|
3053
3063
|
@bare_metal_solution_stub.list_nfs_shares request, options do |result, operation|
|
3064
|
+
result = ::Gapic::Rest::PagedEnumerable.new @bare_metal_solution_stub, :list_nfs_shares, "nfs_shares", request, result, options
|
3054
3065
|
yield result, operation if block_given?
|
3066
|
+
throw :response, result
|
3055
3067
|
end
|
3056
3068
|
rescue ::Gapic::Rest::Error => e
|
3057
3069
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -4099,7 +4111,7 @@ module Google
|
|
4099
4111
|
|
4100
4112
|
config_attr :endpoint, nil, ::String, nil
|
4101
4113
|
config_attr :credentials, nil do |value|
|
4102
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
4114
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
4103
4115
|
allowed.any? { |klass| klass === value }
|
4104
4116
|
end
|
4105
4117
|
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-bare_metal_solution-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
|
@@ -166,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
166
|
- !ruby/object:Gem::Version
|
167
167
|
version: '0'
|
168
168
|
requirements: []
|
169
|
-
rubygems_version: 3.6.
|
169
|
+
rubygems_version: 3.6.8
|
170
170
|
specification_version: 4
|
171
171
|
summary: Provides ways to manage Bare Metal Solution hardware installed in a regional
|
172
172
|
extension located near a Google Cloud data center.
|