google-cloud-cloud_quotas-v1 2.4.0 → 2.6.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.
@@ -27,21 +27,21 @@ module Google
27
27
  # @return [::String]
28
28
  # Resource name of this QuotaInfo.
29
29
  # The ID component following "locations/" must be "global".
30
- # Example:
30
+ # For example,
31
31
  # `projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion`
32
32
  # @!attribute [rw] quota_id
33
33
  # @return [::String]
34
34
  # The id of the quota, which is unique within the service.
35
- # Example: `CpusPerProjectPerRegion`
35
+ # For example, `CpusPerProjectPerRegion`
36
36
  # @!attribute [rw] metric
37
37
  # @return [::String]
38
38
  # The metric of the quota. It specifies the resources consumption the quota
39
39
  # is defined for.
40
- # Example: `compute.googleapis.com/cpus`
40
+ # For example, `compute.googleapis.com/cpus`
41
41
  # @!attribute [rw] service
42
42
  # @return [::String]
43
43
  # The name of the service in which the quota is defined.
44
- # Example: `compute.googleapis.com`
44
+ # For example, `compute.googleapis.com`
45
45
  # @!attribute [rw] is_precise
46
46
  # @return [::Boolean]
47
47
  # Whether this is a precise quota. A precise quota is tracked with absolute
@@ -50,8 +50,8 @@ module Google
50
50
  # @return [::String]
51
51
  # The reset time interval for the quota. Refresh interval applies to rate
52
52
  # quota only.
53
- # Example: "minute" for per minute, "day" for per day, or "10 seconds" for
54
- # every 10 seconds.
53
+ # For example, "minute" for per minute, "day" for per day, or "10 seconds"
54
+ # for every 10 seconds.
55
55
  # @!attribute [rw] container_type
56
56
  # @return [::Google::Cloud::CloudQuotas::V1::QuotaInfo::ContainerType]
57
57
  # The container type of the QuotaInfo.
@@ -146,25 +146,26 @@ module Google
146
146
  # @return [::String]
147
147
  # Required except in the CREATE requests.
148
148
  # The resource name of the quota preference.
149
- # The ID component following "locations/" must be "global".
150
- # Example:
149
+ # The path that follows `/locations` must be `/global`.
150
+ # For example:
151
151
  # `projects/123/locations/global/quotaPreferences/my-config-for-us-east1`
152
152
  # @!attribute [rw] dimensions
153
153
  # @return [::Google::Protobuf::Map{::String => ::String}]
154
154
  # Immutable. The dimensions that this quota preference applies to. The key of
155
- # the map entry is the name of a dimension, such as "region", "zone",
156
- # "network_id", and the value of the map entry is the dimension value.
155
+ # the map entry is the name of a dimension, such as `region`, `zone`,
156
+ # `network_id`, and the value of the map entry is the dimension value.
157
157
  #
158
158
  # If a dimension is missing from the map of dimensions, the quota preference
159
159
  # applies to all the dimension values except for those that have other quota
160
160
  # preferences configured for the specific value.
161
161
  #
162
- # NOTE: QuotaPreferences can only be applied across all values of "user" and
163
- # "resource" dimension. Do not set values for "user" or "resource" in the
162
+ # Note: QuotaPreferences can only be applied across all values of `user` and
163
+ # `resource` dimension. Do not set values for `user` or `resource` in the
164
164
  # dimension map.
165
165
  #
166
- # Example: \\{"provider", "Foo Inc"} where "provider" is a service specific
167
- # dimension.
166
+ # For example: `{"provider" : "Example Organization"}` where `provider` is a
167
+ # service-specific quota dimension and `Example Organization` is the provider
168
+ # name.
168
169
  # @!attribute [rw] quota_config
169
170
  # @return [::Google::Cloud::CloudQuotas::V1::QuotaConfig]
170
171
  # Required. Preferred quota configuration.
@@ -186,7 +187,7 @@ module Google
186
187
  # @!attribute [rw] quota_id
187
188
  # @return [::String]
188
189
  # Required. The id of the quota to which the quota preference is applied. A
189
- # quota name is unique in the service. Example: `CpusPerProjectPerRegion`
190
+ # quota name is unique in the service. For example, `CpusPerProjectPerRegion`
190
191
  # @!attribute [r] reconciling
191
192
  # @return [::Boolean]
192
193
  # Output only. Is the quota preference pending Google Cloud approval and
@@ -196,9 +197,9 @@ module Google
196
197
  # The reason / justification for this quota preference.
197
198
  # @!attribute [rw] contact_email
198
199
  # @return [::String]
