google-cloud-gdc_hardware_management-v1alpha 0.6.0 → 0.7.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: 3f975f4e260f44d7ab12b38975240d376f4b49bf712ac46a744d5db24e3d6577
4
- data.tar.gz: '09f4b7fa6e05fc19c9674f6bb19666c8bd7170866c76a50af4a374ff069c9664'
3
+ metadata.gz: 9c879af6581725fb23ee2900d3dbf7bfc6b8d606737534f292c0566c482d17f2
4
+ data.tar.gz: 5fb2ee7965641b86c5a2a2486ad5d381838907639077da815a3d3d4d25416788
5
5
  SHA512:
6
- metadata.gz: c959f301a27f993ad19589c2dbfe97fc11629e6e25cb36bba76f7ca418a0848eb27261c0b170929881a8b132228ec309313aa0b6c5c9441fd6a4e57ebbe84fe5
7
- data.tar.gz: 0df1b15ddbbccc2c172407e9e375dfb1d89627c359c28ec28ec855f7bfd2612aa2c0459fc33ce9b101abd5984e533b37d54553a5f8f82908c63db35af4667855
6
+ metadata.gz: 7277280faf1bf5a7438b0151a69fb15b1562459f3a86adc858177a630874293079dee0ac281df0b2c7e3ddd329af7d91a5243d78b3a03d91c915d86efdfda352
7
+ data.tar.gz: 0b707ae6121b3e35e5b7f0125c5a0fb88861af16427c8b1d1eabfcb6f68d64e190c949494739cd6b61ebc9277f612fca2fba27174877ef6b8339497ed1c451e3
@@ -389,10 +389,10 @@ module Google
389
389
  # @param order_by [::String]
390
390
  # Optional. Hint for how to order the results.
391
391
  # @yield [result, operation] Access the result along with the TransportOperation object
392
- # @yieldparam result [::Google::Cloud::GDCHardwareManagement::V1alpha::ListOrdersResponse]
392
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GDCHardwareManagement::V1alpha::Order>]
393
393
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
394
394
  #
395
- # @return [::Google::Cloud::GDCHardwareManagement::V1alpha::ListOrdersResponse]
395
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GDCHardwareManagement::V1alpha::Order>]
396
396
  #
397
397
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
398
398
  #
@@ -444,7 +444,9 @@ module Google
444
444
  retry_policy: @config.retry_policy
445
445
 
446
446
  @gdc_hardware_management_stub.list_orders request, options do |result, operation|
447
+ result = ::Gapic::Rest::PagedEnumerable.new @gdc_hardware_management_stub, :list_orders, "orders", request, result, options
447
448
  yield result, operation if block_given?
449
+ throw :response, result
448
450
  end
449
451
  rescue ::Gapic::Rest::Error => e
450
452
  raise ::Google::Cloud::Error.from_error(e)
@@ -950,10 +952,10 @@ module Google
950
952
  # @param order_by [::String]
951
953
  # Optional. Hint for how to order the results.
952
954
  # @yield [result, operation] Access the result along with the TransportOperation object
953
- # @yieldparam result [::Google::Cloud::GDCHardwareManagement::V1alpha::ListSitesResponse]
955
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GDCHardwareManagement::V1alpha::Site>]
954
956
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
955
957
  #
956
- # @return [::Google::Cloud::GDCHardwareManagement::V1alpha::ListSitesResponse]
958
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GDCHardwareManagement::V1alpha::Site>]
957
959
  #
958
960
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
959
961
  #
@@ -1005,7 +1007,9 @@ module Google
1005
1007
  retry_policy: @config.retry_policy
1006
1008
 
1007
1009
  @gdc_hardware_management_stub.list_sites request, options do |result, operation|
1010
+ result = ::Gapic::Rest::PagedEnumerable.new @gdc_hardware_management_stub, :list_sites, "sites", request, result, options
1008
1011
  yield result, operation if block_given?
1012
+ throw :response, result
1009
1013
  end
1010
1014
  rescue ::Gapic::Rest::Error => e
1011
1015
  raise ::Google::Cloud::Error.from_error(e)
@@ -1409,10 +1413,10 @@ module Google
1409
1413
  # @param order_by [::String]
