google-cloud-cloud_quotas-v1 0.3.0 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/api/cloudquotas/v1/resources_pb.rb +1 -1
- data/lib/google/cloud/cloud_quotas/v1/cloud_quotas/client.rb +4 -7
- data/lib/google/cloud/cloud_quotas/v1/cloud_quotas/rest/client.rb +4 -7
- data/lib/google/cloud/cloud_quotas/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/api/cloudquotas/v1/cloudquotas.rb +4 -7
- data/proto_docs/google/api/cloudquotas/v1/resources.rb +13 -16
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 380c9fd2b5cacdacb87643f9cd822dc8d1a52e9c79be58856a6d0af2a1aaca53
|
4
|
+
data.tar.gz: fbbcd69a180330593a10e2ed6e28f023fed9d9706255135b5c904dcf4d4a8e9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 520141e8c09742c117d7f2261dd991c693f5116acad07319e712ee965083cd79c56f54e66e82189a96b5ba0e726ee82b497efbd8483178e55fc22c1c89e582e6
|
7
|
+
data.tar.gz: ec4ae5fb5b6e5ffcac4a97c451a38584adac263657b912788fe384d2d5905b5a05f719f287bd0e22690b61882a632b034f7b87c1ec5230a05dddc9b2a0c24760
|
data/README.md
CHANGED
@@ -40,7 +40,7 @@ response = client.list_quota_infos request
|
|
40
40
|
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-cloud_quotas-v1/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
|
-
See also the [Product Documentation](https://cloud.google.com/docs/
|
43
|
+
See also the [Product Documentation](https://cloud.google.com/docs/quotas/api-overview)
|
44
44
|
for general usage information.
|
45
45
|
|
46
46
|
## Enabling Logging
|
@@ -10,7 +10,7 @@ require 'google/protobuf/timestamp_pb'
|
|
10
10
|
require 'google/protobuf/wrappers_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n)google/api/cloudquotas/v1/resources.proto\x12\x19google.api.cloudquotas.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x9f\x07\n\tQuotaInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08quota_id\x18\x02 \x01(\t\x12\x0e\n\x06metric\x18\x03 \x01(\t\x12\x0f\n\x07service\x18\x04 \x01(\t\x12\x12\n\nis_precise\x18\x05 \x01(\x08\x12\x18\n\x10refresh_interval\x18\x06 \x01(\t\x12J\n\x0e\x63ontainer_type\x18\x07 \x01(\x0e\x32\x32.google.api.cloudquotas.v1.QuotaInfo.ContainerType\x12\x12\n\ndimensions\x18\x08 \x03(\t\x12\x1b\n\x13metric_display_name\x18\t \x01(\t\x12\x1a\n\x12quota_display_name\x18\n \x01(\t\x12\x13\n\x0bmetric_unit\x18\x0b \x01(\t\x12W\n\x1aquota_increase_eligibility\x18\x0c \x01(\x0b\x32\x33.google.api.cloudquotas.v1.QuotaIncreaseEligibility\x12\x10\n\x08is_fixed\x18\r \x01(\x08\x12\x43\n\x10\x64imensions_infos\x18\x0e \x03(\x0b\x32).google.api.cloudquotas.v1.DimensionsInfo\x12\x15\n\ris_concurrent\x18\x0f \x01(\x08\x12!\n\x19service_request_quota_uri\x18\x11 \x01(\t\"Z\n\rContainerType\x12\x1e\n\x1a\x43ONTAINER_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PROJECT\x10\x01\x12\n\n\x06\x46OLDER\x10\x02\x12\x10\n\x0cORGANIZATION\x10\x03:\xae\x02\xea\x41\xaa\x02\n$cloudquotas.googleapis.com/QuotaInfo\x12Rprojects/{project}/locations/{location}/services/{service}/quotaInfos/{quota_info}\x12Pfolders/{folder}/locations/{location}/services/{service}/quotaInfos/{quota_info}\x12\\organizations/{organization}/locations/{location}/services/{service}/quotaInfos/{quota_info}\"\xfc\x01\n\x18QuotaIncreaseEligibility\x12\x13\n\x0bis_eligible\x18\x01 \x01(\x08\x12\x65\n\x14ineligibility_reason\x18\x02 \x01(\x0e\x32G.google.api.cloudquotas.v1.QuotaIncreaseEligibility.IneligibilityReason\"d\n\x13IneligibilityReason\x12$\n INELIGIBILITY_REASON_UNSPECIFIED\x10\x00\x12\x1c\n\x18NO_VALID_BILLING_ACCOUNT\x10\x01\x12\t\n\x05OTHER\x10\x02\"\
|
13
|
+
descriptor_data = "\n)google/api/cloudquotas/v1/resources.proto\x12\x19google.api.cloudquotas.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x9f\x07\n\tQuotaInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08quota_id\x18\x02 \x01(\t\x12\x0e\n\x06metric\x18\x03 \x01(\t\x12\x0f\n\x07service\x18\x04 \x01(\t\x12\x12\n\nis_precise\x18\x05 \x01(\x08\x12\x18\n\x10refresh_interval\x18\x06 \x01(\t\x12J\n\x0e\x63ontainer_type\x18\x07 \x01(\x0e\x32\x32.google.api.cloudquotas.v1.QuotaInfo.ContainerType\x12\x12\n\ndimensions\x18\x08 \x03(\t\x12\x1b\n\x13metric_display_name\x18\t \x01(\t\x12\x1a\n\x12quota_display_name\x18\n \x01(\t\x12\x13\n\x0bmetric_unit\x18\x0b \x01(\t\x12W\n\x1aquota_increase_eligibility\x18\x0c \x01(\x0b\x32\x33.google.api.cloudquotas.v1.QuotaIncreaseEligibility\x12\x10\n\x08is_fixed\x18\r \x01(\x08\x12\x43\n\x10\x64imensions_infos\x18\x0e \x03(\x0b\x32).google.api.cloudquotas.v1.DimensionsInfo\x12\x15\n\ris_concurrent\x18\x0f \x01(\x08\x12!\n\x19service_request_quota_uri\x18\x11 \x01(\t\"Z\n\rContainerType\x12\x1e\n\x1a\x43ONTAINER_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PROJECT\x10\x01\x12\n\n\x06\x46OLDER\x10\x02\x12\x10\n\x0cORGANIZATION\x10\x03:\xae\x02\xea\x41\xaa\x02\n$cloudquotas.googleapis.com/QuotaInfo\x12Rprojects/{project}/locations/{location}/services/{service}/quotaInfos/{quota_info}\x12Pfolders/{folder}/locations/{location}/services/{service}/quotaInfos/{quota_info}\x12\\organizations/{organization}/locations/{location}/services/{service}/quotaInfos/{quota_info}\"\xfc\x01\n\x18QuotaIncreaseEligibility\x12\x13\n\x0bis_eligible\x18\x01 \x01(\x08\x12\x65\n\x14ineligibility_reason\x18\x02 \x01(\x0e\x32G.google.api.cloudquotas.v1.QuotaIncreaseEligibility.IneligibilityReason\"d\n\x13IneligibilityReason\x12$\n INELIGIBILITY_REASON_UNSPECIFIED\x10\x00\x12\x1c\n\x18NO_VALID_BILLING_ACCOUNT\x10\x01\x12\t\n\x05OTHER\x10\x02\"\x85\x06\n\x0fQuotaPreference\x12\x0c\n\x04name\x18\x01 \x01(\t\x12S\n\ndimensions\x18\x02 \x03(\x0b\x32:.google.api.cloudquotas.v1.QuotaPreference.DimensionsEntryB\x03\xe0\x41\x05\x12\x41\n\x0cquota_config\x18\x03 \x01(\x0b\x32&.google.api.cloudquotas.v1.QuotaConfigB\x03\xe0\x41\x02\x12\x11\n\x04\x65tag\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x14\n\x07service\x18\x07 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08quota_id\x18\x08 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0breconciling\x18\n \x01(\x08\x42\x03\xe0\x41\x03\x12\x15\n\rjustification\x18\x0b \x01(\t\x12\x1a\n\rcontact_email\x18\x0c \x01(\tB\x03\xe0\x41\x04\x1a\x31\n\x0f\x44imensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x9f\x02\xea\x41\x9b\x02\n*cloudquotas.googleapis.com/QuotaPreference\x12Kprojects/{project}/locations/{location}/quotaPreferences/{quota_preference}\x12Ifolders/{folder}/locations/{location}/quotaPreferences/{quota_preference}\x12Uorganizations/{organization}/locations/{location}/quotaPreferences/{quota_preference}\"\xb1\x03\n\x0bQuotaConfig\x12\x1c\n\x0fpreferred_value\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x12\x19\n\x0cstate_detail\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x37\n\rgranted_value\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x15\n\x08trace_id\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12Q\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32\x37.google.api.cloudquotas.v1.QuotaConfig.AnnotationsEntryB\x03\xe0\x41\x01\x12J\n\x0erequest_origin\x18\x06 \x01(\x0e\x32-.google.api.cloudquotas.v1.QuotaConfig.OriginB\x03\xe0\x41\x03\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"F\n\x06Origin\x12\x16\n\x12ORIGIN_UNSPECIFIED\x10\x00\x12\x11\n\rCLOUD_CONSOLE\x10\x01\x12\x11\n\rAUTO_ADJUSTER\x10\x02\"\xea\x01\n\x0e\x44imensionsInfo\x12M\n\ndimensions\x18\x01 \x03(\x0b\x32\x39.google.api.cloudquotas.v1.DimensionsInfo.DimensionsEntry\x12\x38\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\'.google.api.cloudquotas.v1.QuotaDetails\x12\x1c\n\x14\x61pplicable_locations\x18\x03 \x03(\t\x1a\x31\n\x0f\x44imensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x1d\n\x0cQuotaDetails\x12\r\n\x05value\x18\x01 \x01(\x03*~\n\x10QuotaSafetyCheck\x12\"\n\x1eQUOTA_SAFETY_CHECK_UNSPECIFIED\x10\x00\x12\x1e\n\x1aQUOTA_DECREASE_BELOW_USAGE\x10\x01\x12&\n\"QUOTA_DECREASE_PERCENTAGE_TOO_HIGH\x10\x02\x42\xd1\x01\n\x1d\x63om.google.api.cloudquotas.v1B\x0eResourcesProtoP\x01ZAcloud.google.com/go/cloudquotas/apiv1/cloudquotaspb;cloudquotaspb\xaa\x02\x1bGoogle.Cloud.CloudQuotas.V1\xca\x02\x1bGoogle\\Cloud\\CloudQuotas\\V1\xea\x02\x1eGoogle::Cloud::CloudQuotas::V1b\x06proto3"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -425,18 +425,15 @@ module Google
|
|
425
425
|
# create/update time range.
|
426
426
|
#
|
427
427
|
# Example filters:
|
428
|
-
# `
|
429
|
-
# `
|
430
|
-
# creation_time>2022-12-03T10:30:00`
|
431
|
-
#
|
432
|
-
# If no filter is provided, returns all pending quota preferences.
|
428
|
+
# `reconciling=true AND request_type=CLOUD_CONSOLE`,
|
429
|
+
# `reconciling=true OR creation_time>2022-12-03T10:30:00`
|
433
430
|
# @param order_by [::String]
|
434
431
|
# Optional. How to order of the results. By default, the results are ordered
|
435
432
|
# by create time.
|
436
433
|
#
|
437
434
|
# Example orders:
|
438
|
-
# `
|
439
|
-
# `
|
435
|
+
# `quota_id`,
|
436
|
+
# `service, create_time`
|
440
437
|
#
|
441
438
|
# @yield [response, operation] Access the result along with the RPC operation
|
442
439
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::CloudQuotas::V1::QuotaPreference>]
|
@@ -404,18 +404,15 @@ module Google
|
|
404
404
|
# create/update time range.
|
405
405
|
#
|
406
406
|
# Example filters:
|
407
|
-
# `
|
408
|
-
# `
|
409
|
-
# creation_time>2022-12-03T10:30:00`
|
410
|
-
#
|
411
|
-
# If no filter is provided, returns all pending quota preferences.
|
407
|
+
# `reconciling=true AND request_type=CLOUD_CONSOLE`,
|
408
|
+
# `reconciling=true OR creation_time>2022-12-03T10:30:00`
|
412
409
|
# @param order_by [::String]
|
413
410
|
# Optional. How to order of the results. By default, the results are ordered
|
414
411
|
# by create time.
|
415
412
|
#
|
416
413
|
# Example orders:
|
417
|
-
# `
|
418
|
-
# `
|
414
|
+
# `quota_id`,
|
415
|
+
# `service, create_time`
|
419
416
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
420
417
|
# @yieldparam result [::Google::Cloud::CloudQuotas::V1::ListQuotaPreferencesResponse]
|
421
418
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -95,19 +95,16 @@ module Google
|
|
95
95
|
# create/update time range.
|
96
96
|
#
|
97
97
|
# Example filters:
|
98
|
-
# `
|
99
|
-
# `
|
100
|
-
# creation_time>2022-12-03T10:30:00`
|
101
|
-
#
|
102
|
-
# If no filter is provided, returns all pending quota preferences.
|
98
|
+
# `reconciling=true AND request_type=CLOUD_CONSOLE`,
|
99
|
+
# `reconciling=true OR creation_time>2022-12-03T10:30:00`
|
103
100
|
# @!attribute [rw] order_by
|
104
101
|
# @return [::String]
|
105
102
|
# Optional. How to order of the results. By default, the results are ordered
|
106
103
|
# by create time.
|
107
104
|
#
|
108
105
|
# Example orders:
|
109
|
-
# `
|
110
|
-
# `
|
106
|
+
# `quota_id`,
|
107
|
+
# `service, create_time`
|
111
108
|
class ListQuotaPreferencesRequest
|
112
109
|
include ::Google::Protobuf::MessageExts
|
113
110
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -83,15 +83,9 @@ module Google
|
|
83
83
|
# on the total number of concurrent operations in flight at any given time.
|
84
84
|
# @!attribute [rw] service_request_quota_uri
|
85
85
|
# @return [::String]
|
86
|
-
# URI to the page where
|
87
|
-
# service,
|
88
|
-
# https://
|
89
|
-
# Google Developers Console UI replace \\{email} with the current
|
90
|
-
# user's e-mail, \\{id} with the current project number, or organization ID
|
91
|
-
# with "organizations/" prefix. For example,
|
92
|
-
# https://docs.google.com/spreadsheet/viewform?formkey=abc123&entry_0=johndoe@gmail.com&entry_1=25463754,
|
93
|
-
# or
|
94
|
-
# https://docs.google.com/spreadsheet/viewform?formkey=abc123&entry_0=johndoe@gmail.com&entry_1=organizations/26474422.
|
86
|
+
# URI to the page where users can request more quota for the cloud
|
87
|
+
# service—for example,
|
88
|
+
# https://console.cloud.google.com/iam-admin/quotas.
|
95
89
|
class QuotaInfo
|
96
90
|
include ::Google::Protobuf::MessageExts
|
97
91
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -151,9 +145,9 @@ module Google
|
|
151
145
|
# `projects/123/locations/global/quotaPreferences/my-config-for-us-east1`
|
152
146
|
# @!attribute [rw] dimensions
|
153
147
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
154
|
-
# The dimensions that this quota preference applies to. The key of
|
155
|
-
# entry is the name of a dimension, such as "region", "zone",
|
156
|
-
# and the value of the map entry is the dimension value.
|
148
|
+
# Immutable. The dimensions that this quota preference applies to. The key of
|
149
|
+
# the map entry is the name of a dimension, such as "region", "zone",
|
150
|
+
# "network_id", and the value of the map entry is the dimension value.
|
157
151
|
#
|
158
152
|
# If a dimension is missing from the map of dimensions, the quota preference
|
159
153
|
# applies to all the dimension values except for those that have other quota
|
@@ -196,11 +190,14 @@ module Google
|
|
196
190
|
# The reason / justification for this quota preference.
|
197
191
|
# @!attribute [rw] contact_email
|
198
192
|
# @return [::String]
|
199
|
-
#
|
193
|
+
# Input only. An email address that can be used for quota related
|
200
194
|
# communication between the Google Cloud and the user in case the Google
|
201
195
|
# Cloud needs further information to make a decision on whether the user
|
202
196
|
# preferred quota can be granted.
|
203
197
|
#
|
198
|
+
# The email address is optional for decrease quota preferences. In another
|
199
|
+
# word, QuotaConfig.preferred_value is smaller than the
|
200
|
+
# QuotaDetails.reset_value. It is required for increase quota preferences.
|
204
201
|
# The Google account for the email address must have quota update permission
|
205
202
|
# for the project, folder or organization this quota preference is for.
|
206
203
|
class QuotaPreference
|
@@ -237,9 +234,9 @@ module Google
|
|
237
234
|
# quota decrease requests do not have a trace id.
|
238
235
|
# @!attribute [rw] annotations
|
239
236
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
240
|
-
# The annotations map for clients to store small amounts of
|
241
|
-
# Do not put PII or other sensitive information here.
|
242
|
-
#
|
237
|
+
# Optional. The annotations map for clients to store small amounts of
|
238
|
+
# arbitrary data. Do not put PII or other sensitive information here. See
|
239
|
+
# https://google.aip.dev/128#annotations
|
243
240
|
# @!attribute [r] request_origin
|
244
241
|
# @return [::Google::Cloud::CloudQuotas::V1::QuotaConfig::Origin]
|
245
242
|
# Output only. The origin of the quota preference request.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-cloud_quotas-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|