blob: 2c79afc679c268bf45105ddadf1f9afda3a5555c [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="serviceconsumermanagement_v1beta1.html">Service Consumer Management API</a> . <a href="serviceconsumermanagement_v1beta1.services.html">services</a> . <a href="serviceconsumermanagement_v1beta1.services.consumerQuotaMetrics.html">consumerQuotaMetrics</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="serviceconsumermanagement_v1beta1.services.consumerQuotaMetrics.limits.html">limits()</a></code>
79</p>
80<p class="firstline">Returns the limits Resource.</p>
81
82<p class="toc_element">
83 <code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p>
84<p class="firstline">Retrieves a summary of quota information for a specific quota metric.</p>
85<p class="toc_element">
86 <code><a href="#importProducerOverrides">importProducerOverrides(parent, body=None, x__xgafv=None)</a></code></p>
87<p class="firstline">Create or update multiple producer overrides atomically, all on the</p>
88<p class="toc_element">
89 <code><a href="#list">list(parent, view=None, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
90<p class="firstline">Retrieves a summary of all quota information about this consumer that is</p>
91<p class="toc_element">
92 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
93<p class="firstline">Retrieves the next page of results.</p>
94<h3>Method Details</h3>
95<div class="method">
96 <code class="details" id="get">get(name, view=None, x__xgafv=None)</code>
97 <pre>Retrieves a summary of quota information for a specific quota metric.
98
99Args:
100 name: string, The resource name of the quota metric, returned by a
101ListConsumerQuotaMetrics call.
102
103An example name would be:
104`services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus` (required)
105 view: string, Specifies the level of detail for quota information in the response.
106 x__xgafv: string, V1 error format.
107 Allowed values
108 1 - v1 error format
109 2 - v2 error format
110
111Returns:
112 An object of the form:
113
114 { # Consumer quota settings for a quota metric.
115 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the metric.
116 #
117 # An example name would be:
118 # &quot;CPUs&quot;
119 &quot;consumerQuotaLimits&quot;: [ # The consumer quota for each quota limit defined on the metric.
120 { # Consumer quota settings for a quota limit.
121 &quot;isPrecise&quot;: True or False, # Whether this limit is precise or imprecise.
122 &quot;quotaBuckets&quot;: [ # Summary of the enforced quota buckets, organized by quota dimension,
123 # ordered from least specific to most specific (for example, the global
124 # default bucket, with no quota dimensions, will always appear first).
125 { # A quota bucket is a quota provisioning unit for a specific set of dimensions.
126 &quot;effectiveLimit&quot;: &quot;A String&quot;, # The effective limit of this quota bucket. Equal to default_limit if there
127 # are no overrides.
128 &quot;defaultLimit&quot;: &quot;A String&quot;, # The default limit of this quota bucket, as specified by the service
129 # configuration.
130 &quot;dimensions&quot;: { # The dimensions of this quota bucket.
131 #
132 # If this map is empty, this is the global bucket, which is the default quota
133 # value applied to all requests that do not have a more specific override.
134 #
135 # If this map is nonempty, the default limit, effective limit, and quota
136 # overrides apply only to requests that have the dimensions given in the map.
137 #
138 # For example, if the map has key &quot;region&quot; and value &quot;us-east-1&quot;, then the
139 # specified effective limit is only effective in that region, and the
140 # specified overrides apply only in that region.
141 &quot;a_key&quot;: &quot;A String&quot;,
142 },
143 &quot;adminOverride&quot;: { # A quota override # Admin override on this quota bucket.
144 &quot;unit&quot;: &quot;A String&quot;, # The limit unit of the limit to which this override applies.
145 #
146 # An example unit would be:
147 # `1/{project}/{region}`
148 # Note that `{project}` and `{region}` are not placeholders in this example;
149 # the literal characters `{` and `}` occur in the string.
150 &quot;dimensions&quot;: { #
151 # If this map is nonempty, then this override applies only to specific values
152 # for dimensions defined in the limit unit.
153 #
154 # For example, an override on a limit with the unit 1/{project}/{region}
155 # could contain an entry with the key &quot;region&quot; and the value &quot;us-east-1&quot;;
156 # the override is only applied to quota consumed in that region.
157 #
158 # This map has the following restrictions:
159 #
160 # * Keys that are not defined in the limit&#x27;s unit are not valid keys.
161 # Any string appearing in {brackets} in the unit (besides {project} or
162 # {user}) is a defined key.
163 # * &quot;project&quot; is not a valid key; the project is already specified in
164 # the parent resource name.
165 # * &quot;user&quot; is not a valid key; the API does not support quota overrides
166 # that apply only to a specific user.
167 # * If &quot;region&quot; appears as a key, its value must be a valid Cloud region.
168 # * If &quot;zone&quot; appears as a key, its value must be a valid Cloud zone.
169 # * If any valid key other than &quot;region&quot; or &quot;zone&quot; appears in the map, then
170 # all valid keys other than &quot;region&quot; or &quot;zone&quot; must also appear in the
171 # map.
172 &quot;a_key&quot;: &quot;A String&quot;,
173 },
174 &quot;name&quot;: &quot;A String&quot;, # The resource name of the producer override.
175 # An example name would be:
176 # `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOverrides/4a3f2c1d`
177 &quot;overrideValue&quot;: &quot;A String&quot;, # The overriding quota limit value.
178 # Can be any nonnegative integer, or -1 (unlimited quota).
179 &quot;metric&quot;: &quot;A String&quot;, # The name of the metric to which this override applies.
180 #
181 # An example name would be:
182 # `compute.googleapis.com/cpus`
183 },
184 &quot;producerOverride&quot;: { # A quota override # Producer override on this quota bucket.
185 &quot;unit&quot;: &quot;A String&quot;, # The limit unit of the limit to which this override applies.
186 #
187 # An example unit would be:
188 # `1/{project}/{region}`
189 # Note that `{project}` and `{region}` are not placeholders in this example;
190 # the literal characters `{` and `}` occur in the string.
191 &quot;dimensions&quot;: { #
192 # If this map is nonempty, then this override applies only to specific values
193 # for dimensions defined in the limit unit.
194 #
195 # For example, an override on a limit with the unit 1/{project}/{region}
196 # could contain an entry with the key &quot;region&quot; and the value &quot;us-east-1&quot;;
197 # the override is only applied to quota consumed in that region.
198 #
199 # This map has the following restrictions:
200 #
201 # * Keys that are not defined in the limit&#x27;s unit are not valid keys.
202 # Any string appearing in {brackets} in the unit (besides {project} or
203 # {user}) is a defined key.
204 # * &quot;project&quot; is not a valid key; the project is already specified in
205 # the parent resource name.
206 # * &quot;user&quot; is not a valid key; the API does not support quota overrides
207 # that apply only to a specific user.
208 # * If &quot;region&quot; appears as a key, its value must be a valid Cloud region.
209 # * If &quot;zone&quot; appears as a key, its value must be a valid Cloud zone.
210 # * If any valid key other than &quot;region&quot; or &quot;zone&quot; appears in the map, then
211 # all valid keys other than &quot;region&quot; or &quot;zone&quot; must also appear in the
212 # map.
213 &quot;a_key&quot;: &quot;A String&quot;,
214 },
215 &quot;name&quot;: &quot;A String&quot;, # The resource name of the producer override.
216 # An example name would be:
217 # `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOverrides/4a3f2c1d`
218 &quot;overrideValue&quot;: &quot;A String&quot;, # The overriding quota limit value.
219 # Can be any nonnegative integer, or -1 (unlimited quota).
220 &quot;metric&quot;: &quot;A String&quot;, # The name of the metric to which this override applies.
221 #
222 # An example name would be:
223 # `compute.googleapis.com/cpus`
224 },
225 &quot;consumerOverride&quot;: { # A quota override # Consumer override on this quota bucket.
226 &quot;unit&quot;: &quot;A String&quot;, # The limit unit of the limit to which this override applies.
227 #
228 # An example unit would be:
229 # `1/{project}/{region}`
230 # Note that `{project}` and `{region}` are not placeholders in this example;
231 # the literal characters `{` and `}` occur in the string.
232 &quot;dimensions&quot;: { #
233 # If this map is nonempty, then this override applies only to specific values
234 # for dimensions defined in the limit unit.
235 #
236 # For example, an override on a limit with the unit 1/{project}/{region}
237 # could contain an entry with the key &quot;region&quot; and the value &quot;us-east-1&quot;;
238 # the override is only applied to quota consumed in that region.
239 #
240 # This map has the following restrictions:
241 #
242 # * Keys that are not defined in the limit&#x27;s unit are not valid keys.
243 # Any string appearing in {brackets} in the unit (besides {project} or
244 # {user}) is a defined key.
245 # * &quot;project&quot; is not a valid key; the project is already specified in
246 # the parent resource name.
247 # * &quot;user&quot; is not a valid key; the API does not support quota overrides
248 # that apply only to a specific user.
249 # * If &quot;region&quot; appears as a key, its value must be a valid Cloud region.
250 # * If &quot;zone&quot; appears as a key, its value must be a valid Cloud zone.
251 # * If any valid key other than &quot;region&quot; or &quot;zone&quot; appears in the map, then
252 # all valid keys other than &quot;region&quot; or &quot;zone&quot; must also appear in the
253 # map.
254 &quot;a_key&quot;: &quot;A String&quot;,
255 },
256 &quot;name&quot;: &quot;A String&quot;, # The resource name of the producer override.
257 # An example name would be:
258 # `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOverrides/4a3f2c1d`
259 &quot;overrideValue&quot;: &quot;A String&quot;, # The overriding quota limit value.
260 # Can be any nonnegative integer, or -1 (unlimited quota).
261 &quot;metric&quot;: &quot;A String&quot;, # The name of the metric to which this override applies.
262 #
263 # An example name would be:
264 # `compute.googleapis.com/cpus`
265 },
266 },
267 ],
268 &quot;metric&quot;: &quot;A String&quot;, # The name of the parent metric of this limit.
269 #
270 # An example name would be:
271 # `compute.googleapis.com/cpus`
272 &quot;name&quot;: &quot;A String&quot;, # The resource name of the quota limit.
273 #
274 # An example name would be:
275 # `services/compute.googleapis.com/projects/123/quotas/metrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
276 #
277 # The resource name is intended to be opaque and should not be parsed for
278 # its component strings, since its representation could change in the future.
279 &quot;unit&quot;: &quot;A String&quot;, # The limit unit.
280 #
281 # An example unit would be:
282 # `1/{project}/{region}`
283 # Note that `{project}` and `{region}` are not placeholders in this example;
284 # the literal characters `{` and `}` occur in the string.
285 },
286 ],
287 &quot;name&quot;: &quot;A String&quot;, # The resource name of the quota settings on this metric for this consumer.
288 #
289 # An example name would be:
290 # `services/serviceconsumermanagement.googleapis.com/projects/123/quota/metrics/compute.googleapis.com%2Fcpus
291 #
292 # The resource name is intended to be opaque and should not be parsed for
293 # its component strings, since its representation could change in the future.
294 &quot;metric&quot;: &quot;A String&quot;, # The name of the metric.
295 #
296 # An example name would be:
297 # `compute.googleapis.com/cpus`
298 }</pre>
299</div>
300
301<div class="method">
302 <code class="details" id="importProducerOverrides">importProducerOverrides(parent, body=None, x__xgafv=None)</code>
303 <pre>Create or update multiple producer overrides atomically, all on the
304same consumer, but on many different metrics or limits.
305The name field in the quota override message should not be set.
306
307Args:
308 parent: string, The resource name of the consumer.
309
310An example name would be:
311`services/compute.googleapis.com/projects/123` (required)
312 body: object, The request body.
313 The object takes the form of:
314
315{ # Request message for ImportProducerOverrides
316 &quot;force&quot;: True or False, # Whether to force the creation of the quota overrides.
317 # If creating an override would cause the effective quota for the consumer to
318 # decrease by more than 10 percent, the call is rejected, as a safety measure
319 # to avoid accidentally decreasing quota too quickly. Setting the force
320 # parameter to true ignores this restriction.
321 &quot;inlineSource&quot;: { # Import data embedded in the request message # The import data is specified in the request message itself
322 &quot;overrides&quot;: [ # The overrides to create.
323 # Each override must have a value for &#x27;metric&#x27; and &#x27;unit&#x27;, to specify
324 # which metric and which limit the override should be applied to.
325 { # A quota override
326 &quot;unit&quot;: &quot;A String&quot;, # The limit unit of the limit to which this override applies.
327 #
328 # An example unit would be:
329 # `1/{project}/{region}`
330 # Note that `{project}` and `{region}` are not placeholders in this example;
331 # the literal characters `{` and `}` occur in the string.
332 &quot;dimensions&quot;: { #
333 # If this map is nonempty, then this override applies only to specific values
334 # for dimensions defined in the limit unit.
335 #
336 # For example, an override on a limit with the unit 1/{project}/{region}
337 # could contain an entry with the key &quot;region&quot; and the value &quot;us-east-1&quot;;
338 # the override is only applied to quota consumed in that region.
339 #
340 # This map has the following restrictions:
341 #
342 # * Keys that are not defined in the limit&#x27;s unit are not valid keys.
343 # Any string appearing in {brackets} in the unit (besides {project} or
344 # {user}) is a defined key.
345 # * &quot;project&quot; is not a valid key; the project is already specified in
346 # the parent resource name.
347 # * &quot;user&quot; is not a valid key; the API does not support quota overrides
348 # that apply only to a specific user.
349 # * If &quot;region&quot; appears as a key, its value must be a valid Cloud region.
350 # * If &quot;zone&quot; appears as a key, its value must be a valid Cloud zone.
351 # * If any valid key other than &quot;region&quot; or &quot;zone&quot; appears in the map, then
352 # all valid keys other than &quot;region&quot; or &quot;zone&quot; must also appear in the
353 # map.
354 &quot;a_key&quot;: &quot;A String&quot;,
355 },
356 &quot;name&quot;: &quot;A String&quot;, # The resource name of the producer override.
357 # An example name would be:
358 # `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOverrides/4a3f2c1d`
359 &quot;overrideValue&quot;: &quot;A String&quot;, # The overriding quota limit value.
360 # Can be any nonnegative integer, or -1 (unlimited quota).
361 &quot;metric&quot;: &quot;A String&quot;, # The name of the metric to which this override applies.
362 #
363 # An example name would be:
364 # `compute.googleapis.com/cpus`
365 },
366 ],
367 },
368 }
369
370 x__xgafv: string, V1 error format.
371 Allowed values
372 1 - v1 error format
373 2 - v2 error format
374
375Returns:
376 An object of the form:
377
378 { # This resource represents a long-running operation that is the result of a
379 # network API call.
380 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
381 # If `true`, the operation is completed, and either `error` or `response` is
382 # available.
383 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
384 # different programming environments, including REST APIs and RPC APIs. It is
385 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
386 # three pieces of data: error code, error message, and error details.
387 #
388 # You can find out more about this error model and how to work with it in the
389 # [API Design Guide](https://cloud.google.com/apis/design/errors).
390 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
391 # user-facing error message should be localized and sent in the
392 # google.rpc.Status.details field, or localized by the client.
393 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
394 # message types for APIs to use.
395 {
396 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
397 },
398 ],
399 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
400 },
401 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
402 # contains progress information and common metadata such as create time.
403 # Some services might not provide such metadata. Any method that returns a
404 # long-running operation should document the metadata type, if any.
405 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
406 },
407 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
408 # originally returns it. If you use the default HTTP mapping, the
409 # `name` should be a resource name ending with `operations/{unique_id}`.
410 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
411 # method returns no data on success, such as `Delete`, the response is
412 # `google.protobuf.Empty`. If the original method is standard
413 # `Get`/`Create`/`Update`, the response should be the resource. For other
414 # methods, the response should have the type `XxxResponse`, where `Xxx`
415 # is the original method name. For example, if the original method name
416 # is `TakeSnapshot()`, the inferred response type is
417 # `TakeSnapshotResponse`.
418 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
419 },
420 }</pre>
421</div>
422
423<div class="method">
424 <code class="details" id="list">list(parent, view=None, pageToken=None, pageSize=None, x__xgafv=None)</code>
425 <pre>Retrieves a summary of all quota information about this consumer that is
426visible to the service producer, for each quota metric defined by the
427service. Each metric includes information about all of its defined limits.
428Each limit includes the limit configuration (quota unit, preciseness,
429default value), the current effective limit value, and all of the overrides
430applied to the limit.
431
432Args:
433 parent: string, Parent of the quotas resource.
434
435An example parent would be:
436`services/serviceconsumermanagement.googleapis.com/projects/123` (required)
437 view: string, Specifies the level of detail for quota information in the response.
438 pageToken: string, Token identifying which result to start with; returned by a previous list
439call.
440 pageSize: integer, Requested size of the next page of data.
441 x__xgafv: string, V1 error format.
442 Allowed values
443 1 - v1 error format
444 2 - v2 error format
445
446Returns:
447 An object of the form:
448
449 { # Response message for ListConsumerQuotaMetrics.
450 &quot;metrics&quot;: [ # Quota settings for the consumer, organized by quota metric.
451 { # Consumer quota settings for a quota metric.
452 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the metric.
453 #
454 # An example name would be:
455 # &quot;CPUs&quot;
456 &quot;consumerQuotaLimits&quot;: [ # The consumer quota for each quota limit defined on the metric.
457 { # Consumer quota settings for a quota limit.
458 &quot;isPrecise&quot;: True or False, # Whether this limit is precise or imprecise.
459 &quot;quotaBuckets&quot;: [ # Summary of the enforced quota buckets, organized by quota dimension,
460 # ordered from least specific to most specific (for example, the global
461 # default bucket, with no quota dimensions, will always appear first).
462 { # A quota bucket is a quota provisioning unit for a specific set of dimensions.
463 &quot;effectiveLimit&quot;: &quot;A String&quot;, # The effective limit of this quota bucket. Equal to default_limit if there
464 # are no overrides.
465 &quot;defaultLimit&quot;: &quot;A String&quot;, # The default limit of this quota bucket, as specified by the service
466 # configuration.
467 &quot;dimensions&quot;: { # The dimensions of this quota bucket.
468 #
469 # If this map is empty, this is the global bucket, which is the default quota
470 # value applied to all requests that do not have a more specific override.
471 #
472 # If this map is nonempty, the default limit, effective limit, and quota
473 # overrides apply only to requests that have the dimensions given in the map.
474 #
475 # For example, if the map has key &quot;region&quot; and value &quot;us-east-1&quot;, then the
476 # specified effective limit is only effective in that region, and the
477 # specified overrides apply only in that region.
478 &quot;a_key&quot;: &quot;A String&quot;,
479 },
480 &quot;adminOverride&quot;: { # A quota override # Admin override on this quota bucket.
481 &quot;unit&quot;: &quot;A String&quot;, # The limit unit of the limit to which this override applies.
482 #
483 # An example unit would be:
484 # `1/{project}/{region}`
485 # Note that `{project}` and `{region}` are not placeholders in this example;
486 # the literal characters `{` and `}` occur in the string.
487 &quot;dimensions&quot;: { #
488 # If this map is nonempty, then this override applies only to specific values
489 # for dimensions defined in the limit unit.
490 #
491 # For example, an override on a limit with the unit 1/{project}/{region}
492 # could contain an entry with the key &quot;region&quot; and the value &quot;us-east-1&quot;;
493 # the override is only applied to quota consumed in that region.
494 #
495 # This map has the following restrictions:
496 #
497 # * Keys that are not defined in the limit&#x27;s unit are not valid keys.
498 # Any string appearing in {brackets} in the unit (besides {project} or
499 # {user}) is a defined key.
500 # * &quot;project&quot; is not a valid key; the project is already specified in
501 # the parent resource name.
502 # * &quot;user&quot; is not a valid key; the API does not support quota overrides
503 # that apply only to a specific user.
504 # * If &quot;region&quot; appears as a key, its value must be a valid Cloud region.
505 # * If &quot;zone&quot; appears as a key, its value must be a valid Cloud zone.
506 # * If any valid key other than &quot;region&quot; or &quot;zone&quot; appears in the map, then
507 # all valid keys other than &quot;region&quot; or &quot;zone&quot; must also appear in the
508 # map.
509 &quot;a_key&quot;: &quot;A String&quot;,
510 },
511 &quot;name&quot;: &quot;A String&quot;, # The resource name of the producer override.
512 # An example name would be:
513 # `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOverrides/4a3f2c1d`
514 &quot;overrideValue&quot;: &quot;A String&quot;, # The overriding quota limit value.
515 # Can be any nonnegative integer, or -1 (unlimited quota).
516 &quot;metric&quot;: &quot;A String&quot;, # The name of the metric to which this override applies.
517 #
518 # An example name would be:
519 # `compute.googleapis.com/cpus`
520 },
521 &quot;producerOverride&quot;: { # A quota override # Producer override on this quota bucket.
522 &quot;unit&quot;: &quot;A String&quot;, # The limit unit of the limit to which this override applies.
523 #
524 # An example unit would be:
525 # `1/{project}/{region}`
526 # Note that `{project}` and `{region}` are not placeholders in this example;
527 # the literal characters `{` and `}` occur in the string.
528 &quot;dimensions&quot;: { #
529 # If this map is nonempty, then this override applies only to specific values
530 # for dimensions defined in the limit unit.
531 #
532 # For example, an override on a limit with the unit 1/{project}/{region}
533 # could contain an entry with the key &quot;region&quot; and the value &quot;us-east-1&quot;;
534 # the override is only applied to quota consumed in that region.
535 #
536 # This map has the following restrictions:
537 #
538 # * Keys that are not defined in the limit&#x27;s unit are not valid keys.
539 # Any string appearing in {brackets} in the unit (besides {project} or
540 # {user}) is a defined key.
541 # * &quot;project&quot; is not a valid key; the project is already specified in
542 # the parent resource name.
543 # * &quot;user&quot; is not a valid key; the API does not support quota overrides
544 # that apply only to a specific user.
545 # * If &quot;region&quot; appears as a key, its value must be a valid Cloud region.
546 # * If &quot;zone&quot; appears as a key, its value must be a valid Cloud zone.
547 # * If any valid key other than &quot;region&quot; or &quot;zone&quot; appears in the map, then
548 # all valid keys other than &quot;region&quot; or &quot;zone&quot; must also appear in the
549 # map.
550 &quot;a_key&quot;: &quot;A String&quot;,
551 },
552 &quot;name&quot;: &quot;A String&quot;, # The resource name of the producer override.
553 # An example name would be:
554 # `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOverrides/4a3f2c1d`
555 &quot;overrideValue&quot;: &quot;A String&quot;, # The overriding quota limit value.
556 # Can be any nonnegative integer, or -1 (unlimited quota).
557 &quot;metric&quot;: &quot;A String&quot;, # The name of the metric to which this override applies.
558 #
559 # An example name would be:
560 # `compute.googleapis.com/cpus`
561 },
562 &quot;consumerOverride&quot;: { # A quota override # Consumer override on this quota bucket.
563 &quot;unit&quot;: &quot;A String&quot;, # The limit unit of the limit to which this override applies.
564 #
565 # An example unit would be:
566 # `1/{project}/{region}`
567 # Note that `{project}` and `{region}` are not placeholders in this example;
568 # the literal characters `{` and `}` occur in the string.
569 &quot;dimensions&quot;: { #
570 # If this map is nonempty, then this override applies only to specific values
571 # for dimensions defined in the limit unit.
572 #
573 # For example, an override on a limit with the unit 1/{project}/{region}
574 # could contain an entry with the key &quot;region&quot; and the value &quot;us-east-1&quot;;
575 # the override is only applied to quota consumed in that region.
576 #
577 # This map has the following restrictions:
578 #
579 # * Keys that are not defined in the limit&#x27;s unit are not valid keys.
580 # Any string appearing in {brackets} in the unit (besides {project} or
581 # {user}) is a defined key.
582 # * &quot;project&quot; is not a valid key; the project is already specified in
583 # the parent resource name.
584 # * &quot;user&quot; is not a valid key; the API does not support quota overrides
585 # that apply only to a specific user.
586 # * If &quot;region&quot; appears as a key, its value must be a valid Cloud region.
587 # * If &quot;zone&quot; appears as a key, its value must be a valid Cloud zone.
588 # * If any valid key other than &quot;region&quot; or &quot;zone&quot; appears in the map, then
589 # all valid keys other than &quot;region&quot; or &quot;zone&quot; must also appear in the
590 # map.
591 &quot;a_key&quot;: &quot;A String&quot;,
592 },
593 &quot;name&quot;: &quot;A String&quot;, # The resource name of the producer override.
594 # An example name would be:
595 # `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOverrides/4a3f2c1d`
596 &quot;overrideValue&quot;: &quot;A String&quot;, # The overriding quota limit value.
597 # Can be any nonnegative integer, or -1 (unlimited quota).
598 &quot;metric&quot;: &quot;A String&quot;, # The name of the metric to which this override applies.
599 #
600 # An example name would be:
601 # `compute.googleapis.com/cpus`
602 },
603 },
604 ],
605 &quot;metric&quot;: &quot;A String&quot;, # The name of the parent metric of this limit.
606 #
607 # An example name would be:
608 # `compute.googleapis.com/cpus`
609 &quot;name&quot;: &quot;A String&quot;, # The resource name of the quota limit.
610 #
611 # An example name would be:
612 # `services/compute.googleapis.com/projects/123/quotas/metrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
613 #
614 # The resource name is intended to be opaque and should not be parsed for
615 # its component strings, since its representation could change in the future.
616 &quot;unit&quot;: &quot;A String&quot;, # The limit unit.
617 #
618 # An example unit would be:
619 # `1/{project}/{region}`
620 # Note that `{project}` and `{region}` are not placeholders in this example;
621 # the literal characters `{` and `}` occur in the string.
622 },
623 ],
624 &quot;name&quot;: &quot;A String&quot;, # The resource name of the quota settings on this metric for this consumer.
625 #
626 # An example name would be:
627 # `services/serviceconsumermanagement.googleapis.com/projects/123/quota/metrics/compute.googleapis.com%2Fcpus
628 #
629 # The resource name is intended to be opaque and should not be parsed for
630 # its component strings, since its representation could change in the future.
631 &quot;metric&quot;: &quot;A String&quot;, # The name of the metric.
632 #
633 # An example name would be:
634 # `compute.googleapis.com/cpus`
635 },
636 ],
637 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token identifying which result to start with; returned by a previous list
638 # call.
639 }</pre>
640</div>
641
642<div class="method">
643 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
644 <pre>Retrieves the next page of results.
645
646Args:
647 previous_request: The request for the previous page. (required)
648 previous_response: The response from the request for the previous page. (required)
649
650Returns:
651 A request object that you can call &#x27;execute()&#x27; on to request the next
652 page. Returns None if there are no more items in the collection.
653 </pre>
654</div>
655
656</body></html>