199
- # Input only. An email address that can be used to contact the the user, in
200
- # case Google Cloud needs more information to make a decision before
201
- # additional quota can be granted.
200
+ # Input only. An email address that can be used to contact the user, in case
201
+ # Google Cloud needs more information to make a decision before additional
202
+ # quota can be granted.
202
203
  #
203
204
  # When requesting a quota increase, the email address is required.
204
205
  # When requesting a quota decrease, the email address is optional.
@@ -275,20 +276,21 @@ module Google
275
276
  # combination of dimensions.
276
277
  # @!attribute [rw] dimensions
277
278
  # @return [::Google::Protobuf::Map{::String => ::String}]
278
- # The map of dimensions for this dimensions info. The key of a map entry
279
- # is "region", "zone" or the name of a service specific dimension, and the
280
- # value of a map entry is the value of the dimension. If a dimension does
279
+ # The map of dimensions in key-value pairs. The key of a map entry
280
+ # is "region", "zone", or the name of a service-specific dimension, and the
281
+ # value of a map entry is the value of the dimension. If a dimension does
281
282
  # not appear in the map of dimensions, the dimensions info applies to all
282
- # the dimension values except for those that have another DimenisonInfo
283
+ # the dimension values except for those that have another DimensionInfo
283
284
  # instance configured for the specific value.
284
- # Example: \\{"provider" : "Foo Inc"} where "provider" is a service specific
285
- # dimension of a quota.
285
+ # For example: `{"provider" : "Example Organization"}` where `provider` is a
286
+ # service-specific quota dimension and `Example Organization` is the provider
287
+ # name.
286
288
  # @!attribute [rw] details
287
289
  # @return [::Google::Cloud::CloudQuotas::V1::QuotaDetails]
288
290
  # Quota details for the specified dimensions.
289
291
  # @!attribute [rw] applicable_locations
290
292
  # @return [::Array<::String>]
291
- # The applicable regions or zones of this dimensions info. The field will be
293
+ # The applicable regions or zones of this dimension. The field is
292
294
  # set to ['global'] for quotas that are not per region or per zone.
293
295
  # Otherwise, it will be set to the list of locations this dimension info is
294
296
  # applicable to.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-cloud_quotas-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.2'
18
+ version: '1.3'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.2'
25
+ version: '1.3'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -54,6 +54,8 @@ files:
54
54
  - lib/google-cloud-cloud_quotas-v1.rb
55
55
  - lib/google/api/cloudquotas/v1/cloudquotas_pb.rb
56
56
  - lib/google/api/cloudquotas/v1/cloudquotas_services_pb.rb
57
+ - lib/google/api/cloudquotas/v1/quota_adjuster_settings_pb.rb
58
+ - lib/google/api/cloudquotas/v1/quota_adjuster_settings_services_pb.rb
57
59
  - lib/google/api/cloudquotas/v1/resources_pb.rb
58
60
  - lib/google/cloud/cloud_quotas/v1.rb
59
61
  - lib/google/cloud/cloud_quotas/v1/cloud_quotas.rb
@@ -63,11 +65,19 @@ files:
63
65
  - lib/google/cloud/cloud_quotas/v1/cloud_quotas/rest.rb
64
66
  - lib/google/cloud/cloud_quotas/v1/cloud_quotas/rest/client.rb
65
67
  - lib/google/cloud/cloud_quotas/v1/cloud_quotas/rest/service_stub.rb
68
+ - lib/google/cloud/cloud_quotas/v1/quota_adjuster_settings_manager.rb
69
+ - lib/google/cloud/cloud_quotas/v1/quota_adjuster_settings_manager/client.rb
70
+ - lib/google/cloud/cloud_quotas/v1/quota_adjuster_settings_manager/credentials.rb
71
+ - lib/google/cloud/cloud_quotas/v1/quota_adjuster_settings_manager/paths.rb
72
+ - lib/google/cloud/cloud_quotas/v1/quota_adjuster_settings_manager/rest.rb
73
+ - lib/google/cloud/cloud_quotas/v1/quota_adjuster_settings_manager/rest/client.rb
74
+ - lib/google/cloud/cloud_quotas/v1/quota_adjuster_settings_manager/rest/service_stub.rb
66
75
  - lib/google/cloud/cloud_quotas/v1/rest.rb
67
76
  - lib/google/cloud/cloud_quotas/v1/version.rb
68
77
  - proto_docs/README.md
69
78
  - proto_docs/google/api/client.rb
70
79
  - proto_docs/google/api/cloudquotas/v1/cloudquotas.rb
80
+ - proto_docs/google/api/cloudquotas/v1/quota_adjuster_settings.rb
71
81
  - proto_docs/google/api/cloudquotas/v1/resources.rb
72
82
  - proto_docs/google/api/field_behavior.rb
73
83
  - proto_docs/google/api/launch_stage.rb