Debian Codegraph @

docs/dyn/compute_alpha.targetTcpProxies.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="compute_alpha.html">Compute Engine API</a> . <a href="compute_alpha.targetTcpProxies.html">targetTcpProxies</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#aggregatedList">aggregatedList(project, filter=None, includeAllScopes=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, serviceProjectNumber=None, x__xgafv=None)</a></code></p>
79 <p class="firstline">Retrieves the list of all TargetTcpProxy resources, regional and global,</p>
80 <p class="toc_element">
81 <code><a href="#aggregatedList_next">aggregatedList_next()</a></code></p>
82 <p class="firstline">Retrieves the next page of results.</p>
83 <p class="toc_element">
84 <code><a href="#close">close()</a></code></p>
85 <p class="firstline">Close httplib2 connections.</p>
86 <p class="toc_element">
87 <code><a href="#delete">delete(project, targetTcpProxy, requestId=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Deletes the specified TargetTcpProxy resource.</p>
89 <p class="toc_element">
90 <code><a href="#get">get(project, targetTcpProxy, x__xgafv=None)</a></code></p>
91 <p class="firstline">Returns the specified TargetTcpProxy resource.</p>
92 <p class="toc_element">
93 <code><a href="#insert">insert(project, body=None, requestId=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Creates a TargetTcpProxy resource in the specified project using</p>
95 <p class="toc_element">
96 <code><a href="#list">list(project, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Retrieves the list of TargetTcpProxy resources</p>
98 <p class="toc_element">
99 <code><a href="#list_next">list_next()</a></code></p>
100 <p class="firstline">Retrieves the next page of results.</p>
101 <p class="toc_element">
102 <code><a href="#setBackendService">setBackendService(project, targetTcpProxy, body=None, requestId=None, x__xgafv=None)</a></code></p>
103 <p class="firstline">Changes the BackendService for TargetTcpProxy.</p>
104 <p class="toc_element">
105 <code><a href="#setProxyHeader">setProxyHeader(project, targetTcpProxy, body=None, requestId=None, x__xgafv=None)</a></code></p>
106 <p class="firstline">Changes the ProxyHeaderType for TargetTcpProxy.</p>
107 <p class="toc_element">
108 <code><a href="#testIamPermissions">testIamPermissions(project, resource, body=None, x__xgafv=None)</a></code></p>
109 <p class="firstline">Returns permissions that a caller has on the specified resource.</p>
110 <h3>Method Details</h3>
111 <div class="method">
112 <code class="details" id="aggregatedList">aggregatedList(project, filter=None, includeAllScopes=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, serviceProjectNumber=None, x__xgafv=None)</code>
113 <pre>Retrieves the list of all TargetTcpProxy resources, regional and global,
114 available to the specified project.
115
116 To prevent failure, Google recommends that you set the
117 `returnPartialSuccess` parameter to `true`.
118
119 Args:
120 project: string, Name of the project scoping this request. (required)
121 filter: string, A filter expression that filters resources listed in the response. Most
122 Compute resources support two types of filter expressions:
123 expressions that support regular expressions and expressions that follow
124 API improvement proposal AIP-160.
125 These two types of filter expressions cannot be mixed in one request.
126
127 If you want to use AIP-160, your expression must specify the field name, an
128 operator, and the value that you want to use for filtering. The value
129 must be a string, a number, or a boolean. The operator
130 must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`.
131
132 For example, if you are filtering Compute Engine instances, you can
133 exclude instances named `example-instance` by specifying
134 `name != example-instance`.
135
136 The `:*` comparison can be used to test whether a key has been defined.
137 For example, to find all objects with `owner` label use:
138 ```
139 labels.owner:*
140 ```
141
142 You can also filter nested fields. For example, you could specify
143 `scheduling.automaticRestart = false` to include instances only
144 if they are not scheduled for automatic restarts. You can use filtering
145 on nested fields to filter based onresource labels.
146
147 To filter on multiple expressions, provide each separate expression within
148 parentheses. For example:
149 ```
150 (scheduling.automaticRestart = true)
151 (cpuPlatform = &quot;Intel Skylake&quot;)
152 ```
153 By default, each expression is an `AND` expression. However, you
154 can include `AND` and `OR` expressions explicitly.
155 For example:
156 ```
157 (cpuPlatform = &quot;Intel Skylake&quot;) OR
158 (cpuPlatform = &quot;Intel Broadwell&quot;) AND
159 (scheduling.automaticRestart = true)
160 ```
161
162 If you want to use a regular expression, use the `eq` (equal) or `ne`
163 (not equal) operator against a single un-parenthesized expression with or
164 without quotes or against multiple parenthesized expressions. Examples:
165
166 `fieldname eq unquoted literal`
167 `fieldname eq &#x27;single quoted literal&#x27;`
168 `fieldname eq &quot;double quoted literal&quot;`
169 `(fieldname1 eq literal) (fieldname2 ne &quot;literal&quot;)`
170
171 The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
172 The literal value must match the entire field.
173
174 For example, to filter for instances that do not end with name &quot;instance&quot;,
175 you would use `name ne .*instance`.
176
177 You cannot combine constraints on multiple fields using regular
178 expressions.
179 includeAllScopes: boolean, Indicates whether every visible scope for each scope type (zone, region,
180 global) should be included in the response. For new resource types added
181 after this field, the flag has no effect as new resource types will always
182 include every visible scope for each scope type in response. For resource
183 types which predate this field, if this flag is omitted or false, only
184 scopes of the scope types where the resource type is expected to be found
185 will be included.
186 maxResults: integer, The maximum number of results per page that should be returned.
187 If the number of available results is larger than `maxResults`,
188 Compute Engine returns a `nextPageToken` that can be used to get
189 the next page of results in subsequent list requests. Acceptable values are
190 `0` to `500`, inclusive. (Default: `500`)
191 orderBy: string, Sorts list results by a certain order. By default, results
192 are returned in alphanumerical order based on the resource name.
193
194 You can also sort results in descending order based on the creation
195 timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts
196 results based on the `creationTimestamp` field in
197 reverse chronological order (newest result first). Use this to sort
198 resources like operations so that the newest operation is returned first.
199
200 Currently, only sorting by `name` or
201 `creationTimestamp desc` is supported.
202 pageToken: string, Specifies a page token to use. Set `pageToken` to the
203 `nextPageToken` returned by a previous list request to get
204 the next page of results.
205 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case
206 of failure. The default value is false.
207
208 For example, when partial success behavior is enabled, aggregatedList for a
209 single zone scope either returns all resources in the zone or no resources,
210 with an error code.
211 serviceProjectNumber: string, The Shared VPC service project id or service project number for which
212 aggregated list request is invoked for subnetworks list-usable api.
213 x__xgafv: string, V1 error format.
214 Allowed values
215 1 - v1 error format
216 2 - v2 error format
217
218 Returns:
219 An object of the form:
220
221 {
222 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
223 &quot;items&quot;: { # A list of TargetTcpProxiesScopedList resources.
224 &quot;a_key&quot;: { # Name of the scope containing this set of TargetTcpProxies.
225 &quot;targetTcpProxies&quot;: [ # A list of TargetTcpProxies contained in this scope.
226 { # Represents a Target TCP Proxy resource.
227 #
228 # A target TCP proxy is a component of a Proxy Network Load Balancer.
229 # The forwarding rule references the target TCP proxy, and the target proxy
230 # then references a backend service. For more information, readProxy Network
231 # Load Balancer overview.
232 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
233 # text format.
234 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
235 # create the resource.
236 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is
237 # defined by the server.
238 &quot;kind&quot;: &quot;compute#targetTcpProxy&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#targetTcpProxy for target TCP proxies.
239 &quot;loadBalancingScheme&quot;: &quot;A String&quot;, # Specifies the type of load balancing scheme used by this target proxy.
240 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
241 # The name must be 1-63 characters long, and comply withRFC1035.
242 # Specifically, the name must be 1-63 characters long and match the regular
243 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
244 # character must be a lowercase letter, and all following characters must
245 # be a dash, lowercase letter, or digit, except the last character, which
246 # cannot be a dash.
247 &quot;proxyBind&quot;: True or False, # This field only applies when the forwarding rule that references this
248 # target proxy has a loadBalancingScheme set toINTERNAL_SELF_MANAGED.
249 #
250 # When this field is set to true, Envoy proxies set up inbound
251 # traffic interception and bind to the IP address and port specified in the
252 # forwarding rule. This is generally useful when using Traffic Director to
253 # configure Envoy as a gateway or middle proxy (in other words, not a
254 # sidecar proxy). The Envoy proxy listens for inbound requests and handles
255 # requests when it receives them.
256 #
257 # The default is false.
258 &quot;proxyHeader&quot;: &quot;A String&quot;, # Specifies the type of proxy header to append before sending data to the
259 # backend, either NONE or PROXY_V1. The default
260 # is NONE.
261 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the regional TCP proxy resides.
262 # This field is not applicable to global TCP proxy.
263 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
264 &quot;service&quot;: &quot;A String&quot;, # URL to the BackendService resource.
265 },
266 ],
267 &quot;warning&quot;: { # Informational warning which replaces the list of
268 # backend services when the list is empty.
269 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
270 # Engine returns NO_RESULTS_ON_PAGE if there
271 # are no results in the response.
272 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
273 # value format. For example:
274 #
275 # &quot;data&quot;: [
276 # {
277 # &quot;key&quot;: &quot;scope&quot;,
278 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
279 # }
280 {
281 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
282 # returned. For example, for warnings where there are no results in a list
283 # request for a particular zone, this key might be scope and
284 # the key value might be the zone name. Other examples might be a key
285 # indicating a deprecated resource and a suggested replacement, or a
286 # warning about invalid network settings (for example, if an instance
287 # attempts to perform IP forwarding but is not enabled for IP forwarding).
288 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
289 },
290 ],
291 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
292 },
293 },
294 },
295 &quot;kind&quot;: &quot;compute#targetTcpProxyAggregatedList&quot;, # Output only. [Output Only] Type of resource. Alwayscompute#targetTcpProxyAggregatedList for lists of Target
296 # TCP Proxies.
297 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for
298 # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
299 # the query parameter pageToken in the next list request.
300 # Subsequent list requests will have their own nextPageToken to
301 # continue paging through the results.
302 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource.
303 &quot;unreachables&quot;: [ # Output only. [Output Only] Unreachable resources.
304 &quot;A String&quot;,
305 ],
306 &quot;warning&quot;: { # [Output Only] Informational warning message.
307 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
308 # Engine returns NO_RESULTS_ON_PAGE if there
309 # are no results in the response.
310 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
311 # value format. For example:
312 #
313 # &quot;data&quot;: [
314 # {
315 # &quot;key&quot;: &quot;scope&quot;,
316 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
317 # }
318 {
319 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
320 # returned. For example, for warnings where there are no results in a list
321 # request for a particular zone, this key might be scope and
322 # the key value might be the zone name. Other examples might be a key
323 # indicating a deprecated resource and a suggested replacement, or a
324 # warning about invalid network settings (for example, if an instance
325 # attempts to perform IP forwarding but is not enabled for IP forwarding).
326 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
327 },
328 ],
329 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
330 },
331 }</pre>
332 </div>
333
334 <div class="method">
335 <code class="details" id="aggregatedList_next">aggregatedList_next()</code>
336 <pre>Retrieves the next page of results.
337
338 Args:
339 previous_request: The request for the previous page. (required)
340 previous_response: The response from the request for the previous page. (required)
341
342 Returns:
343 A request object that you can call &#x27;execute()&#x27; on to request the next
344 page. Returns None if there are no more items in the collection.
345 </pre>
346 </div>
347
348 <div class="method">
349 <code class="details" id="close">close()</code>
350 <pre>Close httplib2 connections.</pre>
351 </div>
352
353 <div class="method">
354 <code class="details" id="delete">delete(project, targetTcpProxy, requestId=None, x__xgafv=None)</code>
355 <pre>Deletes the specified TargetTcpProxy resource.
356
357 Args:
358 project: string, Project ID for this request. (required)
359 targetTcpProxy: string, Name of the TargetTcpProxy resource to delete. (required)
360 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
361 that if you must retry your request, the server will know to ignore the
362 request if it has already been completed.
363
364 For example, consider a situation where you make an initial request and
365 the request times out. If you make the request again with the same
366 request ID, the server can check if original operation with the same
367 request ID was received, and if so, will ignore the second request. This
368 prevents clients from accidentally creating duplicate commitments.
369
370 The request ID must be
371 a valid UUID with the exception that zero UUID is not supported
372 (00000000-0000-0000-0000-000000000000).
373 x__xgafv: string, V1 error format.
374 Allowed values
375 1 - v1 error format
376 2 - v2 error format
377
378 Returns:
379 An object of the form:
380
381 { # Represents an Operation resource.
382 #
383 # Google Compute Engine has three Operation resources:
384 #
385 # * [Global](/compute/docs/reference/rest/alpha/globalOperations)
386 # * [Regional](/compute/docs/reference/rest/alpha/regionOperations)
387 # * [Zonal](/compute/docs/reference/rest/alpha/zoneOperations)
388 #
389 # You can use an operation resource to manage asynchronous API requests.
390 # For more information, readHandling
391 # API responses.
392 #
393 # Operations can be global, regional or zonal.
394 #
395 # - For global operations, use the `globalOperations`
396 # resource.
397 # - For regional operations, use the
398 # `regionOperations` resource.
399 # - For zonal operations, use
400 # the `zoneOperations` resource.
401 #
402 #
403 #
404 # For more information, read
405 # Global, Regional, and Zonal Resources.
406 #
407 # Note that completed Operation resources have a limited
408 # retention period.
409 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
410 # Not present otherwise.
411 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
412 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
413 # set when the operation is created.
414 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
415 # text format.
416 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
417 # this field will be populated.
418 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
419 # operation.
420 {
421 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
422 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
423 # details. There is a set of defined message types to use for providing
424 # details.The syntax depends on the error code. For example,
425 # QuotaExceededInfo will have details when the error code is
426 # QUOTA_EXCEEDED.
427 {
428 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
429 #
430 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
431 # is not enabled:
432 #
433 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
434 # &quot;domain&quot;: &quot;googleapis.com&quot;
435 # &quot;metadata&quot;: {
436 # &quot;resource&quot;: &quot;projects/123&quot;,
437 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
438 # }
439 # }
440 #
441 # This response indicates that the pubsub.googleapis.com API is not enabled.
442 #
443 # Example of an error that is returned when attempting to create a Spanner
444 # instance in a region that is out of stock:
445 #
446 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
447 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
448 # &quot;metadata&quot;: {
449 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
450 # }
451 # }
452 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
453 # is typically the registered service name of the tool or product that
454 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
455 # generated by some common infrastructure, the error domain must be a
456 # globally unique value that identifies the infrastructure. For Google API
457 # infrastructure, the error domain is &quot;googleapis.com&quot;.
458 &quot;metadatas&quot;: { # Additional structured details about this error.
459 #
460 # Keys must match a regular expression of `a-z+` but should
461 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
462 # length. When identifying the current value of an exceeded limit, the units
463 # should be contained in the key, not the value. For example, rather than
464 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
465 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
466 # instances that can be created in a single (batch) request.
467 &quot;a_key&quot;: &quot;A String&quot;,
468 },
469 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
470 # proximate cause of the error. Error reasons are unique within a particular
471 # domain of errors. This should be at most 63 characters and match a
472 # regular expression of `A-Z+[A-Z0-9]`, which represents
473 # UPPER_SNAKE_CASE.
474 },
475 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
476 #
477 # For example, if a quota check failed with an error indicating the calling
478 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
479 # directly to the right place in the developer console to flip the bit.
480 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
481 { # Describes a URL link.
482 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
483 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
484 },
485 ],
486 },
487 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
488 # which can be attached to an RPC error.
489 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
490 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
491 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
492 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
493 },
494 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
495 &quot;dimensions&quot;: { # The map holding related quota dimensions.
496 &quot;a_key&quot;: &quot;A String&quot;,
497 },
498 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
499 # type or metric.
500 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
501 # or metric.
502 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
503 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
504 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
505 },
506 },
507 ],
508 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
509 # This property is optional.
510 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
511 },
512 ],
513 },
514 &quot;getVersionOperationMetadata&quot;: {
515 &quot;inlineSbomInfo&quot;: {
516 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
517 # appropriate identifiers.
518 &quot;a_key&quot;: &quot;A String&quot;,
519 },
520 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
521 # identifiers.
522 &quot;a_key&quot;: &quot;A String&quot;,
523 },
524 },
525 },
526 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
527 # message that was returned, such as `NOT FOUND`.
528 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
529 # status code that was returned. For example, a `404` means the
530 # resource was not found.
531 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
532 # defined by the server.
533 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
534 # This value is inRFC3339
535 # text format.
536 &quot;instancesBulkInsertOperationMetadata&quot;: {
537 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
538 # Example key: zones/us-central1-a
539 &quot;a_key&quot;: {
540 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
541 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
542 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
543 # error.
544 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
545 # if the flow is rolling forward or rolling back.
546 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
547 },
548 },
549 },
550 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
551 # Operation resources.
552 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
553 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
554 # group of operations results from a `bulkInsert` API request.
555 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
556 # `update`, or `delete`, and so on.
557 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
558 # There is no requirement that this be linear or support any granularity of
559 # operations. This should not be used to guess when the operation will be
560 # complete. This number should monotonically increase as the operation
561 # progresses.
562 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
563 # applicable when performing regional operations.
564 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
565 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
566 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
567 # this field will contain information on all underlying zonal actions and
568 # their state.
569 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
570 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
571 # Example key: zones/us-central1-a
572 &quot;a_key&quot;: {
573 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # [Output Only] If state is `ABANDONED` or `FAILED`, this field is
574 # populated.
575 # different programming environments, including REST APIs and RPC APIs. It is
576 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
577 # three pieces of data: error code, error message, and error details.
578 #
579 # You can find out more about this error model and how to work with it in the
580 # [API Design Guide](https://cloud.google.com/apis/design/errors).
581 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
582 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
583 # message types for APIs to use.
584 {
585 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
586 },
587 ],
588 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
589 # user-facing error message should be localized and sent in the
590 # google.rpc.Status.details field, or localized by the client.
591 },
592 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
593 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
594 },
595 },
596 },
597 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
598 # This value is inRFC3339
599 # text format.
600 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
601 # following:
602 # `PENDING`, `RUNNING`, or `DONE`.
603 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
604 # operation.
605 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
606 # of the target resource.
607 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
608 # operations related to creating a snapshot, this points to the disk
609 # that the snapshot was created from.
610 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
611 # `[email protected]` or
612 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
613 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
614 # operation, this field will be populated.
615 {
616 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
617 # Engine returns NO_RESULTS_ON_PAGE if there
618 # are no results in the response.
619 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
620 # value format. For example:
621 #
622 # &quot;data&quot;: [
623 # {
624 # &quot;key&quot;: &quot;scope&quot;,
625 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
626 # }
627 {
628 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
629 # returned. For example, for warnings where there are no results in a list
630 # request for a particular zone, this key might be scope and
631 # the key value might be the zone name. Other examples might be a key
632 # indicating a deprecated resource and a suggested replacement, or a
633 # warning about invalid network settings (for example, if an instance
634 # attempts to perform IP forwarding but is not enabled for IP forwarding).
635 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
636 },
637 ],
638 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
639 },
640 ],
641 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
642 # applicable when performing per-zone operations.
643 }</pre>
644 </div>
645
646 <div class="method">
647 <code class="details" id="get">get(project, targetTcpProxy, x__xgafv=None)</code>
648 <pre>Returns the specified TargetTcpProxy resource.
649
650 Args:
651 project: string, Project ID for this request. (required)
652 targetTcpProxy: string, Name of the TargetTcpProxy resource to return. (required)
653 x__xgafv: string, V1 error format.
654 Allowed values
655 1 - v1 error format
656 2 - v2 error format
657
658 Returns:
659 An object of the form:
660
661 { # Represents a Target TCP Proxy resource.
662 #
663 # A target TCP proxy is a component of a Proxy Network Load Balancer.
664 # The forwarding rule references the target TCP proxy, and the target proxy
665 # then references a backend service. For more information, readProxy Network
666 # Load Balancer overview.
667 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
668 # text format.
669 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
670 # create the resource.
671 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is
672 # defined by the server.
673 &quot;kind&quot;: &quot;compute#targetTcpProxy&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#targetTcpProxy for target TCP proxies.
674 &quot;loadBalancingScheme&quot;: &quot;A String&quot;, # Specifies the type of load balancing scheme used by this target proxy.
675 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
676 # The name must be 1-63 characters long, and comply withRFC1035.
677 # Specifically, the name must be 1-63 characters long and match the regular
678 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
679 # character must be a lowercase letter, and all following characters must
680 # be a dash, lowercase letter, or digit, except the last character, which
681 # cannot be a dash.
682 &quot;proxyBind&quot;: True or False, # This field only applies when the forwarding rule that references this
683 # target proxy has a loadBalancingScheme set toINTERNAL_SELF_MANAGED.
684 #
685 # When this field is set to true, Envoy proxies set up inbound
686 # traffic interception and bind to the IP address and port specified in the
687 # forwarding rule. This is generally useful when using Traffic Director to
688 # configure Envoy as a gateway or middle proxy (in other words, not a
689 # sidecar proxy). The Envoy proxy listens for inbound requests and handles
690 # requests when it receives them.
691 #
692 # The default is false.
693 &quot;proxyHeader&quot;: &quot;A String&quot;, # Specifies the type of proxy header to append before sending data to the
694 # backend, either NONE or PROXY_V1. The default
695 # is NONE.
696 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the regional TCP proxy resides.
697 # This field is not applicable to global TCP proxy.
698 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
699 &quot;service&quot;: &quot;A String&quot;, # URL to the BackendService resource.
700 }</pre>
701 </div>
702
703 <div class="method">
704 <code class="details" id="insert">insert(project, body=None, requestId=None, x__xgafv=None)</code>
705 <pre>Creates a TargetTcpProxy resource in the specified project using
706 the data included in the request.
707
708 Args:
709 project: string, Project ID for this request. (required)
710 body: object, The request body.
711 The object takes the form of:
712
713 { # Represents a Target TCP Proxy resource.
714 #
715 # A target TCP proxy is a component of a Proxy Network Load Balancer.
716 # The forwarding rule references the target TCP proxy, and the target proxy
717 # then references a backend service. For more information, readProxy Network
718 # Load Balancer overview.
719 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
720 # text format.
721 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
722 # create the resource.
723 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is
724 # defined by the server.
725 &quot;kind&quot;: &quot;compute#targetTcpProxy&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#targetTcpProxy for target TCP proxies.
726 &quot;loadBalancingScheme&quot;: &quot;A String&quot;, # Specifies the type of load balancing scheme used by this target proxy.
727 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
728 # The name must be 1-63 characters long, and comply withRFC1035.
729 # Specifically, the name must be 1-63 characters long and match the regular
730 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
731 # character must be a lowercase letter, and all following characters must
732 # be a dash, lowercase letter, or digit, except the last character, which
733 # cannot be a dash.
734 &quot;proxyBind&quot;: True or False, # This field only applies when the forwarding rule that references this
735 # target proxy has a loadBalancingScheme set toINTERNAL_SELF_MANAGED.
736 #
737 # When this field is set to true, Envoy proxies set up inbound
738 # traffic interception and bind to the IP address and port specified in the
739 # forwarding rule. This is generally useful when using Traffic Director to
740 # configure Envoy as a gateway or middle proxy (in other words, not a
741 # sidecar proxy). The Envoy proxy listens for inbound requests and handles
742 # requests when it receives them.
743 #
744 # The default is false.
745 &quot;proxyHeader&quot;: &quot;A String&quot;, # Specifies the type of proxy header to append before sending data to the
746 # backend, either NONE or PROXY_V1. The default
747 # is NONE.
748 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the regional TCP proxy resides.
749 # This field is not applicable to global TCP proxy.
750 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
751 &quot;service&quot;: &quot;A String&quot;, # URL to the BackendService resource.
752 }
753
754 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
755 that if you must retry your request, the server will know to ignore the
756 request if it has already been completed.
757
758 For example, consider a situation where you make an initial request and
759 the request times out. If you make the request again with the same
760 request ID, the server can check if original operation with the same
761 request ID was received, and if so, will ignore the second request. This
762 prevents clients from accidentally creating duplicate commitments.
763
764 The request ID must be
765 a valid UUID with the exception that zero UUID is not supported
766 (00000000-0000-0000-0000-000000000000).
767 x__xgafv: string, V1 error format.
768 Allowed values
769 1 - v1 error format
770 2 - v2 error format
771
772 Returns:
773 An object of the form:
774
775 { # Represents an Operation resource.
776 #
777 # Google Compute Engine has three Operation resources:
778 #
779 # * [Global](/compute/docs/reference/rest/alpha/globalOperations)
780 # * [Regional](/compute/docs/reference/rest/alpha/regionOperations)
781 # * [Zonal](/compute/docs/reference/rest/alpha/zoneOperations)
782 #
783 # You can use an operation resource to manage asynchronous API requests.
784 # For more information, readHandling
785 # API responses.
786 #
787 # Operations can be global, regional or zonal.
788 #
789 # - For global operations, use the `globalOperations`
790 # resource.
791 # - For regional operations, use the
792 # `regionOperations` resource.
793 # - For zonal operations, use
794 # the `zoneOperations` resource.
795 #
796 #
797 #
798 # For more information, read
799 # Global, Regional, and Zonal Resources.
800 #
801 # Note that completed Operation resources have a limited
802 # retention period.
803 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
804 # Not present otherwise.
805 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
806 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
807 # set when the operation is created.
808 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
809 # text format.
810 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
811 # this field will be populated.
812 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
813 # operation.
814 {
815 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
816 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
817 # details. There is a set of defined message types to use for providing
818 # details.The syntax depends on the error code. For example,
819 # QuotaExceededInfo will have details when the error code is
820 # QUOTA_EXCEEDED.
821 {
822 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
823 #
824 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
825 # is not enabled:
826 #
827 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
828 # &quot;domain&quot;: &quot;googleapis.com&quot;
829 # &quot;metadata&quot;: {
830 # &quot;resource&quot;: &quot;projects/123&quot;,
831 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
832 # }
833 # }
834 #
835 # This response indicates that the pubsub.googleapis.com API is not enabled.
836 #
837 # Example of an error that is returned when attempting to create a Spanner
838 # instance in a region that is out of stock:
839 #
840 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
841 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
842 # &quot;metadata&quot;: {
843 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
844 # }
845 # }
846 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
847 # is typically the registered service name of the tool or product that
848 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
849 # generated by some common infrastructure, the error domain must be a
850 # globally unique value that identifies the infrastructure. For Google API
851 # infrastructure, the error domain is &quot;googleapis.com&quot;.
852 &quot;metadatas&quot;: { # Additional structured details about this error.
853 #
854 # Keys must match a regular expression of `a-z+` but should
855 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
856 # length. When identifying the current value of an exceeded limit, the units
857 # should be contained in the key, not the value. For example, rather than
858 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
859 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
860 # instances that can be created in a single (batch) request.
861 &quot;a_key&quot;: &quot;A String&quot;,
862 },
863 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
864 # proximate cause of the error. Error reasons are unique within a particular
865 # domain of errors. This should be at most 63 characters and match a
866 # regular expression of `A-Z+[A-Z0-9]`, which represents
867 # UPPER_SNAKE_CASE.
868 },
869 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
870 #
871 # For example, if a quota check failed with an error indicating the calling
872 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
873 # directly to the right place in the developer console to flip the bit.
874 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
875 { # Describes a URL link.
876 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
877 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
878 },
879 ],
880 },
881 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
882 # which can be attached to an RPC error.
883 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
884 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
885 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
886 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
887 },
888 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
889 &quot;dimensions&quot;: { # The map holding related quota dimensions.
890 &quot;a_key&quot;: &quot;A String&quot;,
891 },
892 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
893 # type or metric.
894 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
895 # or metric.
896 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
897 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
898 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
899 },
900 },
901 ],
902 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
903 # This property is optional.
904 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
905 },
906 ],
907 },
908 &quot;getVersionOperationMetadata&quot;: {
909 &quot;inlineSbomInfo&quot;: {
910 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
911 # appropriate identifiers.
912 &quot;a_key&quot;: &quot;A String&quot;,
913 },
914 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
915 # identifiers.
916 &quot;a_key&quot;: &quot;A String&quot;,
917 },
918 },
919 },
920 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
921 # message that was returned, such as `NOT FOUND`.
922 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
923 # status code that was returned. For example, a `404` means the
924 # resource was not found.
925 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
926 # defined by the server.
927 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
928 # This value is inRFC3339
929 # text format.
930 &quot;instancesBulkInsertOperationMetadata&quot;: {
931 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
932 # Example key: zones/us-central1-a
933 &quot;a_key&quot;: {
934 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
935 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
936 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
937 # error.
938 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
939 # if the flow is rolling forward or rolling back.
940 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
941 },
942 },
943 },
944 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
945 # Operation resources.
946 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
947 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
948 # group of operations results from a `bulkInsert` API request.
949 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
950 # `update`, or `delete`, and so on.
951 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
952 # There is no requirement that this be linear or support any granularity of
953 # operations. This should not be used to guess when the operation will be
954 # complete. This number should monotonically increase as the operation
955 # progresses.
956 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
957 # applicable when performing regional operations.
958 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
959 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
960 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
961 # this field will contain information on all underlying zonal actions and
962 # their state.
963 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
964 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
965 # Example key: zones/us-central1-a
966 &quot;a_key&quot;: {
967 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # [Output Only] If state is `ABANDONED` or `FAILED`, this field is
968 # populated.
969 # different programming environments, including REST APIs and RPC APIs. It is
970 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
971 # three pieces of data: error code, error message, and error details.
972 #
973 # You can find out more about this error model and how to work with it in the
974 # [API Design Guide](https://cloud.google.com/apis/design/errors).
975 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
976 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
977 # message types for APIs to use.
978 {
979 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
980 },
981 ],
982 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
983 # user-facing error message should be localized and sent in the
984 # google.rpc.Status.details field, or localized by the client.
985 },
986 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
987 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
988 },
989 },
990 },
991 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
992 # This value is inRFC3339
993 # text format.
994 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
995 # following:
996 # `PENDING`, `RUNNING`, or `DONE`.
997 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
998 # operation.
999 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
1000 # of the target resource.
1001 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
1002 # operations related to creating a snapshot, this points to the disk
1003 # that the snapshot was created from.
1004 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
1005 # `[email protected]` or
1006 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
1007 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
1008 # operation, this field will be populated.
1009 {
1010 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1011 # Engine returns NO_RESULTS_ON_PAGE if there
1012 # are no results in the response.
1013 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1014 # value format. For example:
1015 #
1016 # &quot;data&quot;: [
1017 # {
1018 # &quot;key&quot;: &quot;scope&quot;,
1019 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1020 # }
1021 {
1022 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1023 # returned. For example, for warnings where there are no results in a list
1024 # request for a particular zone, this key might be scope and
1025 # the key value might be the zone name. Other examples might be a key
1026 # indicating a deprecated resource and a suggested replacement, or a
1027 # warning about invalid network settings (for example, if an instance
1028 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1029 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1030 },
1031 ],
1032 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1033 },
1034 ],
1035 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
1036 # applicable when performing per-zone operations.
1037 }</pre>
1038 </div>
1039
1040 <div class="method">
1041 <code class="details" id="list">list(project, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
1042 <pre>Retrieves the list of TargetTcpProxy resources
1043 available to the specified project.
1044
1045 Args:
1046 project: string, Project ID for this request. (required)
1047 filter: string, A filter expression that filters resources listed in the response. Most
1048 Compute resources support two types of filter expressions:
1049 expressions that support regular expressions and expressions that follow
1050 API improvement proposal AIP-160.
1051 These two types of filter expressions cannot be mixed in one request.
1052
1053 If you want to use AIP-160, your expression must specify the field name, an
1054 operator, and the value that you want to use for filtering. The value
1055 must be a string, a number, or a boolean. The operator
1056 must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`.
1057
1058 For example, if you are filtering Compute Engine instances, you can
1059 exclude instances named `example-instance` by specifying
1060 `name != example-instance`.
1061
1062 The `:*` comparison can be used to test whether a key has been defined.
1063 For example, to find all objects with `owner` label use:
1064 ```
1065 labels.owner:*
1066 ```
1067
1068 You can also filter nested fields. For example, you could specify
1069 `scheduling.automaticRestart = false` to include instances only
1070 if they are not scheduled for automatic restarts. You can use filtering
1071 on nested fields to filter based onresource labels.
1072
1073 To filter on multiple expressions, provide each separate expression within
1074 parentheses. For example:
1075 ```
1076 (scheduling.automaticRestart = true)
1077 (cpuPlatform = &quot;Intel Skylake&quot;)
1078 ```
1079 By default, each expression is an `AND` expression. However, you
1080 can include `AND` and `OR` expressions explicitly.
1081 For example:
1082 ```
1083 (cpuPlatform = &quot;Intel Skylake&quot;) OR
1084 (cpuPlatform = &quot;Intel Broadwell&quot;) AND
1085 (scheduling.automaticRestart = true)
1086 ```
1087
1088 If you want to use a regular expression, use the `eq` (equal) or `ne`
1089 (not equal) operator against a single un-parenthesized expression with or
1090 without quotes or against multiple parenthesized expressions. Examples:
1091
1092 `fieldname eq unquoted literal`
1093 `fieldname eq &#x27;single quoted literal&#x27;`
1094 `fieldname eq &quot;double quoted literal&quot;`
1095 `(fieldname1 eq literal) (fieldname2 ne &quot;literal&quot;)`
1096
1097 The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
1098 The literal value must match the entire field.
1099
1100 For example, to filter for instances that do not end with name &quot;instance&quot;,
1101 you would use `name ne .*instance`.
1102
1103 You cannot combine constraints on multiple fields using regular
1104 expressions.
1105 maxResults: integer, The maximum number of results per page that should be returned.
1106 If the number of available results is larger than `maxResults`,
1107 Compute Engine returns a `nextPageToken` that can be used to get
1108 the next page of results in subsequent list requests. Acceptable values are
1109 `0` to `500`, inclusive. (Default: `500`)
1110 orderBy: string, Sorts list results by a certain order. By default, results
1111 are returned in alphanumerical order based on the resource name.
1112
1113 You can also sort results in descending order based on the creation
1114 timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts
1115 results based on the `creationTimestamp` field in
1116 reverse chronological order (newest result first). Use this to sort
1117 resources like operations so that the newest operation is returned first.
1118
1119 Currently, only sorting by `name` or
1120 `creationTimestamp desc` is supported.
1121 pageToken: string, Specifies a page token to use. Set `pageToken` to the
1122 `nextPageToken` returned by a previous list request to get
1123 the next page of results.
1124 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case
1125 of failure. The default value is false.
1126
1127 For example, when partial success behavior is enabled, aggregatedList for a
1128 single zone scope either returns all resources in the zone or no resources,
1129 with an error code.
1130 x__xgafv: string, V1 error format.
1131 Allowed values
1132 1 - v1 error format
1133 2 - v2 error format
1134
1135 Returns:
1136 An object of the form:
1137
1138 { # Contains a list of TargetTcpProxy resources.
1139 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
1140 &quot;items&quot;: [ # A list of TargetTcpProxy resources.
1141 { # Represents a Target TCP Proxy resource.
1142 #
1143 # A target TCP proxy is a component of a Proxy Network Load Balancer.
1144 # The forwarding rule references the target TCP proxy, and the target proxy
1145 # then references a backend service. For more information, readProxy Network
1146 # Load Balancer overview.
1147 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
1148 # text format.
1149 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
1150 # create the resource.
1151 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is
1152 # defined by the server.
1153 &quot;kind&quot;: &quot;compute#targetTcpProxy&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#targetTcpProxy for target TCP proxies.
1154 &quot;loadBalancingScheme&quot;: &quot;A String&quot;, # Specifies the type of load balancing scheme used by this target proxy.
1155 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
1156 # The name must be 1-63 characters long, and comply withRFC1035.
1157 # Specifically, the name must be 1-63 characters long and match the regular
1158 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
1159 # character must be a lowercase letter, and all following characters must
1160 # be a dash, lowercase letter, or digit, except the last character, which
1161 # cannot be a dash.
1162 &quot;proxyBind&quot;: True or False, # This field only applies when the forwarding rule that references this
1163 # target proxy has a loadBalancingScheme set toINTERNAL_SELF_MANAGED.
1164 #
1165 # When this field is set to true, Envoy proxies set up inbound
1166 # traffic interception and bind to the IP address and port specified in the
1167 # forwarding rule. This is generally useful when using Traffic Director to
1168 # configure Envoy as a gateway or middle proxy (in other words, not a
1169 # sidecar proxy). The Envoy proxy listens for inbound requests and handles
1170 # requests when it receives them.
1171 #
1172 # The default is false.
1173 &quot;proxyHeader&quot;: &quot;A String&quot;, # Specifies the type of proxy header to append before sending data to the
1174 # backend, either NONE or PROXY_V1. The default
1175 # is NONE.
1176 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the regional TCP proxy resides.
1177 # This field is not applicable to global TCP proxy.
1178 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
1179 &quot;service&quot;: &quot;A String&quot;, # URL to the BackendService resource.
1180 },
1181 ],
1182 &quot;kind&quot;: &quot;compute#targetTcpProxyList&quot;, # Output only. Type of resource.
1183 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for
1184 # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
1185 # the query parameter pageToken in the next list request.
1186 # Subsequent list requests will have their own nextPageToken to
1187 # continue paging through the results.
1188 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource.
1189 &quot;warning&quot;: { # [Output Only] Informational warning message.
1190 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1191 # Engine returns NO_RESULTS_ON_PAGE if there
1192 # are no results in the response.
1193 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1194 # value format. For example:
1195 #
1196 # &quot;data&quot;: [
1197 # {
1198 # &quot;key&quot;: &quot;scope&quot;,
1199 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1200 # }
1201 {
1202 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1203 # returned. For example, for warnings where there are no results in a list
1204 # request for a particular zone, this key might be scope and
1205 # the key value might be the zone name. Other examples might be a key
1206 # indicating a deprecated resource and a suggested replacement, or a
1207 # warning about invalid network settings (for example, if an instance
1208 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1209 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1210 },
1211 ],
1212 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1213 },
1214 }</pre>
1215 </div>
1216
1217 <div class="method">
1218 <code class="details" id="list_next">list_next()</code>
1219 <pre>Retrieves the next page of results.
1220
1221 Args:
1222 previous_request: The request for the previous page. (required)
1223 previous_response: The response from the request for the previous page. (required)
1224
1225 Returns:
1226 A request object that you can call &#x27;execute()&#x27; on to request the next
1227 page. Returns None if there are no more items in the collection.
1228 </pre>
1229 </div>
1230
1231 <div class="method">
1232 <code class="details" id="setBackendService">setBackendService(project, targetTcpProxy, body=None, requestId=None, x__xgafv=None)</code>
1233 <pre>Changes the BackendService for TargetTcpProxy.
1234
1235 Args:
1236 project: string, Project ID for this request. (required)
1237 targetTcpProxy: string, Name of the TargetTcpProxy resource whose BackendService resource
1238 is to be set. (required)
1239 body: object, The request body.
1240 The object takes the form of:
1241
1242 {
1243 &quot;service&quot;: &quot;A String&quot;, # The URL of the new BackendService resource for the targetTcpProxy.
1244 }
1245
1246 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
1247 that if you must retry your request, the server will know to ignore the
1248 request if it has already been completed.
1249
1250 For example, consider a situation where you make an initial request and
1251 the request times out. If you make the request again with the same
1252 request ID, the server can check if original operation with the same
1253 request ID was received, and if so, will ignore the second request. This
1254 prevents clients from accidentally creating duplicate commitments.
1255
1256 The request ID must be
1257 a valid UUID with the exception that zero UUID is not supported
1258 (00000000-0000-0000-0000-000000000000).
1259 x__xgafv: string, V1 error format.
1260 Allowed values
1261 1 - v1 error format
1262 2 - v2 error format
1263
1264 Returns:
1265 An object of the form:
1266
1267 { # Represents an Operation resource.
1268 #
1269 # Google Compute Engine has three Operation resources:
1270 #
1271 # * [Global](/compute/docs/reference/rest/alpha/globalOperations)
1272 # * [Regional](/compute/docs/reference/rest/alpha/regionOperations)
1273 # * [Zonal](/compute/docs/reference/rest/alpha/zoneOperations)
1274 #
1275 # You can use an operation resource to manage asynchronous API requests.
1276 # For more information, readHandling
1277 # API responses.
1278 #
1279 # Operations can be global, regional or zonal.
1280 #
1281 # - For global operations, use the `globalOperations`
1282 # resource.
1283 # - For regional operations, use the
1284 # `regionOperations` resource.
1285 # - For zonal operations, use
1286 # the `zoneOperations` resource.
1287 #
1288 #
1289 #
1290 # For more information, read
1291 # Global, Regional, and Zonal Resources.
1292 #
1293 # Note that completed Operation resources have a limited
1294 # retention period.
1295 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
1296 # Not present otherwise.
1297 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
1298 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
1299 # set when the operation is created.
1300 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
1301 # text format.
1302 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
1303 # this field will be populated.
1304 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
1305 # operation.
1306 {
1307 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
1308 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
1309 # details. There is a set of defined message types to use for providing
1310 # details.The syntax depends on the error code. For example,
1311 # QuotaExceededInfo will have details when the error code is
1312 # QUOTA_EXCEEDED.
1313 {
1314 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
1315 #
1316 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
1317 # is not enabled:
1318 #
1319 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
1320 # &quot;domain&quot;: &quot;googleapis.com&quot;
1321 # &quot;metadata&quot;: {
1322 # &quot;resource&quot;: &quot;projects/123&quot;,
1323 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
1324 # }
1325 # }
1326 #
1327 # This response indicates that the pubsub.googleapis.com API is not enabled.
1328 #
1329 # Example of an error that is returned when attempting to create a Spanner
1330 # instance in a region that is out of stock:
1331 #
1332 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
1333 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
1334 # &quot;metadata&quot;: {
1335 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
1336 # }
1337 # }
1338 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
1339 # is typically the registered service name of the tool or product that
1340 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
1341 # generated by some common infrastructure, the error domain must be a
1342 # globally unique value that identifies the infrastructure. For Google API
1343 # infrastructure, the error domain is &quot;googleapis.com&quot;.
1344 &quot;metadatas&quot;: { # Additional structured details about this error.
1345 #
1346 # Keys must match a regular expression of `a-z+` but should
1347 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
1348 # length. When identifying the current value of an exceeded limit, the units
1349 # should be contained in the key, not the value. For example, rather than
1350 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
1351 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
1352 # instances that can be created in a single (batch) request.
1353 &quot;a_key&quot;: &quot;A String&quot;,
1354 },
1355 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
1356 # proximate cause of the error. Error reasons are unique within a particular
1357 # domain of errors. This should be at most 63 characters and match a
1358 # regular expression of `A-Z+[A-Z0-9]`, which represents
1359 # UPPER_SNAKE_CASE.
1360 },
1361 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
1362 #
1363 # For example, if a quota check failed with an error indicating the calling
1364 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
1365 # directly to the right place in the developer console to flip the bit.
1366 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
1367 { # Describes a URL link.
1368 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
1369 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
1370 },
1371 ],
1372 },
1373 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
1374 # which can be attached to an RPC error.
1375 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
1376 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
1377 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
1378 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
1379 },
1380 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
1381 &quot;dimensions&quot;: { # The map holding related quota dimensions.
1382 &quot;a_key&quot;: &quot;A String&quot;,
1383 },
1384 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
1385 # type or metric.
1386 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
1387 # or metric.
1388 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
1389 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
1390 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
1391 },
1392 },
1393 ],
1394 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
1395 # This property is optional.
1396 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
1397 },
1398 ],
1399 },
1400 &quot;getVersionOperationMetadata&quot;: {
1401 &quot;inlineSbomInfo&quot;: {
1402 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
1403 # appropriate identifiers.
1404 &quot;a_key&quot;: &quot;A String&quot;,
1405 },
1406 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
1407 # identifiers.
1408 &quot;a_key&quot;: &quot;A String&quot;,
1409 },
1410 },
1411 },
1412 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
1413 # message that was returned, such as `NOT FOUND`.
1414 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
1415 # status code that was returned. For example, a `404` means the
1416 # resource was not found.
1417 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
1418 # defined by the server.
1419 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
1420 # This value is inRFC3339
1421 # text format.
1422 &quot;instancesBulkInsertOperationMetadata&quot;: {
1423 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
1424 # Example key: zones/us-central1-a
1425 &quot;a_key&quot;: {
1426 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
1427 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
1428 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
1429 # error.
1430 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
1431 # if the flow is rolling forward or rolling back.
1432 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
1433 },
1434 },
1435 },
1436 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
1437 # Operation resources.
1438 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
1439 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
1440 # group of operations results from a `bulkInsert` API request.
1441 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
1442 # `update`, or `delete`, and so on.
1443 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
1444 # There is no requirement that this be linear or support any granularity of
1445 # operations. This should not be used to guess when the operation will be
1446 # complete. This number should monotonically increase as the operation
1447 # progresses.
1448 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
1449 # applicable when performing regional operations.
1450 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
1451 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
1452 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
1453 # this field will contain information on all underlying zonal actions and
1454 # their state.
1455 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
1456 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
1457 # Example key: zones/us-central1-a
1458 &quot;a_key&quot;: {
1459 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # [Output Only] If state is `ABANDONED` or `FAILED`, this field is
1460 # populated.
1461 # different programming environments, including REST APIs and RPC APIs. It is
1462 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1463 # three pieces of data: error code, error message, and error details.
1464 #
1465 # You can find out more about this error model and how to work with it in the
1466 # [API Design Guide](https://cloud.google.com/apis/design/errors).
1467 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1468 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
1469 # message types for APIs to use.
1470 {
1471 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1472 },
1473 ],
1474 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
1475 # user-facing error message should be localized and sent in the
1476 # google.rpc.Status.details field, or localized by the client.
1477 },
1478 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
1479 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
1480 },
1481 },
1482 },
1483 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
1484 # This value is inRFC3339
1485 # text format.
1486 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
1487 # following:
1488 # `PENDING`, `RUNNING`, or `DONE`.
1489 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
1490 # operation.
1491 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
1492 # of the target resource.
1493 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
1494 # operations related to creating a snapshot, this points to the disk
1495 # that the snapshot was created from.
1496 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
1497 # `[email protected]` or
1498 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
1499 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
1500 # operation, this field will be populated.
1501 {
1502 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1503 # Engine returns NO_RESULTS_ON_PAGE if there
1504 # are no results in the response.
1505 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1506 # value format. For example:
1507 #
1508 # &quot;data&quot;: [
1509 # {
1510 # &quot;key&quot;: &quot;scope&quot;,
1511 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1512 # }
1513 {
1514 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1515 # returned. For example, for warnings where there are no results in a list
1516 # request for a particular zone, this key might be scope and
1517 # the key value might be the zone name. Other examples might be a key
1518 # indicating a deprecated resource and a suggested replacement, or a
1519 # warning about invalid network settings (for example, if an instance
1520 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1521 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1522 },
1523 ],
1524 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1525 },
1526 ],
1527 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
1528 # applicable when performing per-zone operations.
1529 }</pre>
1530 </div>
1531
1532 <div class="method">
1533 <code class="details" id="setProxyHeader">setProxyHeader(project, targetTcpProxy, body=None, requestId=None, x__xgafv=None)</code>
1534 <pre>Changes the ProxyHeaderType for TargetTcpProxy.
1535
1536 Args:
1537 project: string, Project ID for this request. (required)
1538 targetTcpProxy: string, Name of the TargetTcpProxy resource whose ProxyHeader is to be set. (required)
1539 body: object, The request body.
1540 The object takes the form of:
1541
1542 {
1543 &quot;proxyHeader&quot;: &quot;A String&quot;, # The new type of proxy header to append before sending data to the
1544 # backend. NONE or PROXY_V1 are allowed.
1545 }
1546
1547 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
1548 that if you must retry your request, the server will know to ignore the
1549 request if it has already been completed.
1550
1551 For example, consider a situation where you make an initial request and
1552 the request times out. If you make the request again with the same
1553 request ID, the server can check if original operation with the same
1554 request ID was received, and if so, will ignore the second request. This
1555 prevents clients from accidentally creating duplicate commitments.
1556
1557 The request ID must be
1558 a valid UUID with the exception that zero UUID is not supported
1559 (00000000-0000-0000-0000-000000000000).
1560 x__xgafv: string, V1 error format.
1561 Allowed values
1562 1 - v1 error format
1563 2 - v2 error format
1564
1565 Returns:
1566 An object of the form:
1567
1568 { # Represents an Operation resource.
1569 #
1570 # Google Compute Engine has three Operation resources:
1571 #
1572 # * [Global](/compute/docs/reference/rest/alpha/globalOperations)
1573 # * [Regional](/compute/docs/reference/rest/alpha/regionOperations)
1574 # * [Zonal](/compute/docs/reference/rest/alpha/zoneOperations)
1575 #
1576 # You can use an operation resource to manage asynchronous API requests.
1577 # For more information, readHandling
1578 # API responses.
1579 #
1580 # Operations can be global, regional or zonal.
1581 #
1582 # - For global operations, use the `globalOperations`
1583 # resource.
1584 # - For regional operations, use the
1585 # `regionOperations` resource.
1586 # - For zonal operations, use
1587 # the `zoneOperations` resource.
1588 #
1589 #
1590 #
1591 # For more information, read
1592 # Global, Regional, and Zonal Resources.
1593 #
1594 # Note that completed Operation resources have a limited
1595 # retention period.
1596 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
1597 # Not present otherwise.
1598 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
1599 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
1600 # set when the operation is created.
1601 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
1602 # text format.
1603 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
1604 # this field will be populated.
1605 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
1606 # operation.
1607 {
1608 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
1609 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
1610 # details. There is a set of defined message types to use for providing
1611 # details.The syntax depends on the error code. For example,
1612 # QuotaExceededInfo will have details when the error code is
1613 # QUOTA_EXCEEDED.
1614 {
1615 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
1616 #
1617 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
1618 # is not enabled:
1619 #
1620 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
1621 # &quot;domain&quot;: &quot;googleapis.com&quot;
1622 # &quot;metadata&quot;: {
1623 # &quot;resource&quot;: &quot;projects/123&quot;,
1624 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
1625 # }
1626 # }
1627 #
1628 # This response indicates that the pubsub.googleapis.com API is not enabled.
1629 #
1630 # Example of an error that is returned when attempting to create a Spanner
1631 # instance in a region that is out of stock:
1632 #
1633 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
1634 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
1635 # &quot;metadata&quot;: {
1636 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
1637 # }
1638 # }
1639 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
1640 # is typically the registered service name of the tool or product that
1641 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
1642 # generated by some common infrastructure, the error domain must be a
1643 # globally unique value that identifies the infrastructure. For Google API
1644 # infrastructure, the error domain is &quot;googleapis.com&quot;.
1645 &quot;metadatas&quot;: { # Additional structured details about this error.
1646 #
1647 # Keys must match a regular expression of `a-z+` but should
1648 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
1649 # length. When identifying the current value of an exceeded limit, the units
1650 # should be contained in the key, not the value. For example, rather than
1651 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
1652 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
1653 # instances that can be created in a single (batch) request.
1654 &quot;a_key&quot;: &quot;A String&quot;,
1655 },
1656 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
1657 # proximate cause of the error. Error reasons are unique within a particular
1658 # domain of errors. This should be at most 63 characters and match a
1659 # regular expression of `A-Z+[A-Z0-9]`, which represents
1660 # UPPER_SNAKE_CASE.
1661 },
1662 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
1663 #
1664 # For example, if a quota check failed with an error indicating the calling
1665 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
1666 # directly to the right place in the developer console to flip the bit.
1667 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
1668 { # Describes a URL link.
1669 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
1670 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
1671 },
1672 ],
1673 },
1674 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
1675 # which can be attached to an RPC error.
1676 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
1677 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
1678 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
1679 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
1680 },
1681 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
1682 &quot;dimensions&quot;: { # The map holding related quota dimensions.
1683 &quot;a_key&quot;: &quot;A String&quot;,
1684 },
1685 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
1686 # type or metric.
1687 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
1688 # or metric.
1689 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
1690 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
1691 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
1692 },
1693 },
1694 ],
1695 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
1696 # This property is optional.
1697 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
1698 },
1699 ],
1700 },
1701 &quot;getVersionOperationMetadata&quot;: {
1702 &quot;inlineSbomInfo&quot;: {
1703 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
1704 # appropriate identifiers.
1705 &quot;a_key&quot;: &quot;A String&quot;,
1706 },
1707 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
1708 # identifiers.
1709 &quot;a_key&quot;: &quot;A String&quot;,
1710 },
1711 },
1712 },
1713 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
1714 # message that was returned, such as `NOT FOUND`.
1715 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
1716 # status code that was returned. For example, a `404` means the
1717 # resource was not found.
1718 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
1719 # defined by the server.
1720 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
1721 # This value is inRFC3339
1722 # text format.
1723 &quot;instancesBulkInsertOperationMetadata&quot;: {
1724 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
1725 # Example key: zones/us-central1-a
1726 &quot;a_key&quot;: {
1727 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
1728 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
1729 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
1730 # error.
1731 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
1732 # if the flow is rolling forward or rolling back.
1733 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
1734 },
1735 },
1736 },
1737 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
1738 # Operation resources.
1739 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
1740 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
1741 # group of operations results from a `bulkInsert` API request.
1742 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
1743 # `update`, or `delete`, and so on.
1744 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
1745 # There is no requirement that this be linear or support any granularity of
1746 # operations. This should not be used to guess when the operation will be
1747 # complete. This number should monotonically increase as the operation
1748 # progresses.
1749 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
1750 # applicable when performing regional operations.
1751 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
1752 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
1753 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
1754 # this field will contain information on all underlying zonal actions and
1755 # their state.
1756 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
1757 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
1758 # Example key: zones/us-central1-a
1759 &quot;a_key&quot;: {
1760 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # [Output Only] If state is `ABANDONED` or `FAILED`, this field is
1761 # populated.
1762 # different programming environments, including REST APIs and RPC APIs. It is
1763 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1764 # three pieces of data: error code, error message, and error details.
1765 #
1766 # You can find out more about this error model and how to work with it in the
1767 # [API Design Guide](https://cloud.google.com/apis/design/errors).
1768 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1769 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
1770 # message types for APIs to use.
1771 {
1772 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1773 },
1774 ],
1775 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
1776 # user-facing error message should be localized and sent in the
1777 # google.rpc.Status.details field, or localized by the client.
1778 },
1779 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
1780 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
1781 },
1782 },
1783 },
1784 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
1785 # This value is inRFC3339
1786 # text format.
1787 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
1788 # following:
1789 # `PENDING`, `RUNNING`, or `DONE`.
1790 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
1791 # operation.
1792 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
1793 # of the target resource.
1794 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
1795 # operations related to creating a snapshot, this points to the disk
1796 # that the snapshot was created from.
1797 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
1798 # `[email protected]` or
1799 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
1800 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
1801 # operation, this field will be populated.
1802 {
1803 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1804 # Engine returns NO_RESULTS_ON_PAGE if there
1805 # are no results in the response.
1806 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1807 # value format. For example:
1808 #
1809 # &quot;data&quot;: [
1810 # {
1811 # &quot;key&quot;: &quot;scope&quot;,
1812 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1813 # }
1814 {
1815 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1816 # returned. For example, for warnings where there are no results in a list
1817 # request for a particular zone, this key might be scope and
1818 # the key value might be the zone name. Other examples might be a key
1819 # indicating a deprecated resource and a suggested replacement, or a
1820 # warning about invalid network settings (for example, if an instance
1821 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1822 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1823 },
1824 ],
1825 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1826 },
1827 ],
1828 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
1829 # applicable when performing per-zone operations.
1830 }</pre>
1831 </div>
1832
1833 <div class="method">
1834 <code class="details" id="testIamPermissions">testIamPermissions(project, resource, body=None, x__xgafv=None)</code>
1835 <pre>Returns permissions that a caller has on the specified resource.
1836
1837 Args:
1838 project: string, Project ID for this request. (required)
1839 resource: string, Name or id of the resource for this request. (required)
1840 body: object, The request body.
1841 The object takes the form of:
1842
1843 {
1844 &quot;permissions&quot;: [ # The set of permissions to check for the &#x27;resource&#x27;. Permissions with
1845 # wildcards (such as &#x27;*&#x27; or &#x27;storage.*&#x27;) are not allowed.
1846 &quot;A String&quot;,
1847 ],
1848 }
1849
1850 x__xgafv: string, V1 error format.
1851 Allowed values
1852 1 - v1 error format
1853 2 - v2 error format
1854
1855 Returns:
1856 An object of the form:
1857
1858 {
1859 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is
1860 # allowed.
1861 &quot;A String&quot;,
1862 ],
1863 }</pre>
1864 </div>
1865
1866 </body></html>