google-cloud-gdc_hardware_management-v1alpha 0.5.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3e0db5b4d1bcbd5c8abb0faa5e2bb23afc0bc4917ea0eb1e48ec495338a0ec6
4
- data.tar.gz: 6e850a6415222d76905ca548c8461da13a0fbdb5c52f5a870f7e0e02f306e11b
3
+ metadata.gz: 9c879af6581725fb23ee2900d3dbf7bfc6b8d606737534f292c0566c482d17f2
4
+ data.tar.gz: 5fb2ee7965641b86c5a2a2486ad5d381838907639077da815a3d3d4d25416788
5
5
  SHA512:
6
- metadata.gz: 30cbfdc05b55d202050343c4b0ea60c03fb8fb78bfbe78e9e1f67fecc5a55c8aae3de707d7a9e22a253121e6c9d825c27993bfd5f040335ac56dab037325c874
7
- data.tar.gz: 551e88510374992d67af83c4dc6301d1a5be71023d5968211f4311f67b3ed2484e5900cf5a68faa2966dc549a61ec1e013b8f7b0da46275bc2abcbb1151e3cf7
6
+ metadata.gz: 7277280faf1bf5a7438b0151a69fb15b1562459f3a86adc858177a630874293079dee0ac281df0b2c7e3ddd329af7d91a5243d78b3a03d91c915d86efdfda352
7
+ data.tar.gz: 0b707ae6121b3e35e5b7f0125c5a0fb88861af16427c8b1d1eabfcb6f68d64e190c949494739cd6b61ebc9277f612fca2fba27174877ef6b8339497ed1c451e3
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -3877,6 +3877,13 @@ module Google
3877
3877
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
3878
3878
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3879
3879
  # * (`nil`) indicating no credentials
3880
+ #
3881
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
3882
+ # external source for authentication to Google Cloud, you must validate it before
3883
+ # providing it to a Google API client library. Providing an unvalidated credential
3884
+ # configuration to Google APIs can compromise the security of your systems and data.
3885
+ # For more information, refer to [Validate credential configurations from external
3886
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
3880
3887
  # @return [::Object]
3881
3888
  # @!attribute [rw] scope
3882
3889
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -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)
@@ -3608,6 +3624,13 @@ module Google
3608
3624
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
3609
3625
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
3610
3626
  # * (`nil`) indicating no credentials
3627
+ #
3628
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
3629
+ # external source for authentication to Google Cloud, you must validate it before
3630
+ # providing it to a Google API client library. Providing an unvalidated credential
3631
+ # configuration to Google APIs can compromise the security of your systems and data.
3632
+ # For more information, refer to [Validate credential configurations from external
3633
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
3611
3634
  # @return [::Object]
3612
3635
  # @!attribute [rw] scope
3613
3636
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module GDCHardwareManagement
23
23
  module V1alpha
24
- VERSION = "0.5.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
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -75,9 +75,13 @@ module Google
75
75
  # UTC offset. Must be whole seconds, between -18 hours and +18 hours.
76
76
  # For example, a UTC offset of -4:00 would be represented as
77
77
  # { seconds: -14400 }.
78
+ #
79
+ # Note: The following fields are mutually exclusive: `utc_offset`, `time_zone`. If a field in that set is populated, all other fields in the set will automatically be cleared.
78
80
  # @!attribute [rw] time_zone
79
81
  # @return [::Google::Type::TimeZone]
80
82
  # Time zone.
83
+ #
84
+ # Note: The following fields are mutually exclusive: `time_zone`, `utc_offset`. If a field in that set is populated, all other fields in the set will automatically be cleared.
81
85
  class DateTime
82
86
  include ::Google::Protobuf::MessageExts
83
87
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +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.5.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-02-07 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -119,7 +118,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
119
118
  licenses:
120
119
  - Apache-2.0
121
120
  metadata: {}
122
- post_install_message:
123
121
  rdoc_options: []
124
122
  require_paths:
125
123
  - lib
@@ -127,15 +125,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
125
  requirements:
128
126
  - - ">="
129
127
  - !ruby/object:Gem::Version
130
- version: '2.7'
128
+ version: '3.0'
131
129
  required_rubygems_version: !ruby/object:Gem::Requirement
132
130
  requirements:
133
131
  - - ">="
134
132
  - !ruby/object:Gem::Version
135
133
  version: '0'
136
134
  requirements: []
137
- rubygems_version: 3.5.23
138
- signing_key:
135
+ rubygems_version: 3.6.3
139
136
  specification_version: 4
140
137
  summary: API Client library for the GDC Hardware Management V1ALPHA API
141
138
  test_files: []