1410
1414
  # Optional. Hint for how to order the results.
1411
1415
  # @yield [result, operation] Access the result along with the TransportOperation object
1412
- # @yieldparam result [::Google::Cloud::GDCHardwareManagement::V1alpha::ListHardwareGroupsResponse]
1416
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareGroup>]
1413
1417
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1414
1418
  #
1415
- # @return [::Google::Cloud::GDCHardwareManagement::V1alpha::ListHardwareGroupsResponse]
1419
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareGroup>]
1416
1420
  #
1417
1421
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1418
1422
  #
@@ -1464,7 +1468,9 @@ module Google
1464
1468
  retry_policy: @config.retry_policy
1465
1469
 
1466
1470
  @gdc_hardware_management_stub.list_hardware_groups request, options do |result, operation|
1471
+ result = ::Gapic::Rest::PagedEnumerable.new @gdc_hardware_management_stub, :list_hardware_groups, "hardware_groups", request, result, options
1467
1472
  yield result, operation if block_given?
1473
+ throw :response, result
1468
1474
  end
1469
1475
  rescue ::Gapic::Rest::Error => e
1470
1476
  raise ::Google::Cloud::Error.from_error(e)
@@ -1875,10 +1881,10 @@ module Google
1875
1881
  # @param order_by [::String]
1876
1882
  # Optional. Hint for how to order the results.
1877
1883
  # @yield [result, operation] Access the result along with the TransportOperation object
1878
- # @yieldparam result [::Google::Cloud::GDCHardwareManagement::V1alpha::ListHardwareResponse]
1884
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GDCHardwareManagement::V1alpha::Hardware>]
1879
1885
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1880
1886
  #
1881
- # @return [::Google::Cloud::GDCHardwareManagement::V1alpha::ListHardwareResponse]
1887
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GDCHardwareManagement::V1alpha::Hardware>]
1882
1888
  #
1883
1889
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1884
1890
  #
@@ -1930,7 +1936,9 @@ module Google
1930
1936
  retry_policy: @config.retry_policy
1931
1937
 
1932
1938
  @gdc_hardware_management_stub.list_hardware request, options do |result, operation|
1939
+ result = ::Gapic::Rest::PagedEnumerable.new @gdc_hardware_management_stub, :list_hardware, "hardware", request, result, options
1933
1940
  yield result, operation if block_given?
1941
+ throw :response, result
1934
1942
  end
1935
1943
  rescue ::Gapic::Rest::Error => e
1936
1944
  raise ::Google::Cloud::Error.from_error(e)
@@ -2331,10 +2339,10 @@ module Google
2331
2339
  # @param order_by [::String]
2332
2340
  # Optional. Hint for how to order the results.
2333
2341
  # @yield [result, operation] Access the result along with the TransportOperation object
2334
- # @yieldparam result [::Google::Cloud::GDCHardwareManagement::V1alpha::ListCommentsResponse]
2342
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GDCHardwareManagement::V1alpha::Comment>]
2335
2343
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2336
2344
  #
2337
- # @return [::Google::Cloud::GDCHardwareManagement::V1alpha::ListCommentsResponse]
2345
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GDCHardwareManagement::V1alpha::Comment>]
2338
2346
  #
2339
2347
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2340
2348
  #
@@ -2386,7 +2394,9 @@ module Google
2386
2394
  retry_policy: @config.retry_policy
2387
2395
 
2388
2396
  @gdc_hardware_management_stub.list_comments request, options do |result, operation|
2397
+ result = ::Gapic::Rest::PagedEnumerable.new @gdc_hardware_management_stub, :list_comments, "comments", request, result, options
2389
2398
  yield result, operation if block_given?
2399
+ throw :response, result
2390
2400
  end
2391
2401
  rescue ::Gapic::Rest::Error => e
2392
2402
  raise ::Google::Cloud::Error.from_error(e)
@@ -2690,10 +2700,10 @@ module Google
2690
2700
  # @param order_by [::String]
2691
2701
  # Optional. Hint for how to order the results.
2692
2702
  # @yield [result, operation] Access the result along with the TransportOperation object
