Debian Codegraph @

docs/dyn/apigee_v1.organizations.apimServiceExtensions.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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="apigee_v1.html">Apigee API</a> . <a href="apigee_v1.organizations.html">organizations</a> . <a href="apigee_v1.organizations.apimServiceExtensions.html">apimServiceExtensions</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, apimServiceExtensionId=None, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates an APIM ServiceExtension in an organization.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes APIM service extension from an organization.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets APIM service extension details.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists all APIM service extensions in an organization.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(name, allowMissing=None, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates an APIM service extension in an organization.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(parent, apimServiceExtensionId=None, body=None, x__xgafv=None)</code>
106 <pre>Creates an APIM ServiceExtension in an organization.
107
108 Args:
109 parent: string, Required. Name of the organization in which the service extension will be created. Use the following structure in your request: `organizations/{org}` (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # APIM Service Extension is a resource under an Apigee Organization that is used to create APIM Service Extension to route traffic to existing X instances.
114 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time that this resource was created on the server.
115 &quot;extensionProcessor&quot;: &quot;A String&quot;, # Required. Name of the proxy deployed in the Apigee X instance.
116 &quot;extensions&quot;: [ # Optional. List of extensions that are part of the service extension. Refer to https://cloud.google.com/service-extensions/docs/quotas#limits for any limits.
117 { # Extension configuration for Apigee extension processor service extension.
118 &quot;failOpen&quot;: True or False, # Optional. Whether this request should fail open.
119 &quot;hostname&quot;: &quot;A String&quot;, # Required. One of the hostnames of Apigee EnvGroup where the proxy is deployed. This hostname (i.e FDQN) will be used to route traffic from the specified forwarding rule to the environment in Apigee X instance where the proxy is deployed for handling extension traffic. Format: ^([a-zA-Z0-9. _-])+$
120 &quot;matchCondition&quot;: &quot;A String&quot;, # Optional. Match Condition for CEL expression. Refer to https://cloud.google.com/service-extensions/docs/cel-matcher-language-reference for more details.
121 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the `LbTrafficExtension` resource. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
122 &quot;supportedEvents&quot;: [ # Optional. Supported events for the Service Extension. If not specified, all events are supported.
123 &quot;A String&quot;,
124 ],
125 },
126 ],
127 &quot;lbForwardingRule&quot;: &quot;A String&quot;, # Required. Name of the Google Cloud LB forwarding rule. Format: projects/{project}/regions/{region}/forwardingRules/{forwarding_rule} projects/{project}/global/forwardingRules/{forwarding_rule}
128 &quot;name&quot;: &quot;A String&quot;, # Identifier. unique name of the APIM service extension. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
129 &quot;network&quot;: &quot;A String&quot;, # Required. The network where the forwarding rule is created. Format: projects/{project}/global/networks/{network}
130 &quot;networkConfigs&quot;: [ # Required. List of network configurations for the APIM service extension.
131 { # Network configuration for the APIM service extension.
132 &quot;region&quot;: &quot;A String&quot;, # Required. The region for the PSC NEG.
133 &quot;subnet&quot;: &quot;A String&quot;, # Required. The subnet for the PSC NEG. Format: projects/{project}/regions/{region}/subnetworks/{subnet}
134 },
135 ],
136 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the APIM service extension. Values other than `ACTIVE` mean the resource is not ready to use.
137 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time that this resource was updated on the server.
138 }
139
140 apimServiceExtensionId: string, Optional. ID used to uniquely identify of the service extension. It must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
141 x__xgafv: string, V1 error format.
142 Allowed values
143 1 - v1 error format
144 2 - v2 error format
145
146 Returns:
147 An object of the form:
148
149 { # This resource represents a long-running operation that is the result of a network API call.
150 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
151 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
152 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
153 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
154 {
155 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
156 },
157 ],
158 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
159 },
160 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
161 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
162 },
163 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
164 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
165 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
166 },
167 }</pre>
168 </div>
169
170 <div class="method">
171 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
172 <pre>Deletes APIM service extension from an organization.
173
174 Args:
175 name: string, Required. Name of the service extension. Use the following structure in your request: `organizations/{org}/apimServiceExtensions/{extension_id}` (required)
176 x__xgafv: string, V1 error format.
177 Allowed values
178 1 - v1 error format
179 2 - v2 error format
180
181 Returns:
182 An object of the form:
183
184 { # This resource represents a long-running operation that is the result of a network API call.
185 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
186 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
187 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
188 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
189 {
190 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
191 },
192 ],
193 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
194 },
195 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
196 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
197 },
198 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
199 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
200 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
201 },
202 }</pre>
203 </div>
204
205 <div class="method">
206 <code class="details" id="get">get(name, x__xgafv=None)</code>
207 <pre>Gets APIM service extension details.
208
209 Args:
210 name: string, Required. Name of the service extension. Use the following structure in your request: `organizations/{org}/apimServiceExtensions/{extension_id}` (required)
211 x__xgafv: string, V1 error format.
212 Allowed values
213 1 - v1 error format
214 2 - v2 error format
215
216 Returns:
217 An object of the form:
218
219 { # APIM Service Extension is a resource under an Apigee Organization that is used to create APIM Service Extension to route traffic to existing X instances.
220 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time that this resource was created on the server.
221 &quot;extensionProcessor&quot;: &quot;A String&quot;, # Required. Name of the proxy deployed in the Apigee X instance.
222 &quot;extensions&quot;: [ # Optional. List of extensions that are part of the service extension. Refer to https://cloud.google.com/service-extensions/docs/quotas#limits for any limits.
223 { # Extension configuration for Apigee extension processor service extension.
224 &quot;failOpen&quot;: True or False, # Optional. Whether this request should fail open.
225 &quot;hostname&quot;: &quot;A String&quot;, # Required. One of the hostnames of Apigee EnvGroup where the proxy is deployed. This hostname (i.e FDQN) will be used to route traffic from the specified forwarding rule to the environment in Apigee X instance where the proxy is deployed for handling extension traffic. Format: ^([a-zA-Z0-9. _-])+$
226 &quot;matchCondition&quot;: &quot;A String&quot;, # Optional. Match Condition for CEL expression. Refer to https://cloud.google.com/service-extensions/docs/cel-matcher-language-reference for more details.
227 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the `LbTrafficExtension` resource. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
228 &quot;supportedEvents&quot;: [ # Optional. Supported events for the Service Extension. If not specified, all events are supported.
229 &quot;A String&quot;,
230 ],
231 },
232 ],
233 &quot;lbForwardingRule&quot;: &quot;A String&quot;, # Required. Name of the Google Cloud LB forwarding rule. Format: projects/{project}/regions/{region}/forwardingRules/{forwarding_rule} projects/{project}/global/forwardingRules/{forwarding_rule}
234 &quot;name&quot;: &quot;A String&quot;, # Identifier. unique name of the APIM service extension. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
235 &quot;network&quot;: &quot;A String&quot;, # Required. The network where the forwarding rule is created. Format: projects/{project}/global/networks/{network}
236 &quot;networkConfigs&quot;: [ # Required. List of network configurations for the APIM service extension.
237 { # Network configuration for the APIM service extension.
238 &quot;region&quot;: &quot;A String&quot;, # Required. The region for the PSC NEG.
239 &quot;subnet&quot;: &quot;A String&quot;, # Required. The subnet for the PSC NEG. Format: projects/{project}/regions/{region}/subnetworks/{subnet}
240 },
241 ],
242 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the APIM service extension. Values other than `ACTIVE` mean the resource is not ready to use.
243 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time that this resource was updated on the server.
244 }</pre>
245 </div>
246
247 <div class="method">
248 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
249 <pre>Lists all APIM service extensions in an organization.
250
251 Args:
252 parent: string, Required. Name of the organization for which to list the service extension. Use the following structure in your request: `organizations/{org}/apimServiceExtensions` (required)
253 pageSize: integer, Optional. Maximum number of items to return. If unspecified, at most 25 service extension will be returned.
254 pageToken: string, Optional. Page token, returned from a previous `ListApimServiceExtensions` call, that you can use to retrieve the next page.
255 x__xgafv: string, V1 error format.
256 Allowed values
257 1 - v1 error format
258 2 - v2 error format
259
260 Returns:
261 An object of the form:
262
263 { # Response for list service extensions.
264 &quot;apimServiceExtensions&quot;: [ # service extension in a given organization.
265 { # APIM Service Extension is a resource under an Apigee Organization that is used to create APIM Service Extension to route traffic to existing X instances.
266 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time that this resource was created on the server.
267 &quot;extensionProcessor&quot;: &quot;A String&quot;, # Required. Name of the proxy deployed in the Apigee X instance.
268 &quot;extensions&quot;: [ # Optional. List of extensions that are part of the service extension. Refer to https://cloud.google.com/service-extensions/docs/quotas#limits for any limits.
269 { # Extension configuration for Apigee extension processor service extension.
270 &quot;failOpen&quot;: True or False, # Optional. Whether this request should fail open.
271 &quot;hostname&quot;: &quot;A String&quot;, # Required. One of the hostnames of Apigee EnvGroup where the proxy is deployed. This hostname (i.e FDQN) will be used to route traffic from the specified forwarding rule to the environment in Apigee X instance where the proxy is deployed for handling extension traffic. Format: ^([a-zA-Z0-9. _-])+$
272 &quot;matchCondition&quot;: &quot;A String&quot;, # Optional. Match Condition for CEL expression. Refer to https://cloud.google.com/service-extensions/docs/cel-matcher-language-reference for more details.
273 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the `LbTrafficExtension` resource. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
274 &quot;supportedEvents&quot;: [ # Optional. Supported events for the Service Extension. If not specified, all events are supported.
275 &quot;A String&quot;,
276 ],
277 },
278 ],
279 &quot;lbForwardingRule&quot;: &quot;A String&quot;, # Required. Name of the Google Cloud LB forwarding rule. Format: projects/{project}/regions/{region}/forwardingRules/{forwarding_rule} projects/{project}/global/forwardingRules/{forwarding_rule}
280 &quot;name&quot;: &quot;A String&quot;, # Identifier. unique name of the APIM service extension. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
281 &quot;network&quot;: &quot;A String&quot;, # Required. The network where the forwarding rule is created. Format: projects/{project}/global/networks/{network}
282 &quot;networkConfigs&quot;: [ # Required. List of network configurations for the APIM service extension.
283 { # Network configuration for the APIM service extension.
284 &quot;region&quot;: &quot;A String&quot;, # Required. The region for the PSC NEG.
285 &quot;subnet&quot;: &quot;A String&quot;, # Required. The subnet for the PSC NEG. Format: projects/{project}/regions/{region}/subnetworks/{subnet}
286 },
287 ],
288 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the APIM service extension. Values other than `ACTIVE` mean the resource is not ready to use.
289 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time that this resource was updated on the server.
290 },
291 ],
292 &quot;nextPageToken&quot;: &quot;A String&quot;, # Page token that you can include in an `ListApimServiceExtensions` request to retrieve the next page. If omitted, no subsequent pages exist.
293 }</pre>
294 </div>
295
296 <div class="method">
297 <code class="details" id="list_next">list_next()</code>
298 <pre>Retrieves the next page of results.
299
300 Args:
301 previous_request: The request for the previous page. (required)
302 previous_response: The response from the request for the previous page. (required)
303
304 Returns:
305 A request object that you can call &#x27;execute()&#x27; on to request the next
306 page. Returns None if there are no more items in the collection.
307 </pre>
308 </div>
309
310 <div class="method">
311 <code class="details" id="patch">patch(name, allowMissing=None, body=None, updateMask=None, x__xgafv=None)</code>
312 <pre>Updates an APIM service extension in an organization.
313
314 Args:
315 name: string, Identifier. unique name of the APIM service extension. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number. (required)
316 body: object, The request body.
317 The object takes the form of:
318
319 { # APIM Service Extension is a resource under an Apigee Organization that is used to create APIM Service Extension to route traffic to existing X instances.
320 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time that this resource was created on the server.
321 &quot;extensionProcessor&quot;: &quot;A String&quot;, # Required. Name of the proxy deployed in the Apigee X instance.
322 &quot;extensions&quot;: [ # Optional. List of extensions that are part of the service extension. Refer to https://cloud.google.com/service-extensions/docs/quotas#limits for any limits.
323 { # Extension configuration for Apigee extension processor service extension.
324 &quot;failOpen&quot;: True or False, # Optional. Whether this request should fail open.
325 &quot;hostname&quot;: &quot;A String&quot;, # Required. One of the hostnames of Apigee EnvGroup where the proxy is deployed. This hostname (i.e FDQN) will be used to route traffic from the specified forwarding rule to the environment in Apigee X instance where the proxy is deployed for handling extension traffic. Format: ^([a-zA-Z0-9. _-])+$
326 &quot;matchCondition&quot;: &quot;A String&quot;, # Optional. Match Condition for CEL expression. Refer to https://cloud.google.com/service-extensions/docs/cel-matcher-language-reference for more details.
327 &quot;name&quot;: &quot;A String&quot;, # Required. Name of the `LbTrafficExtension` resource. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
328 &quot;supportedEvents&quot;: [ # Optional. Supported events for the Service Extension. If not specified, all events are supported.
329 &quot;A String&quot;,
330 ],
331 },
332 ],
333 &quot;lbForwardingRule&quot;: &quot;A String&quot;, # Required. Name of the Google Cloud LB forwarding rule. Format: projects/{project}/regions/{region}/forwardingRules/{forwarding_rule} projects/{project}/global/forwardingRules/{forwarding_rule}
334 &quot;name&quot;: &quot;A String&quot;, # Identifier. unique name of the APIM service extension. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
335 &quot;network&quot;: &quot;A String&quot;, # Required. The network where the forwarding rule is created. Format: projects/{project}/global/networks/{network}
336 &quot;networkConfigs&quot;: [ # Required. List of network configurations for the APIM service extension.
337 { # Network configuration for the APIM service extension.
338 &quot;region&quot;: &quot;A String&quot;, # Required. The region for the PSC NEG.
339 &quot;subnet&quot;: &quot;A String&quot;, # Required. The subnet for the PSC NEG. Format: projects/{project}/regions/{region}/subnetworks/{subnet}
340 },
341 ],
342 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the APIM service extension. Values other than `ACTIVE` mean the resource is not ready to use.
343 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time that this resource was updated on the server.
344 }
345
346 allowMissing: boolean, Optional. If set to true, and the service extension is not found, a new service extension will be created. In this situation, `update_mask` is ignored.
347 updateMask: string, Optional. The list of fields to update.
348 x__xgafv: string, V1 error format.
349 Allowed values
350 1 - v1 error format
351 2 - v2 error format
352
353 Returns:
354 An object of the form:
355
356 { # This resource represents a long-running operation that is the result of a network API call.
357 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
358 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
359 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
360 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
361 {
362 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
363 },
364 ],
365 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
366 },
367 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
368 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
369 },
370 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
371 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
372 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
373 },
374 }</pre>
375 </div>
376
377 </body></html>