blob: 00a9047a7393d87f3a0ce0c9e3f7df36b4043020 [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="serviceusage_v1beta1.html">Service Usage API</a> . <a href="serviceusage_v1beta1.services.html">services</a> . <a href="serviceusage_v1beta1.services.consumerQuotaMetrics.html">consumerQuotaMetrics</a> . <a href="serviceusage_v1beta1.services.consumerQuotaMetrics.limits.html">limits</a> . <a href="serviceusage_v1beta1.services.consumerQuotaMetrics.limits.adminOverrides.html">adminOverrides</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#create">create(parent, body=None, force=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Creates an admin override.</p>
80<p class="toc_element">
81 <code><a href="#delete">delete(name, force=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Deletes an admin override.</p>
83<p class="toc_element">
84 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85<p class="firstline">Lists all admin overrides on this limit.</p>
86<p class="toc_element">
87 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
88<p class="firstline">Retrieves the next page of results.</p>
89<p class="toc_element">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070090 <code><a href="#patch">patch(name, body=None, force=None, updateMask=None, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -070091<p class="firstline">Updates an admin override.</p>
92<h3>Method Details</h3>
93<div class="method">
94 <code class="details" id="create">create(parent, body=None, force=None, x__xgafv=None)</code>
95 <pre>Creates an admin override.
96An admin override is applied by an administrator of a parent folder or
97parent organization of the consumer receiving the override. An admin
98override is intended to limit the amount of quota the consumer can use out
99of the total quota pool allocated to all children of the folder or
100organization.
101
102Args:
103 parent: string, The resource name of the parent quota limit, returned by a
104ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.
105
106An example name would be:
107`projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` (required)
108 body: object, The request body.
109 The object takes the form of:
110
111{ # A quota override
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700112 &quot;name&quot;: &quot;A String&quot;, # The resource name of the override.
113 # This name is generated by the server when the override is created.
114 #
115 # Example names would be:
116 # `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
117 # `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
118 #
119 # The resource name is intended to be opaque and should not be parsed for
120 # its component strings, since its representation could change in the future.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700121 &quot;overrideValue&quot;: &quot;A String&quot;, # The overriding quota limit value.
122 # Can be any nonnegative integer, or -1 (unlimited quota).
123 &quot;adminOverrideAncestor&quot;: &quot;A String&quot;, # The resource name of the ancestor that requested the override. For example:
124 # &quot;organizations/12345&quot; or &quot;folders/67890&quot;.
125 # Used by admin overrides only.
126 &quot;unit&quot;: &quot;A String&quot;, # The limit unit of the limit to which this override applies.
127 #
128 # An example unit would be:
129 # `1/{project}/{region}`
130 # Note that `{project}` and `{region}` are not placeholders in this example;
131 # the literal characters `{` and `}` occur in the string.
Bu Sun Kim65020912020-05-20 12:08:20 -0700132 &quot;metric&quot;: &quot;A String&quot;, # The name of the metric to which this override applies.
133 #
134 # An example name would be:
135 # `compute.googleapis.com/cpus`
136 &quot;dimensions&quot;: { # If this map is nonempty, then this override applies only to specific values
137 # for dimensions defined in the limit unit.
138 #
139 # For example, an override on a limit with the unit 1/{project}/{region}
140 # could contain an entry with the key &quot;region&quot; and the value &quot;us-east-1&quot;;
141 # the override is only applied to quota consumed in that region.
142 #
143 # This map has the following restrictions:
144 #
145 # * Keys that are not defined in the limit&#x27;s unit are not valid keys.
146 # Any string appearing in {brackets} in the unit (besides {project} or
147 # {user}) is a defined key.
148 # * &quot;project&quot; is not a valid key; the project is already specified in
149 # the parent resource name.
150 # * &quot;user&quot; is not a valid key; the API does not support quota overrides
151 # that apply only to a specific user.
152 # * If &quot;region&quot; appears as a key, its value must be a valid Cloud region.
153 # * If &quot;zone&quot; appears as a key, its value must be a valid Cloud zone.
154 # * If any valid key other than &quot;region&quot; or &quot;zone&quot; appears in the map, then
155 # all valid keys other than &quot;region&quot; or &quot;zone&quot; must also appear in the
156 # map.
157 &quot;a_key&quot;: &quot;A String&quot;,
158 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700159}
160
161 force: boolean, Whether to force the creation of the quota override.
162If creating an override would cause the effective quota for the consumer to
163decrease by more than 10 percent, the call is rejected, as a safety measure
164to avoid accidentally decreasing quota too quickly. Setting the force
165parameter to true ignores this restriction.
166 x__xgafv: string, V1 error format.
167 Allowed values
168 1 - v1 error format
169 2 - v2 error format
170
171Returns:
172 An object of the form:
173
174 { # This resource represents a long-running operation that is the result of a
175 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700176 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
177 # method returns no data on success, such as `Delete`, the response is
178 # `google.protobuf.Empty`. If the original method is standard
179 # `Get`/`Create`/`Update`, the response should be the resource. For other
180 # methods, the response should have the type `XxxResponse`, where `Xxx`
181 # is the original method name. For example, if the original method name
182 # is `TakeSnapshot()`, the inferred response type is
183 # `TakeSnapshotResponse`.
184 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
185 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700186 &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.
187 # different programming environments, including REST APIs and RPC APIs. It is
188 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
189 # three pieces of data: error code, error message, and error details.
190 #
191 # You can find out more about this error model and how to work with it in the
192 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700193 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700194 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
195 # user-facing error message should be localized and sent in the
196 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700197 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
198 # message types for APIs to use.
199 {
200 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
201 },
202 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700203 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700204 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
205 # contains progress information and common metadata such as create time.
206 # Some services might not provide such metadata. Any method that returns a
207 # long-running operation should document the metadata type, if any.
208 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
209 },
210 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
211 # originally returns it. If you use the default HTTP mapping, the
212 # `name` should be a resource name ending with `operations/{unique_id}`.
213 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
214 # If `true`, the operation is completed, and either `error` or `response` is
215 # available.
Bu Sun Kim65020912020-05-20 12:08:20 -0700216 }</pre>
217</div>
218
219<div class="method">
220 <code class="details" id="delete">delete(name, force=None, x__xgafv=None)</code>
221 <pre>Deletes an admin override.
222
223Args:
224 name: string, The resource name of the override to delete.
225
226An example name would be:
227`projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d` (required)
228 force: boolean, Whether to force the deletion of the quota override.
229If deleting an override would cause the effective quota for the consumer to
230decrease by more than 10 percent, the call is rejected, as a safety measure
231to avoid accidentally decreasing quota too quickly. Setting the force
232parameter to true ignores this restriction.
233 x__xgafv: string, V1 error format.
234 Allowed values
235 1 - v1 error format
236 2 - v2 error format
237
238Returns:
239 An object of the form:
240
241 { # This resource represents a long-running operation that is the result of a
242 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700243 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
244 # method returns no data on success, such as `Delete`, the response is
245 # `google.protobuf.Empty`. If the original method is standard
246 # `Get`/`Create`/`Update`, the response should be the resource. For other
247 # methods, the response should have the type `XxxResponse`, where `Xxx`
248 # is the original method name. For example, if the original method name
249 # is `TakeSnapshot()`, the inferred response type is
250 # `TakeSnapshotResponse`.
251 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
252 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700253 &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.
254 # different programming environments, including REST APIs and RPC APIs. It is
255 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
256 # three pieces of data: error code, error message, and error details.
257 #
258 # You can find out more about this error model and how to work with it in the
259 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700260 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700261 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
262 # user-facing error message should be localized and sent in the
263 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700264 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
265 # message types for APIs to use.
266 {
267 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
268 },
269 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700270 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700271 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
272 # contains progress information and common metadata such as create time.
273 # Some services might not provide such metadata. Any method that returns a
274 # long-running operation should document the metadata type, if any.
275 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
276 },
277 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
278 # originally returns it. If you use the default HTTP mapping, the
279 # `name` should be a resource name ending with `operations/{unique_id}`.
280 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
281 # If `true`, the operation is completed, and either `error` or `response` is
282 # available.
Bu Sun Kim65020912020-05-20 12:08:20 -0700283 }</pre>
284</div>
285
286<div class="method">
287 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
288 <pre>Lists all admin overrides on this limit.
289
290Args:
291 parent: string, The resource name of the parent quota limit, returned by a
292ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.
293
294An example name would be:
295`projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` (required)
296 pageSize: integer, Requested size of the next page of data.
297 pageToken: string, Token identifying which result to start with; returned by a previous list
298call.
299 x__xgafv: string, V1 error format.
300 Allowed values
301 1 - v1 error format
302 2 - v2 error format
303
304Returns:
305 An object of the form:
306
307 { # Response message for ListAdminOverrides.
Bu Sun Kim65020912020-05-20 12:08:20 -0700308 &quot;overrides&quot;: [ # Admin overrides on this limit.
309 { # A quota override
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700310 &quot;name&quot;: &quot;A String&quot;, # The resource name of the override.
311 # This name is generated by the server when the override is created.
312 #
313 # Example names would be:
314 # `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
315 # `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
316 #
317 # The resource name is intended to be opaque and should not be parsed for
318 # its component strings, since its representation could change in the future.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700319 &quot;overrideValue&quot;: &quot;A String&quot;, # The overriding quota limit value.
320 # Can be any nonnegative integer, or -1 (unlimited quota).
321 &quot;adminOverrideAncestor&quot;: &quot;A String&quot;, # The resource name of the ancestor that requested the override. For example:
322 # &quot;organizations/12345&quot; or &quot;folders/67890&quot;.
323 # Used by admin overrides only.
324 &quot;unit&quot;: &quot;A String&quot;, # The limit unit of the limit to which this override applies.
325 #
326 # An example unit would be:
327 # `1/{project}/{region}`
328 # Note that `{project}` and `{region}` are not placeholders in this example;
329 # the literal characters `{` and `}` occur in the string.
Bu Sun Kim65020912020-05-20 12:08:20 -0700330 &quot;metric&quot;: &quot;A String&quot;, # The name of the metric to which this override applies.
331 #
332 # An example name would be:
333 # `compute.googleapis.com/cpus`
334 &quot;dimensions&quot;: { # If this map is nonempty, then this override applies only to specific values
335 # for dimensions defined in the limit unit.
336 #
337 # For example, an override on a limit with the unit 1/{project}/{region}
338 # could contain an entry with the key &quot;region&quot; and the value &quot;us-east-1&quot;;
339 # the override is only applied to quota consumed in that region.
340 #
341 # This map has the following restrictions:
342 #
343 # * Keys that are not defined in the limit&#x27;s unit are not valid keys.
344 # Any string appearing in {brackets} in the unit (besides {project} or
345 # {user}) is a defined key.
346 # * &quot;project&quot; is not a valid key; the project is already specified in
347 # the parent resource name.
348 # * &quot;user&quot; is not a valid key; the API does not support quota overrides
349 # that apply only to a specific user.
350 # * If &quot;region&quot; appears as a key, its value must be a valid Cloud region.
351 # * If &quot;zone&quot; appears as a key, its value must be a valid Cloud zone.
352 # * If any valid key other than &quot;region&quot; or &quot;zone&quot; appears in the map, then
353 # all valid keys other than &quot;region&quot; or &quot;zone&quot; must also appear in the
354 # map.
355 &quot;a_key&quot;: &quot;A String&quot;,
356 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700357 },
358 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700359 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token identifying which result to start with; returned by a previous list
360 # call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700361 }</pre>
362</div>
363
364<div class="method">
365 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
366 <pre>Retrieves the next page of results.
367
368Args:
369 previous_request: The request for the previous page. (required)
370 previous_response: The response from the request for the previous page. (required)
371
372Returns:
373 A request object that you can call &#x27;execute()&#x27; on to request the next
374 page. Returns None if there are no more items in the collection.
375 </pre>
376</div>
377
378<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700379 <code class="details" id="patch">patch(name, body=None, force=None, updateMask=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700380 <pre>Updates an admin override.
381
382Args:
383 name: string, The resource name of the override to update.
384
385An example name would be:
386`projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d` (required)
387 body: object, The request body.
388 The object takes the form of:
389
390{ # A quota override
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700391 &quot;name&quot;: &quot;A String&quot;, # The resource name of the override.
392 # This name is generated by the server when the override is created.
393 #
394 # Example names would be:
395 # `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
396 # `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
397 #
398 # The resource name is intended to be opaque and should not be parsed for
399 # its component strings, since its representation could change in the future.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700400 &quot;overrideValue&quot;: &quot;A String&quot;, # The overriding quota limit value.
401 # Can be any nonnegative integer, or -1 (unlimited quota).
402 &quot;adminOverrideAncestor&quot;: &quot;A String&quot;, # The resource name of the ancestor that requested the override. For example:
403 # &quot;organizations/12345&quot; or &quot;folders/67890&quot;.
404 # Used by admin overrides only.
405 &quot;unit&quot;: &quot;A String&quot;, # The limit unit of the limit to which this override applies.
406 #
407 # An example unit would be:
408 # `1/{project}/{region}`
409 # Note that `{project}` and `{region}` are not placeholders in this example;
410 # the literal characters `{` and `}` occur in the string.
Bu Sun Kim65020912020-05-20 12:08:20 -0700411 &quot;metric&quot;: &quot;A String&quot;, # The name of the metric to which this override applies.
412 #
413 # An example name would be:
414 # `compute.googleapis.com/cpus`
415 &quot;dimensions&quot;: { # If this map is nonempty, then this override applies only to specific values
416 # for dimensions defined in the limit unit.
417 #
418 # For example, an override on a limit with the unit 1/{project}/{region}
419 # could contain an entry with the key &quot;region&quot; and the value &quot;us-east-1&quot;;
420 # the override is only applied to quota consumed in that region.
421 #
422 # This map has the following restrictions:
423 #
424 # * Keys that are not defined in the limit&#x27;s unit are not valid keys.
425 # Any string appearing in {brackets} in the unit (besides {project} or
426 # {user}) is a defined key.
427 # * &quot;project&quot; is not a valid key; the project is already specified in
428 # the parent resource name.
429 # * &quot;user&quot; is not a valid key; the API does not support quota overrides
430 # that apply only to a specific user.
431 # * If &quot;region&quot; appears as a key, its value must be a valid Cloud region.
432 # * If &quot;zone&quot; appears as a key, its value must be a valid Cloud zone.
433 # * If any valid key other than &quot;region&quot; or &quot;zone&quot; appears in the map, then
434 # all valid keys other than &quot;region&quot; or &quot;zone&quot; must also appear in the
435 # map.
436 &quot;a_key&quot;: &quot;A String&quot;,
437 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700438}
439
Bu Sun Kim65020912020-05-20 12:08:20 -0700440 force: boolean, Whether to force the update of the quota override.
441If updating an override would cause the effective quota for the consumer to
442decrease by more than 10 percent, the call is rejected, as a safety measure
443to avoid accidentally decreasing quota too quickly. Setting the force
444parameter to true ignores this restriction.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700445 updateMask: string, Update only the specified fields of the override.
446If unset, all fields will be updated.
Bu Sun Kim65020912020-05-20 12:08:20 -0700447 x__xgafv: string, V1 error format.
448 Allowed values
449 1 - v1 error format
450 2 - v2 error format
451
452Returns:
453 An object of the form:
454
455 { # This resource represents a long-running operation that is the result of a
456 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700457 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
458 # method returns no data on success, such as `Delete`, the response is
459 # `google.protobuf.Empty`. If the original method is standard
460 # `Get`/`Create`/`Update`, the response should be the resource. For other
461 # methods, the response should have the type `XxxResponse`, where `Xxx`
462 # is the original method name. For example, if the original method name
463 # is `TakeSnapshot()`, the inferred response type is
464 # `TakeSnapshotResponse`.
465 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
466 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700467 &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.
468 # different programming environments, including REST APIs and RPC APIs. It is
469 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
470 # three pieces of data: error code, error message, and error details.
471 #
472 # You can find out more about this error model and how to work with it in the
473 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700474 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700475 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
476 # user-facing error message should be localized and sent in the
477 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700478 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
479 # message types for APIs to use.
480 {
481 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
482 },
483 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700484 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700485 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
486 # contains progress information and common metadata such as create time.
487 # Some services might not provide such metadata. Any method that returns a
488 # long-running operation should document the metadata type, if any.
489 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
490 },
491 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
492 # originally returns it. If you use the default HTTP mapping, the
493 # `name` should be a resource name ending with `operations/{unique_id}`.
494 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
495 # If `true`, the operation is completed, and either `error` or `response` is
496 # available.
Bu Sun Kim65020912020-05-20 12:08:20 -0700497 }</pre>
498</div>
499
500</body></html>