2693
- # @yieldparam result [::Google::Cloud::GDCHardwareManagement::V1alpha::ListChangeLogEntriesResponse]
2703
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GDCHardwareManagement::V1alpha::ChangeLogEntry>]
2694
2704
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2695
2705
  #
2696
- # @return [::Google::Cloud::GDCHardwareManagement::V1alpha::ListChangeLogEntriesResponse]
2706
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GDCHardwareManagement::V1alpha::ChangeLogEntry>]
2697
2707
  #
2698
2708
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2699
2709
  #
@@ -2745,7 +2755,9 @@ module Google
2745
2755
  retry_policy: @config.retry_policy
2746
2756
 
2747
2757
  @gdc_hardware_management_stub.list_change_log_entries request, options do |result, operation|
2758
+ result = ::Gapic::Rest::PagedEnumerable.new @gdc_hardware_management_stub, :list_change_log_entries, "change_log_entries", request, result, options
2748
2759
  yield result, operation if block_given?
2760
+ throw :response, result
2749
2761
  end
2750
2762
  rescue ::Gapic::Rest::Error => e
2751
2763
  raise ::Google::Cloud::Error.from_error(e)
@@ -2866,10 +2878,10 @@ module Google
2866
2878
  # @param order_by [::String]
2867
2879
  # Optional. Hint for how to order the results.
2868
2880
  # @yield [result, operation] Access the result along with the TransportOperation object
2869
- # @yieldparam result [::Google::Cloud::GDCHardwareManagement::V1alpha::ListSkusResponse]
2881
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GDCHardwareManagement::V1alpha::Sku>]
2870
2882
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2871
2883
  #
2872
- # @return [::Google::Cloud::GDCHardwareManagement::V1alpha::ListSkusResponse]
2884
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GDCHardwareManagement::V1alpha::Sku>]
2873
2885
  #
2874
2886
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2875
2887
  #
@@ -2921,7 +2933,9 @@ module Google
2921
2933
  retry_policy: @config.retry_policy
2922
2934
 
2923
2935
  @gdc_hardware_management_stub.list_skus request, options do |result, operation|
2936
+ result = ::Gapic::Rest::PagedEnumerable.new @gdc_hardware_management_stub, :list_skus, "skus", request, result, options
2924
2937
  yield result, operation if block_given?
2938
+ throw :response, result
2925
2939
  end
2926
2940
  rescue ::Gapic::Rest::Error => e
2927
2941
  raise ::Google::Cloud::Error.from_error(e)
@@ -3041,10 +3055,10 @@ module Google
3041
3055
  # @param order_by [::String]
3042
3056
  # Optional. Hint for how to order the results.
3043
3057
  # @yield [result, operation] Access the result along with the TransportOperation object
3044
- # @yieldparam result [::Google::Cloud::GDCHardwareManagement::V1alpha::ListZonesResponse]
3058
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GDCHardwareManagement::V1alpha::Zone>]
3045
3059
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
3046
3060
  #
3047
- # @return [::Google::Cloud::GDCHardwareManagement::V1alpha::ListZonesResponse]
3061
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::GDCHardwareManagement::V1alpha::Zone>]
3048
3062
  #
3049
3063
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3050
3064
  #
@@ -3096,7 +3110,9 @@ module Google
3096
3110
  retry_policy: @config.retry_policy
3097
3111
 
3098
3112
  @gdc_hardware_management_stub.list_zones request, options do |result, operation|
3113
+ result = ::Gapic::Rest::PagedEnumerable.new @gdc_hardware_management_stub, :list_zones, "zones", request, result, options
3099
3114
  yield result, operation if block_given?
3115
+ throw :response, result
3100
3116
  end
3101
3117
  rescue ::Gapic::Rest::Error => e
3102
3118
  raise ::Google::Cloud::Error.from_error(e)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module GDCHardwareManagement
23
23
  module V1alpha
24
- VERSION = "0.6.0"
24
+ VERSION = "0.7.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-gdc_hardware_management-v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.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
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  - !ruby/object:Gem::Version
133
133
  version: '0'
134
134
  requirements: []
135
- rubygems_version: 3.6.2
135
+ rubygems_version: 3.6.3
136
136
  specification_version: 4
137
137
  summary: API Client library for the GDC Hardware Management V1ALPHA API
138
138
  test_files: []