Debian Codegraph @

docs/dyn/compute_beta.regionTargetTcpProxies.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_beta.html">Compute Engine API</a> . <a href="compute_beta.regionTargetTcpProxies.html">regionTargetTcpProxies</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#delete">delete(project, region, targetTcpProxy, requestId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Deletes the specified TargetTcpProxy resource.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(project, region, targetTcpProxy, x__xgafv=None)</a></code></p>
85 <p class="firstline">Returns the specified TargetTcpProxy resource.</p>
86 <p class="toc_element">
87 <code><a href="#insert">insert(project, region, body=None, requestId=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Creates a TargetTcpProxy resource in the specified project and region using</p>
89 <p class="toc_element">
90 <code><a href="#list">list(project, region, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Retrieves a list of TargetTcpProxy resources</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#testIamPermissions">testIamPermissions(project, region, resource, body=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Returns permissions that a caller has on the specified resource.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="delete">delete(project, region, targetTcpProxy, requestId=None, x__xgafv=None)</code>
106 <pre>Deletes the specified TargetTcpProxy resource.
107
108 Args:
109 project: string, Project ID for this request. (required)
110 region: string, Name of the region scoping this request. (required)
111 targetTcpProxy: string, Name of the TargetTcpProxy resource to delete. (required)
112 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
113 that if you must retry your request, the server will know to ignore the
114 request if it has already been completed.
115
116 For example, consider a situation where you make an initial request and
117 the request times out. If you make the request again with the same
118 request ID, the server can check if original operation with the same
119 request ID was received, and if so, will ignore the second request. This
120 prevents clients from accidentally creating duplicate commitments.
121
122 The request ID must be
123 a valid UUID with the exception that zero UUID is not supported
124 (00000000-0000-0000-0000-000000000000).
125 x__xgafv: string, V1 error format.
126 Allowed values
127 1 - v1 error format
128 2 - v2 error format
129
130 Returns:
131 An object of the form:
132
133 { # Represents an Operation resource.
134 #
135 # Google Compute Engine has three Operation resources:
136 #
137 # * [Global](/compute/docs/reference/rest/beta/globalOperations)
138 # * [Regional](/compute/docs/reference/rest/beta/regionOperations)
139 # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations)
140 #
141 # You can use an operation resource to manage asynchronous API requests.
142 # For more information, readHandling
143 # API responses.
144 #
145 # Operations can be global, regional or zonal.
146 #
147 # - For global operations, use the `globalOperations`
148 # resource.
149 # - For regional operations, use the
150 # `regionOperations` resource.
151 # - For zonal operations, use
152 # the `zoneOperations` resource.
153 #
154 #
155 #
156 # For more information, read
157 # Global, Regional, and Zonal Resources.
158 #
159 # Note that completed Operation resources have a limited
160 # retention period.
161 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
162 # Not present otherwise.
163 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
164 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
165 # set when the operation is created.
166 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
167 # text format.
168 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
169 # this field will be populated.
170 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
171 # operation.
172 {
173 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
174 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
175 # details. There is a set of defined message types to use for providing
176 # details.The syntax depends on the error code. For example,
177 # QuotaExceededInfo will have details when the error code is
178 # QUOTA_EXCEEDED.
179 {
180 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
181 #
182 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
183 # is not enabled:
184 #
185 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
186 # &quot;domain&quot;: &quot;googleapis.com&quot;
187 # &quot;metadata&quot;: {
188 # &quot;resource&quot;: &quot;projects/123&quot;,
189 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
190 # }
191 # }
192 #
193 # This response indicates that the pubsub.googleapis.com API is not enabled.
194 #
195 # Example of an error that is returned when attempting to create a Spanner
196 # instance in a region that is out of stock:
197 #
198 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
199 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
200 # &quot;metadata&quot;: {
201 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
202 # }
203 # }
204 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
205 # is typically the registered service name of the tool or product that
206 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
207 # generated by some common infrastructure, the error domain must be a
208 # globally unique value that identifies the infrastructure. For Google API
209 # infrastructure, the error domain is &quot;googleapis.com&quot;.
210 &quot;metadatas&quot;: { # Additional structured details about this error.
211 #
212 # Keys must match a regular expression of `a-z+` but should
213 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
214 # length. When identifying the current value of an exceeded limit, the units
215 # should be contained in the key, not the value. For example, rather than
216 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
217 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
218 # instances that can be created in a single (batch) request.
219 &quot;a_key&quot;: &quot;A String&quot;,
220 },
221 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
222 # proximate cause of the error. Error reasons are unique within a particular
223 # domain of errors. This should be at most 63 characters and match a
224 # regular expression of `A-Z+[A-Z0-9]`, which represents
225 # UPPER_SNAKE_CASE.
226 },
227 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
228 #
229 # For example, if a quota check failed with an error indicating the calling
230 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
231 # directly to the right place in the developer console to flip the bit.
232 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
233 { # Describes a URL link.
234 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
235 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
236 },
237 ],
238 },
239 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
240 # which can be attached to an RPC error.
241 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
242 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
243 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
244 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
245 },
246 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
247 &quot;dimensions&quot;: { # The map holding related quota dimensions.
248 &quot;a_key&quot;: &quot;A String&quot;,
249 },
250 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
251 # type or metric.
252 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
253 # or metric.
254 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
255 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
256 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
257 },
258 },
259 ],
260 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
261 # This property is optional.
262 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
263 },
264 ],
265 },
266 &quot;getVersionOperationMetadata&quot;: {
267 &quot;inlineSbomInfo&quot;: {
268 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
269 # appropriate identifiers.
270 &quot;a_key&quot;: &quot;A String&quot;,
271 },
272 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
273 # identifiers.
274 &quot;a_key&quot;: &quot;A String&quot;,
275 },
276 },
277 },
278 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
279 # message that was returned, such as `NOT FOUND`.
280 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
281 # status code that was returned. For example, a `404` means the
282 # resource was not found.
283 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
284 # defined by the server.
285 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
286 # This value is inRFC3339
287 # text format.
288 &quot;instancesBulkInsertOperationMetadata&quot;: {
289 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
290 # Example key: zones/us-central1-a
291 &quot;a_key&quot;: {
292 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
293 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
294 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
295 # error.
296 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
297 # if the flow is rolling forward or rolling back.
298 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
299 },
300 },
301 },
302 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
303 # Operation resources.
304 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
305 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
306 # group of operations results from a `bulkInsert` API request.
307 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
308 # `update`, or `delete`, and so on.
309 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
310 # There is no requirement that this be linear or support any granularity of
311 # operations. This should not be used to guess when the operation will be
312 # complete. This number should monotonically increase as the operation
313 # progresses.
314 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
315 # applicable when performing regional operations.
316 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
317 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
318 # this field will contain information on all underlying zonal actions and
319 # their state.
320 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
321 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
322 # Example key: zones/us-central1-a
323 &quot;a_key&quot;: {
324 &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
325 # populated.
326 # different programming environments, including REST APIs and RPC APIs. It is
327 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
328 # three pieces of data: error code, error message, and error details.
329 #
330 # You can find out more about this error model and how to work with it in the
331 # [API Design Guide](https://cloud.google.com/apis/design/errors).
332 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
333 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
334 # message types for APIs to use.
335 {
336 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
337 },
338 ],
339 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
340 # user-facing error message should be localized and sent in the
341 # google.rpc.Status.details field, or localized by the client.
342 },
343 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
344 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
345 },
346 },
347 },
348 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
349 # This value is inRFC3339
350 # text format.
351 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
352 # following:
353 # `PENDING`, `RUNNING`, or `DONE`.
354 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
355 # operation.
356 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
357 # of the target resource.
358 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
359 # operations related to creating a snapshot, this points to the disk
360 # that the snapshot was created from.
361 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
362 # `[email protected]` or
363 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
364 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
365 # operation, this field will be populated.
366 {
367 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
368 # Engine returns NO_RESULTS_ON_PAGE if there
369 # are no results in the response.
370 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
371 # value format. For example:
372 #
373 # &quot;data&quot;: [
374 # {
375 # &quot;key&quot;: &quot;scope&quot;,
376 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
377 # }
378 {
379 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
380 # returned. For example, for warnings where there are no results in a list
381 # request for a particular zone, this key might be scope and
382 # the key value might be the zone name. Other examples might be a key
383 # indicating a deprecated resource and a suggested replacement, or a
384 # warning about invalid network settings (for example, if an instance
385 # attempts to perform IP forwarding but is not enabled for IP forwarding).
386 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
387 },
388 ],
389 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
390 },
391 ],
392 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
393 # applicable when performing per-zone operations.
394 }</pre>
395 </div>
396
397 <div class="method">
398 <code class="details" id="get">get(project, region, targetTcpProxy, x__xgafv=None)</code>
399 <pre>Returns the specified TargetTcpProxy resource.
400
401 Args:
402 project: string, Project ID for this request. (required)
403 region: string, Name of the region scoping this request. (required)
404 targetTcpProxy: string, Name of the TargetTcpProxy resource to return. (required)
405 x__xgafv: string, V1 error format.
406 Allowed values
407 1 - v1 error format
408 2 - v2 error format
409
410 Returns:
411 An object of the form:
412
413 { # Represents a Target TCP Proxy resource.
414 #
415 # A target TCP proxy is a component of a Proxy Network Load Balancer.
416 # The forwarding rule references the target TCP proxy, and the target proxy
417 # then references a backend service. For more information, readProxy Network
418 # Load Balancer overview.
419 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
420 # text format.
421 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
422 # create the resource.
423 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is
424 # defined by the server.
425 &quot;kind&quot;: &quot;compute#targetTcpProxy&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#targetTcpProxy for target TCP proxies.
426 &quot;loadBalancingScheme&quot;: &quot;A String&quot;, # Specifies the type of load balancing scheme used by this target proxy.
427 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
428 # The name must be 1-63 characters long, and comply withRFC1035.
429 # Specifically, the name must be 1-63 characters long and match the regular
430 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
431 # character must be a lowercase letter, and all following characters must
432 # be a dash, lowercase letter, or digit, except the last character, which
433 # cannot be a dash.
434 &quot;proxyBind&quot;: True or False, # This field only applies when the forwarding rule that references this
435 # target proxy has a loadBalancingScheme set toINTERNAL_SELF_MANAGED.
436 #
437 # When this field is set to true, Envoy proxies set up inbound
438 # traffic interception and bind to the IP address and port specified in the
439 # forwarding rule. This is generally useful when using Traffic Director to
440 # configure Envoy as a gateway or middle proxy (in other words, not a
441 # sidecar proxy). The Envoy proxy listens for inbound requests and handles
442 # requests when it receives them.
443 #
444 # The default is false.
445 &quot;proxyHeader&quot;: &quot;A String&quot;, # Specifies the type of proxy header to append before sending data to the
446 # backend, either NONE or PROXY_V1. The default
447 # is NONE.
448 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the regional TCP proxy resides.
449 # This field is not applicable to global TCP proxy.
450 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
451 &quot;service&quot;: &quot;A String&quot;, # URL to the BackendService resource.
452 }</pre>
453 </div>
454
455 <div class="method">
456 <code class="details" id="insert">insert(project, region, body=None, requestId=None, x__xgafv=None)</code>
457 <pre>Creates a TargetTcpProxy resource in the specified project and region using
458 the data included in the request.
459
460 Args:
461 project: string, Project ID for this request. (required)
462 region: string, Name of the region scoping this request. (required)
463 body: object, The request body.
464 The object takes the form of:
465
466 { # Represents a Target TCP Proxy resource.
467 #
468 # A target TCP proxy is a component of a Proxy Network Load Balancer.
469 # The forwarding rule references the target TCP proxy, and the target proxy
470 # then references a backend service. For more information, readProxy Network
471 # Load Balancer overview.
472 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
473 # text format.
474 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
475 # create the resource.
476 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is
477 # defined by the server.
478 &quot;kind&quot;: &quot;compute#targetTcpProxy&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#targetTcpProxy for target TCP proxies.
479 &quot;loadBalancingScheme&quot;: &quot;A String&quot;, # Specifies the type of load balancing scheme used by this target proxy.
480 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
481 # The name must be 1-63 characters long, and comply withRFC1035.
482 # Specifically, the name must be 1-63 characters long and match the regular
483 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
484 # character must be a lowercase letter, and all following characters must
485 # be a dash, lowercase letter, or digit, except the last character, which
486 # cannot be a dash.
487 &quot;proxyBind&quot;: True or False, # This field only applies when the forwarding rule that references this
488 # target proxy has a loadBalancingScheme set toINTERNAL_SELF_MANAGED.
489 #
490 # When this field is set to true, Envoy proxies set up inbound
491 # traffic interception and bind to the IP address and port specified in the
492 # forwarding rule. This is generally useful when using Traffic Director to
493 # configure Envoy as a gateway or middle proxy (in other words, not a
494 # sidecar proxy). The Envoy proxy listens for inbound requests and handles
495 # requests when it receives them.
496 #
497 # The default is false.
498 &quot;proxyHeader&quot;: &quot;A String&quot;, # Specifies the type of proxy header to append before sending data to the
499 # backend, either NONE or PROXY_V1. The default
500 # is NONE.
501 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the regional TCP proxy resides.
502 # This field is not applicable to global TCP proxy.
503 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
504 &quot;service&quot;: &quot;A String&quot;, # URL to the BackendService resource.
505 }
506
507 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
508 that if you must retry your request, the server will know to ignore the
509 request if it has already been completed.
510
511 For example, consider a situation where you make an initial request and
512 the request times out. If you make the request again with the same
513 request ID, the server can check if original operation with the same
514 request ID was received, and if so, will ignore the second request. This
515 prevents clients from accidentally creating duplicate commitments.
516
517 The request ID must be
518 a valid UUID with the exception that zero UUID is not supported
519 (00000000-0000-0000-0000-000000000000).
520 x__xgafv: string, V1 error format.
521 Allowed values
522 1 - v1 error format
523 2 - v2 error format
524
525 Returns:
526 An object of the form:
527
528 { # Represents an Operation resource.
529 #
530 # Google Compute Engine has three Operation resources:
531 #
532 # * [Global](/compute/docs/reference/rest/beta/globalOperations)
533 # * [Regional](/compute/docs/reference/rest/beta/regionOperations)
534 # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations)
535 #
536 # You can use an operation resource to manage asynchronous API requests.
537 # For more information, readHandling
538 # API responses.
539 #
540 # Operations can be global, regional or zonal.
541 #
542 # - For global operations, use the `globalOperations`
543 # resource.
544 # - For regional operations, use the
545 # `regionOperations` resource.
546 # - For zonal operations, use
547 # the `zoneOperations` resource.
548 #
549 #
550 #
551 # For more information, read
552 # Global, Regional, and Zonal Resources.
553 #
554 # Note that completed Operation resources have a limited
555 # retention period.
556 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
557 # Not present otherwise.
558 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
559 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
560 # set when the operation is created.
561 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
562 # text format.
563 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
564 # this field will be populated.
565 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
566 # operation.
567 {
568 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
569 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
570 # details. There is a set of defined message types to use for providing
571 # details.The syntax depends on the error code. For example,
572 # QuotaExceededInfo will have details when the error code is
573 # QUOTA_EXCEEDED.
574 {
575 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
576 #
577 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
578 # is not enabled:
579 #
580 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
581 # &quot;domain&quot;: &quot;googleapis.com&quot;
582 # &quot;metadata&quot;: {
583 # &quot;resource&quot;: &quot;projects/123&quot;,
584 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
585 # }
586 # }
587 #
588 # This response indicates that the pubsub.googleapis.com API is not enabled.
589 #
590 # Example of an error that is returned when attempting to create a Spanner
591 # instance in a region that is out of stock:
592 #
593 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
594 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
595 # &quot;metadata&quot;: {
596 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
597 # }
598 # }
599 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
600 # is typically the registered service name of the tool or product that
601 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
602 # generated by some common infrastructure, the error domain must be a
603 # globally unique value that identifies the infrastructure. For Google API
604 # infrastructure, the error domain is &quot;googleapis.com&quot;.
605 &quot;metadatas&quot;: { # Additional structured details about this error.
606 #
607 # Keys must match a regular expression of `a-z+` but should
608 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
609 # length. When identifying the current value of an exceeded limit, the units
610 # should be contained in the key, not the value. For example, rather than
611 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
612 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
613 # instances that can be created in a single (batch) request.
614 &quot;a_key&quot;: &quot;A String&quot;,
615 },
616 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
617 # proximate cause of the error. Error reasons are unique within a particular
618 # domain of errors. This should be at most 63 characters and match a
619 # regular expression of `A-Z+[A-Z0-9]`, which represents
620 # UPPER_SNAKE_CASE.
621 },
622 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
623 #
624 # For example, if a quota check failed with an error indicating the calling
625 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
626 # directly to the right place in the developer console to flip the bit.
627 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
628 { # Describes a URL link.
629 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
630 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
631 },
632 ],
633 },
634 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
635 # which can be attached to an RPC error.
636 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
637 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
638 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
639 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
640 },
641 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
642 &quot;dimensions&quot;: { # The map holding related quota dimensions.
643 &quot;a_key&quot;: &quot;A String&quot;,
644 },
645 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
646 # type or metric.
647 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
648 # or metric.
649 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
650 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
651 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
652 },
653 },
654 ],
655 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
656 # This property is optional.
657 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
658 },
659 ],
660 },
661 &quot;getVersionOperationMetadata&quot;: {
662 &quot;inlineSbomInfo&quot;: {
663 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
664 # appropriate identifiers.
665 &quot;a_key&quot;: &quot;A String&quot;,
666 },
667 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
668 # identifiers.
669 &quot;a_key&quot;: &quot;A String&quot;,
670 },
671 },
672 },
673 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
674 # message that was returned, such as `NOT FOUND`.
675 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
676 # status code that was returned. For example, a `404` means the
677 # resource was not found.
678 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
679 # defined by the server.
680 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
681 # This value is inRFC3339
682 # text format.
683 &quot;instancesBulkInsertOperationMetadata&quot;: {
684 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
685 # Example key: zones/us-central1-a
686 &quot;a_key&quot;: {
687 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
688 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
689 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
690 # error.
691 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
692 # if the flow is rolling forward or rolling back.
693 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
694 },
695 },
696 },
697 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
698 # Operation resources.
699 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
700 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
701 # group of operations results from a `bulkInsert` API request.
702 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
703 # `update`, or `delete`, and so on.
704 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
705 # There is no requirement that this be linear or support any granularity of
706 # operations. This should not be used to guess when the operation will be
707 # complete. This number should monotonically increase as the operation
708 # progresses.
709 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
710 # applicable when performing regional operations.
711 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
712 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
713 # this field will contain information on all underlying zonal actions and
714 # their state.
715 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
716 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
717 # Example key: zones/us-central1-a
718 &quot;a_key&quot;: {
719 &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
720 # populated.
721 # different programming environments, including REST APIs and RPC APIs. It is
722 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
723 # three pieces of data: error code, error message, and error details.
724 #
725 # You can find out more about this error model and how to work with it in the
726 # [API Design Guide](https://cloud.google.com/apis/design/errors).
727 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
728 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
729 # message types for APIs to use.
730 {
731 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
732 },
733 ],
734 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
735 # user-facing error message should be localized and sent in the
736 # google.rpc.Status.details field, or localized by the client.
737 },
738 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
739 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
740 },
741 },
742 },
743 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
744 # This value is inRFC3339
745 # text format.
746 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
747 # following:
748 # `PENDING`, `RUNNING`, or `DONE`.
749 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
750 # operation.
751 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
752 # of the target resource.
753 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
754 # operations related to creating a snapshot, this points to the disk
755 # that the snapshot was created from.
756 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
757 # `[email protected]` or
758 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
759 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
760 # operation, this field will be populated.
761 {
762 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
763 # Engine returns NO_RESULTS_ON_PAGE if there
764 # are no results in the response.
765 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
766 # value format. For example:
767 #
768 # &quot;data&quot;: [
769 # {
770 # &quot;key&quot;: &quot;scope&quot;,
771 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
772 # }
773 {
774 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
775 # returned. For example, for warnings where there are no results in a list
776 # request for a particular zone, this key might be scope and
777 # the key value might be the zone name. Other examples might be a key
778 # indicating a deprecated resource and a suggested replacement, or a
779 # warning about invalid network settings (for example, if an instance
780 # attempts to perform IP forwarding but is not enabled for IP forwarding).
781 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
782 },
783 ],
784 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
785 },
786 ],
787 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
788 # applicable when performing per-zone operations.
789 }</pre>
790 </div>
791
792 <div class="method">
793 <code class="details" id="list">list(project, region, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
794 <pre>Retrieves a list of TargetTcpProxy resources
795 available to the specified project in a given region.
796
797 Args:
798 project: string, Project ID for this request. (required)
799 region: string, Name of the region scoping this request. (required)
800 filter: string, A filter expression that filters resources listed in the response. Most
801 Compute resources support two types of filter expressions:
802 expressions that support regular expressions and expressions that follow
803 API improvement proposal AIP-160.
804 These two types of filter expressions cannot be mixed in one request.
805
806 If you want to use AIP-160, your expression must specify the field name, an
807 operator, and the value that you want to use for filtering. The value
808 must be a string, a number, or a boolean. The operator
809 must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`.
810
811 For example, if you are filtering Compute Engine instances, you can
812 exclude instances named `example-instance` by specifying
813 `name != example-instance`.
814
815 The `:*` comparison can be used to test whether a key has been defined.
816 For example, to find all objects with `owner` label use:
817 ```
818 labels.owner:*
819 ```
820
821 You can also filter nested fields. For example, you could specify
822 `scheduling.automaticRestart = false` to include instances only
823 if they are not scheduled for automatic restarts. You can use filtering
824 on nested fields to filter based onresource labels.
825
826 To filter on multiple expressions, provide each separate expression within
827 parentheses. For example:
828 ```
829 (scheduling.automaticRestart = true)
830 (cpuPlatform = &quot;Intel Skylake&quot;)
831 ```
832 By default, each expression is an `AND` expression. However, you
833 can include `AND` and `OR` expressions explicitly.
834 For example:
835 ```
836 (cpuPlatform = &quot;Intel Skylake&quot;) OR
837 (cpuPlatform = &quot;Intel Broadwell&quot;) AND
838 (scheduling.automaticRestart = true)
839 ```
840
841 If you want to use a regular expression, use the `eq` (equal) or `ne`
842 (not equal) operator against a single un-parenthesized expression with or
843 without quotes or against multiple parenthesized expressions. Examples:
844
845 `fieldname eq unquoted literal`
846 `fieldname eq &#x27;single quoted literal&#x27;`
847 `fieldname eq &quot;double quoted literal&quot;`
848 `(fieldname1 eq literal) (fieldname2 ne &quot;literal&quot;)`
849
850 The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
851 The literal value must match the entire field.
852
853 For example, to filter for instances that do not end with name &quot;instance&quot;,
854 you would use `name ne .*instance`.
855
856 You cannot combine constraints on multiple fields using regular
857 expressions.
858 maxResults: integer, The maximum number of results per page that should be returned.
859 If the number of available results is larger than `maxResults`,
860 Compute Engine returns a `nextPageToken` that can be used to get
861 the next page of results in subsequent list requests. Acceptable values are
862 `0` to `500`, inclusive. (Default: `500`)
863 orderBy: string, Sorts list results by a certain order. By default, results
864 are returned in alphanumerical order based on the resource name.
865
866 You can also sort results in descending order based on the creation
867 timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts
868 results based on the `creationTimestamp` field in
869 reverse chronological order (newest result first). Use this to sort
870 resources like operations so that the newest operation is returned first.
871
872 Currently, only sorting by `name` or
873 `creationTimestamp desc` is supported.
874 pageToken: string, Specifies a page token to use. Set `pageToken` to the
875 `nextPageToken` returned by a previous list request to get
876 the next page of results.
877 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case
878 of failure. The default value is false.
879
880 For example, when partial success behavior is enabled, aggregatedList for a
881 single zone scope either returns all resources in the zone or no resources,
882 with an error code.
883 x__xgafv: string, V1 error format.
884 Allowed values
885 1 - v1 error format
886 2 - v2 error format
887
888 Returns:
889 An object of the form:
890
891 { # Contains a list of TargetTcpProxy resources.
892 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
893 &quot;items&quot;: [ # A list of TargetTcpProxy resources.
894 { # Represents a Target TCP Proxy resource.
895 #
896 # A target TCP proxy is a component of a Proxy Network Load Balancer.
897 # The forwarding rule references the target TCP proxy, and the target proxy
898 # then references a backend service. For more information, readProxy Network
899 # Load Balancer overview.
900 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
901 # text format.
902 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
903 # create the resource.
904 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is
905 # defined by the server.
906 &quot;kind&quot;: &quot;compute#targetTcpProxy&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#targetTcpProxy for target TCP proxies.
907 &quot;loadBalancingScheme&quot;: &quot;A String&quot;, # Specifies the type of load balancing scheme used by this target proxy.
908 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
909 # The name must be 1-63 characters long, and comply withRFC1035.
910 # Specifically, the name must be 1-63 characters long and match the regular
911 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
912 # character must be a lowercase letter, and all following characters must
913 # be a dash, lowercase letter, or digit, except the last character, which
914 # cannot be a dash.
915 &quot;proxyBind&quot;: True or False, # This field only applies when the forwarding rule that references this
916 # target proxy has a loadBalancingScheme set toINTERNAL_SELF_MANAGED.
917 #
918 # When this field is set to true, Envoy proxies set up inbound
919 # traffic interception and bind to the IP address and port specified in the
920 # forwarding rule. This is generally useful when using Traffic Director to
921 # configure Envoy as a gateway or middle proxy (in other words, not a
922 # sidecar proxy). The Envoy proxy listens for inbound requests and handles
923 # requests when it receives them.
924 #
925 # The default is false.
926 &quot;proxyHeader&quot;: &quot;A String&quot;, # Specifies the type of proxy header to append before sending data to the
927 # backend, either NONE or PROXY_V1. The default
928 # is NONE.
929 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the regional TCP proxy resides.
930 # This field is not applicable to global TCP proxy.
931 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
932 &quot;service&quot;: &quot;A String&quot;, # URL to the BackendService resource.
933 },
934 ],
935 &quot;kind&quot;: &quot;compute#targetTcpProxyList&quot;, # Output only. Type of resource.
936 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for
937 # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
938 # the query parameter pageToken in the next list request.
939 # Subsequent list requests will have their own nextPageToken to
940 # continue paging through the results.
941 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource.
942 &quot;warning&quot;: { # [Output Only] Informational warning message.
943 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
944 # Engine returns NO_RESULTS_ON_PAGE if there
945 # are no results in the response.
946 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
947 # value format. For example:
948 #
949 # &quot;data&quot;: [
950 # {
951 # &quot;key&quot;: &quot;scope&quot;,
952 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
953 # }
954 {
955 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
956 # returned. For example, for warnings where there are no results in a list
957 # request for a particular zone, this key might be scope and
958 # the key value might be the zone name. Other examples might be a key
959 # indicating a deprecated resource and a suggested replacement, or a
960 # warning about invalid network settings (for example, if an instance
961 # attempts to perform IP forwarding but is not enabled for IP forwarding).
962 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
963 },
964 ],
965 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
966 },
967 }</pre>
968 </div>
969
970 <div class="method">
971 <code class="details" id="list_next">list_next()</code>
972 <pre>Retrieves the next page of results.
973
974 Args:
975 previous_request: The request for the previous page. (required)
976 previous_response: The response from the request for the previous page. (required)
977
978 Returns:
979 A request object that you can call &#x27;execute()&#x27; on to request the next
980 page. Returns None if there are no more items in the collection.
981 </pre>
982 </div>
983
984 <div class="method">
985 <code class="details" id="testIamPermissions">testIamPermissions(project, region, resource, body=None, x__xgafv=None)</code>
986 <pre>Returns permissions that a caller has on the specified resource.
987
988 Args:
989 project: string, Project ID for this request. (required)
990 region: string, The name of the region for this request. (required)
991 resource: string, Name or id of the resource for this request. (required)
992 body: object, The request body.
993 The object takes the form of:
994
995 {
996 &quot;permissions&quot;: [ # The set of permissions to check for the &#x27;resource&#x27;. Permissions with
997 # wildcards (such as &#x27;*&#x27; or &#x27;storage.*&#x27;) are not allowed.
998 &quot;A String&quot;,
999 ],
1000 }
1001
1002 x__xgafv: string, V1 error format.
1003 Allowed values
1004 1 - v1 error format
1005 2 - v2 error format
1006
1007 Returns:
1008 An object of the form:
1009
1010 {
1011 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is
1012 # allowed.
1013 &quot;A String&quot;,
1014 ],
1015 }</pre>
1016 </div>
1017
1018 </body></html>