google-cloud-bare_metal_solution-v2 0.10.0 → 1.0.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: eaf311ff60efdf85958f0b84868a12ec9531a76a044d526b8e2a42213aaed62f
4
- data.tar.gz: 649432fa6a34d09d7515c74b9fd21867f799d58e3af447696eb433e2e6b6a69b
3
+ metadata.gz: 57d0415fbc74fc719b11f5829e5db7a5fe4ffdb5f02c67bb63a86d49ef984613
4
+ data.tar.gz: ec193bfd39a25a73cb1516262559e4db581de799b08d61c9939c643aa252c853
5
5
  SHA512:
6
- metadata.gz: b8b56e94fb3b2eb1e86b582337cfaba707306d391754ad80286645d15666ec4abe67e0846c5a8a54334815eed9de9f6235ce3d0afd40b52866fb8aca4a041d4f
7
- data.tar.gz: 3ca10061df9d3f8b1a35cca81712202ee31ad680bca85e5ad92942c3094f7fd7c98283c56d60b548dee5ba4ab4cd30df642266c8c6b7e99d90df28e3cd802443
6
+ metadata.gz: 67e792cf585f0383a5d12a124472b2e63d9bb7387bdf484d7c25dd11c00f68aed1e6b991593fedd3b9727312ef7cabd513d8684c4986ab9219adbfa65351fe89
7
+ data.tar.gz: 61719a044e730df78ab7ffe4f7e1199f03712d72329b83d1392f26e9a8b897a9c98a92f9c41d82171acc3ff0276dca6327c95b44cc9eff74c09ff1af8cad463a
@@ -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::ListInstancesResponse]
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::ListInstancesResponse]
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::ListVolumesResponse]
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::ListVolumesResponse]
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::ListNetworksResponse]
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::ListNetworksResponse]
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::ListVolumeSnapshotsResponse]
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::ListVolumeSnapshotsResponse]
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::ListLunsResponse]
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::ListLunsResponse]
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::ListNfsSharesResponse]
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::ListNfsSharesResponse]
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)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module BareMetalSolution
23
23
  module V2
24
- VERSION = "0.10.0"
24
+ VERSION = "1.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -409,6 +409,14 @@ module Google
409
409
  # @return [::Array<::String>]
410
410
  # An allowlist of the fully qualified names of RPCs that should be included
411
411
  # on public client surfaces.
412
+ # @!attribute [rw] generate_omitted_as_internal
413
+ # @return [::Boolean]
414
+ # Setting this to true indicates to the client generators that methods
415
+ # that would be excluded from the generation should instead be generated
416
+ # in a way that indicates these methods should not be consumed by
417
+ # end users. How this is expressed is up to individual language
418
+ # implementations to decide. Some examples may be: added annotations,
419
+ # obfuscated identifiers, or other language idiomatic patterns.
412
420
  class SelectiveGapicGeneration
413
421
  include ::Google::Protobuf::MessageExts
414
422
  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.10.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 2025-02-07 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.2
169
+ rubygems_version: 3.6.3
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.