google-cloud-cloud_quotas-v1 1.3.0 → 2.0.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: 4e4172b0ef7c6f8c2db6a26bea40b02213dc9a22a97a97e4c3f8371d84000484
4
- data.tar.gz: 6272f1fdaa4e45ef0fb5b389e234be0677ed7e676bc4ff0cf43559a8ee6e66a6
3
+ metadata.gz: 198baa412a792be6406217dd2c387336cc753b1ab96f11ba1a9e3cb662490d56
4
+ data.tar.gz: b3e8c186c3ca932e86b6ff92f60bc956bba89cb154aa30513b60374b75b467b2
5
5
  SHA512:
6
- metadata.gz: 6daf827388acbe9a173882fe5d990b0d7553e50805debdadff2abffeb31cef18b63646929ec51f3b0aa38873b4fec5d51a28e8eaca3b85e75b52d94cd4e09754
7
- data.tar.gz: f628b73924cdf89d4e39e22ba2d31ff3622e70bdd7a72a6a85b9187e498908f0d84d7236006954ba40d936c61bd510f5d4276f2da746b616663f2679750c107c
6
+ metadata.gz: 79fd6de9900ea45b5f64517722db8279e811adc95d875d85186c79b048bafbcbc0820c513da471e0da9b4963983039d3753b3c49ddd1e19059e9d3de39885717
7
+ data.tar.gz: 4eb2c5ec598aead8c36085837958394a58be3be125136cbe9b9871ef537a7438546051fd583b9ca4995402314f3c2180940782f5c8b7866166437f2078be14e5
@@ -438,10 +438,10 @@ module Google
438
438
  # `quota_id`,
439
439
  # `service, create_time`
440
440
  # @yield [result, operation] Access the result along with the TransportOperation object
441
- # @yieldparam result [::Google::Cloud::CloudQuotas::V1::ListQuotaPreferencesResponse]
441
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CloudQuotas::V1::QuotaPreference>]
442
442
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
443
443
  #
444
- # @return [::Google::Cloud::CloudQuotas::V1::ListQuotaPreferencesResponse]
444
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CloudQuotas::V1::QuotaPreference>]
445
445
  #
446
446
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
447
447
  #
@@ -493,7 +493,9 @@ module Google
493
493
  retry_policy: @config.retry_policy
494
494
 
495
495
  @cloud_quotas_stub.list_quota_preferences request, options do |result, operation|
496
+ result = ::Gapic::Rest::PagedEnumerable.new @cloud_quotas_stub, :list_quota_preferences, "quota_preferences", request, result, options
496
497
  yield result, operation if block_given?
498
+ throw :response, result
497
499
  end
498
500
  rescue ::Gapic::Rest::Error => e
499
501
  raise ::Google::Cloud::Error.from_error(e)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module CloudQuotas
23
23
  module V1
24
- VERSION = "1.3.0"
24
+ VERSION = "2.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-cloud_quotas-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 2.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
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  - !ruby/object:Gem::Version
101
101
  version: '0'
102
102
  requirements: []
103
- rubygems_version: 3.6.2
103
+ rubygems_version: 3.6.3
104
104
  specification_version: 4
105
105
  summary: Cloud Quotas API provides Google Cloud service consumers with management
106
106
  and observability for resource usage, quotas, and restrictions of the services they