google-cloud-cloud_quotas-v1beta 0.1.0 → 0.3.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: 3350b282c56002945d068923e9bd2fc4518be58f0a8081420b6ee433f953f346
4
- data.tar.gz: c9ba008c87fdea3c3c04a4a8247d4253c3be129bdc5d5ea31d9b567f9a737a92
3
+ metadata.gz: 9f45b2c874d323743ec110bb8effc6d5552d867aed69b85adebeaa931ac89e50
4
+ data.tar.gz: 45c342fdabc5b117d35b7934ad5cdb3ef4815f66ed6543478f1a146792712ca0
5
5
  SHA512:
6
- metadata.gz: 571d2356217b79177ca4b66c975cad0a8cfa0b41c076ff8fffb3f11bcffb0b37c3ad53e02c7b19f3a5a0486b8d9e49e8e2fa4630c47fbe6158c7f1cc5022a741
7
- data.tar.gz: '09ff7dbe7ddb138f1d21ae4d09a85bfaecf93c2a522f6f77813398b374fa3918b28626d1c9687b8519c323e8d2daada6591ae963c4cd7485ac675ee802dec910'
6
+ metadata.gz: 7d9eeb946879e4e74ee246c8e4011b8b0a5b5f85ce9cef94519c86121c0ddf4a8f7440acb69f836c27081f9928325855d64e9b5e795ec69083681709c300f868
7
+ data.tar.gz: c02fb1ee8e4cb16eb4bcfe2a90146d8257cf410debf2cdcb2e881cb46d2dd1425b917d72cedf90b13321e26faef348767afdef118bff65530c3b517b5a53ce92
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
@@ -857,6 +857,13 @@ module Google
857
857
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
858
858
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
859
859
  # * (`nil`) indicating no credentials
860
+ #
861
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
862
+ # external source for authentication to Google Cloud, you must validate it before
863
+ # providing it to a Google API client library. Providing an unvalidated credential
864
+ # configuration to Google APIs can compromise the security of your systems and data.
865
+ # For more information, refer to [Validate credential configurations from external
866
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
860
867
  # @return [::Object]
861
868
  # @!attribute [rw] scope
862
869
  # The OAuth scopes
@@ -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::V1beta::ListQuotaPreferencesResponse]
441
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CloudQuotas::V1beta::QuotaPreference>]
442
442
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
443
443
  #
444
- # @return [::Google::Cloud::CloudQuotas::V1beta::ListQuotaPreferencesResponse]
444
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CloudQuotas::V1beta::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)
@@ -804,6 +806,13 @@ module Google
804
806
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
805
807
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
806
808
  # * (`nil`) indicating no credentials
809
+ #
810
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
811
+ # external source for authentication to Google Cloud, you must validate it before
812
+ # providing it to a Google API client library. Providing an unvalidated credential
813
+ # configuration to Google APIs can compromise the security of your systems and data.
814
+ # For more information, refer to [Validate credential configurations from external
815
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
807
816
  # @return [::Object]
808
817
  # @!attribute [rw] scope
809
818
  # The OAuth scopes
@@ -419,6 +419,13 @@ module Google
419
419
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
420
420
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
421
421
  # * (`nil`) indicating no credentials
422
+ #
423
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
424
+ # external source for authentication to Google Cloud, you must validate it before
425
+ # providing it to a Google API client library. Providing an unvalidated credential
426
+ # configuration to Google APIs can compromise the security of your systems and data.
427
+ # For more information, refer to [Validate credential configurations from external
428
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
422
429
  # @return [::Object]
423
430
  # @!attribute [rw] scope
424
431
  # The OAuth scopes
@@ -396,6 +396,13 @@ module Google
396
396
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
397
397
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
398
398
  # * (`nil`) indicating no credentials
399
+ #
400
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
401
+ # external source for authentication to Google Cloud, you must validate it before
402
+ # providing it to a Google API client library. Providing an unvalidated credential
403
+ # configuration to Google APIs can compromise the security of your systems and data.
404
+ # For more information, refer to [Validate credential configurations from external
405
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
399
406
  # @return [::Object]
400
407
  # @!attribute [rw] scope
401
408
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module CloudQuotas
23
23
  module V1beta
24
- VERSION = "0.1.0"
24
+ VERSION = "0.3.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-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-14 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
@@ -15,7 +15,7 @@ dependencies:
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: 0.24.0
18
+ version: 0.25.0
19
19
  - - "<"
20
20
  - !ruby/object:Gem::Version
21
21
  version: 2.a
@@ -25,7 +25,7 @@ dependencies:
25
25
  requirements:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
- version: 0.24.0
28
+ version: 0.25.0
29
29
  - - "<"
30
30
  - !ruby/object:Gem::Version
31
31
  version: 2.a
@@ -103,14 +103,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
103
103
  requirements:
104
104
  - - ">="
105
105
  - !ruby/object:Gem::Version
106
- version: '2.7'
106
+ version: '3.0'
107
107
  required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - ">="
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  requirements: []
113
- rubygems_version: 3.6.2
113
+ rubygems_version: 3.6.3
114
114
  specification_version: 4
115
115
  summary: Cloud Quotas API provides Google Cloud service consumers with management
116
116
  and observability for resource usage, quotas, and restrictions of the services they