google-cloud-cloud_quotas-v1 1.3.0 → 2.0.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82fa7b1e27755a857718a46adfd86d83beb9e0d64b1f55e65c4c44bce086d251
|
4
|
+
data.tar.gz: 2a38c749d64967eeac17092b344e0b75390e3ee267616834ff18c97b90467a5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4a6e7f5b66e09be276319758eabd4b0f1ff51b35799a259f264301c53cca096b3c090e907253bf2d4df4a36b6d1b8f5a57bc9de61510401fe3b4cba9185dd54
|
7
|
+
data.tar.gz: '0590bc68da04b4c1ffabd9b1cf00d72395ae7d7d8a82f949f017f8bcb01fec71ac03194b2d1fe4d919080b410ace311ff88bef210d43add3a25bcb2164fe3255'
|
@@ -918,8 +918,8 @@ module Google
|
|
918
918
|
|
919
919
|
config_attr :endpoint, nil, ::String, nil
|
920
920
|
config_attr :credentials, nil do |value|
|
921
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
922
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
921
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
922
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
923
923
|
allowed.any? { |klass| klass === value }
|
924
924
|
end
|
925
925
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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::
|
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::
|
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)
|
@@ -858,7 +860,7 @@ module Google
|
|
858
860
|
|
859
861
|
config_attr :endpoint, nil, ::String, nil
|
860
862
|
config_attr :credentials, nil do |value|
|
861
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
863
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
862
864
|
allowed.any? { |klass| klass === value }
|
863
865
|
end
|
864
866
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -221,6 +221,12 @@ module Google
|
|
221
221
|
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
222
|
# enabled by default 1 month after launching the feature in preview
|
223
223
|
# packages.
|
224
|
+
# @!attribute [rw] unversioned_package_disabled
|
225
|
+
# @return [::Boolean]
|
226
|
+
# Disables generation of an unversioned Python package for this client
|
227
|
+
# library. This means that the module names will need to be versioned in
|
228
|
+
# import statements. For example `import google.cloud.library_v2` instead
|
229
|
+
# of `import google.cloud.library`.
|
224
230
|
class ExperimentalFeatures
|
225
231
|
include ::Google::Protobuf::MessageExts
|
226
232
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -409,6 +415,14 @@ module Google
|
|
409
415
|
# @return [::Array<::String>]
|
410
416
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
417
|
# on public client surfaces.
|
418
|
+
# @!attribute [rw] generate_omitted_as_internal
|
419
|
+
# @return [::Boolean]
|
420
|
+
# Setting this to true indicates to the client generators that methods
|
421
|
+
# that would be excluded from the generation should instead be generated
|
422
|
+
# in a way that indicates these methods should not be consumed by
|
423
|
+
# end users. How this is expressed is up to individual language
|
424
|
+
# implementations to decide. Some examples may be: added annotations,
|
425
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
426
|
class SelectiveGapicGeneration
|
413
427
|
include ::Google::Protobuf::MessageExts
|
414
428
|
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:
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 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.
|
103
|
+
rubygems_version: 3.6.8
|
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
|