Debian Codegraph @

docs/dyn/compute_alpha.routes.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.routes.html">routes</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, route, requestId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Deletes the specified Route resource.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(project, route, x__xgafv=None)</a></code></p>
85 <p class="firstline">Returns the specified Route resource.</p>
86 <p class="toc_element">
87 <code><a href="#insert">insert(project, body=None, requestId=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Creates a Route resource in the specified project using the data included</p>
89 <p class="toc_element">
90 <code><a href="#list">list(project, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Retrieves the list of Route resources available to the specified project.</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, 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, route, requestId=None, x__xgafv=None)</code>
106 <pre>Deletes the specified Route resource.
107
108 Args:
109 project: string, Project ID for this request. (required)
110 route: string, Name of the Route resource to delete. (required)
111 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
112 that if you must retry your request, the server will know to ignore the
113 request if it has already been completed.
114
115 For example, consider a situation where you make an initial request and
116 the request times out. If you make the request again with the same
117 request ID, the server can check if original operation with the same
118 request ID was received, and if so, will ignore the second request. This
119 prevents clients from accidentally creating duplicate commitments.
120
121 The request ID must be
122 a valid UUID with the exception that zero UUID is not supported
123 (00000000-0000-0000-0000-000000000000).
124 x__xgafv: string, V1 error format.
125 Allowed values
126 1 - v1 error format
127 2 - v2 error format
128
129 Returns:
130 An object of the form:
131
132 { # Represents an Operation resource.
133 #
134 # Google Compute Engine has three Operation resources:
135 #
136 # * [Global](/compute/docs/reference/rest/alpha/globalOperations)
137 # * [Regional](/compute/docs/reference/rest/alpha/regionOperations)
138 # * [Zonal](/compute/docs/reference/rest/alpha/zoneOperations)
139 #
140 # You can use an operation resource to manage asynchronous API requests.
141 # For more information, readHandling
142 # API responses.
143 #
144 # Operations can be global, regional or zonal.
145 #
146 # - For global operations, use the `globalOperations`
147 # resource.
148 # - For regional operations, use the
149 # `regionOperations` resource.
150 # - For zonal operations, use
151 # the `zoneOperations` resource.
152 #
153 #
154 #
155 # For more information, read
156 # Global, Regional, and Zonal Resources.
157 #
158 # Note that completed Operation resources have a limited
159 # retention period.
160 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
161 # Not present otherwise.
162 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
163 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
164 # set when the operation is created.
165 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
166 # text format.
167 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
168 # this field will be populated.
169 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
170 # operation.
171 {
172 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
173 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
174 # details. There is a set of defined message types to use for providing
175 # details.The syntax depends on the error code. For example,
176 # QuotaExceededInfo will have details when the error code is
177 # QUOTA_EXCEEDED.
178 {
179 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
180 #
181 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
182 # is not enabled:
183 #
184 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
185 # &quot;domain&quot;: &quot;googleapis.com&quot;
186 # &quot;metadata&quot;: {
187 # &quot;resource&quot;: &quot;projects/123&quot;,
188 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
189 # }
190 # }
191 #
192 # This response indicates that the pubsub.googleapis.com API is not enabled.
193 #
194 # Example of an error that is returned when attempting to create a Spanner
195 # instance in a region that is out of stock:
196 #
197 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
198 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
199 # &quot;metadata&quot;: {
200 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
201 # }
202 # }
203 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
204 # is typically the registered service name of the tool or product that
205 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
206 # generated by some common infrastructure, the error domain must be a
207 # globally unique value that identifies the infrastructure. For Google API
208 # infrastructure, the error domain is &quot;googleapis.com&quot;.
209 &quot;metadatas&quot;: { # Additional structured details about this error.
210 #
211 # Keys must match a regular expression of `a-z+` but should
212 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
213 # length. When identifying the current value of an exceeded limit, the units
214 # should be contained in the key, not the value. For example, rather than
215 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
216 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
217 # instances that can be created in a single (batch) request.
218 &quot;a_key&quot;: &quot;A String&quot;,
219 },
220 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
221 # proximate cause of the error. Error reasons are unique within a particular
222 # domain of errors. This should be at most 63 characters and match a
223 # regular expression of `A-Z+[A-Z0-9]`, which represents
224 # UPPER_SNAKE_CASE.
225 },
226 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
227 #
228 # For example, if a quota check failed with an error indicating the calling
229 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
230 # directly to the right place in the developer console to flip the bit.
231 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
232 { # Describes a URL link.
233 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
234 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
235 },
236 ],
237 },
238 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
239 # which can be attached to an RPC error.
240 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
241 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
242 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
243 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
244 },
245 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
246 &quot;dimensions&quot;: { # The map holding related quota dimensions.
247 &quot;a_key&quot;: &quot;A String&quot;,
248 },
249 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
250 # type or metric.
251 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
252 # or metric.
253 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
254 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
255 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
256 },
257 },
258 ],
259 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
260 # This property is optional.
261 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
262 },
263 ],
264 },
265 &quot;getVersionOperationMetadata&quot;: {
266 &quot;inlineSbomInfo&quot;: {
267 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
268 # appropriate identifiers.
269 &quot;a_key&quot;: &quot;A String&quot;,
270 },
271 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
272 # identifiers.
273 &quot;a_key&quot;: &quot;A String&quot;,
274 },
275 },
276 },
277 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
278 # message that was returned, such as `NOT FOUND`.
279 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
280 # status code that was returned. For example, a `404` means the
281 # resource was not found.
282 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
283 # defined by the server.
284 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
285 # This value is inRFC3339
286 # text format.
287 &quot;instancesBulkInsertOperationMetadata&quot;: {
288 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
289 # Example key: zones/us-central1-a
290 &quot;a_key&quot;: {
291 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
292 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
293 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
294 # error.
295 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
296 # if the flow is rolling forward or rolling back.
297 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
298 },
299 },
300 },
301 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
302 # Operation resources.
303 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
304 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
305 # group of operations results from a `bulkInsert` API request.
306 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
307 # `update`, or `delete`, and so on.
308 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
309 # There is no requirement that this be linear or support any granularity of
310 # operations. This should not be used to guess when the operation will be
311 # complete. This number should monotonically increase as the operation
312 # progresses.
313 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
314 # applicable when performing regional operations.
315 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
316 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
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, route, x__xgafv=None)</code>
399 <pre>Returns the specified Route resource.
400
401 Args:
402 project: string, Project ID for this request. (required)
403 route: string, Name of the Route resource to return. (required)
404 x__xgafv: string, V1 error format.
405 Allowed values
406 1 - v1 error format
407 2 - v2 error format
408
409 Returns:
410 An object of the form:
411
412 { # Represents a Route resource.
413 #
414 # A route defines a path from VM instances in the VPC network to a specific
415 # destination. This destination can be inside or outside the VPC network.
416 # For more information, read theRoutes overview.
417 &quot;allowConflictingSubnetworks&quot;: True or False, # Whether this route can conflict with existing subnetworks. Setting this to
418 # true allows this route to conflict with subnetworks that have already been
419 # configured on the corresponding network.
420 &quot;asPaths&quot;: [ # Output only. [Output Only] AS path.
421 {
422 &quot;asLists&quot;: [ # [Output Only] The AS numbers of the AS Path.
423 42,
424 ],
425 &quot;pathSegmentType&quot;: &quot;A String&quot;, # [Output Only] The type of the AS Path, which can be one of the following
426 # values:
427 # - &#x27;AS_SET&#x27;: unordered set of autonomous systems that the route
428 # in has traversed
429 # - &#x27;AS_SEQUENCE&#x27;: ordered set of autonomous
430 # systems that the route has traversed
431 # - &#x27;AS_CONFED_SEQUENCE&#x27;:
432 # ordered set of Member Autonomous Systems in the local confederation that
433 # the route has traversed
434 # - &#x27;AS_CONFED_SET&#x27;: unordered set of
435 # Member Autonomous Systems in the local confederation that the route has
436 # traversed
437 },
438 ],
439 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
440 # text format.
441 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this field when you
442 # create the resource.
443 &quot;destRange&quot;: &quot;A String&quot;, # The destination range of outgoing packets that this route applies to. Both
444 # IPv4 and IPv6 are supported.
445 # Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291
446 # format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952
447 # compressed format.
448 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
449 # defined by the server.
450 &quot;ilbRouteBehaviorOnUnhealthy&quot;: &quot;A String&quot;, # ILB route behavior when ILB is deemed unhealthy based on user specified
451 # threshold on the Backend Service of the internal load balancing.
452 &quot;kind&quot;: &quot;compute#route&quot;, # Output only. [Output Only] Type of this resource. Always compute#routes for
453 # Route resources.
454 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
455 # The name must be 1-63 characters long, and comply withRFC1035.
456 # Specifically, the name must be 1-63 characters long and match the regular
457 # expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a
458 # lowercase letter, and all following characters (except for the last
459 # character) must be a dash, lowercase letter, or digit. The last character
460 # must be a lowercase letter or digit.
461 &quot;network&quot;: &quot;A String&quot;, # Fully-qualified URL of the network that this route applies to.
462 &quot;nextHopGateway&quot;: &quot;A String&quot;, # The URL to a gateway that should handle matching packets.
463 # You can only specify the internet gateway using a full or
464 # partial valid URL: projects/project/global/gateways/default-internet-gateway
465 &quot;nextHopHub&quot;: &quot;A String&quot;, # Output only. [Output Only] The full resource name of the Network Connectivity Center hub
466 # that will handle matching packets.
467 &quot;nextHopIlb&quot;: &quot;A String&quot;, # The URL to a forwarding rule of typeloadBalancingScheme=INTERNAL that should handle matching
468 # packets or the IP address of the forwarding Rule.
469 # For example, the following are all valid URLs:
470 #
471 #
472 # - https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
473 # - regions/region/forwardingRules/forwardingRule
474 #
475 #
476 # If an IP address is provided, must specify an IPv4 address in dot-decimal
477 # notation or an IPv6 address in RFC 4291 format. For example, the following
478 # are all valid IP addresses:
479 #
480 #
481 # - 10.128.0.56
482 # - 2001:db8::2d9:51:0:0
483 # - 2001:db8:0:0:2d9:51:0:0
484 #
485 #
486 # IPv6 addresses will be displayed using RFC 5952 compressed format (e.g.
487 # 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
488 &quot;nextHopInstance&quot;: &quot;A String&quot;, # The URL to an instance that should handle matching packets. You can specify
489 # this as a full or partial URL.
490 # For example:
491 # https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
492 &quot;nextHopInterRegionCost&quot;: 42, # Output only. [Output only] Internal fixed region-to-region cost that Google Cloud
493 # calculates based on factors such as network performance, distance, and
494 # available bandwidth between regions.
495 &quot;nextHopInterconnectAttachment&quot;: &quot;A String&quot;, # Output only. [Output Only] The URL to an InterconnectAttachment which is the next hop
496 # for the route.
497 # This field will only be populated for dynamic routes generated by
498 # Cloud Router with a linked interconnectAttachment or the static route
499 # generated by each L2 Interconnect Attachment.
500 &quot;nextHopIp&quot;: &quot;A String&quot;, # The network IP address of an instance that should handle matching packets.
501 # Both IPv6 address and IPv4 addresses are supported.
502 # Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or
503 # an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or
504 # 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952
505 # compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an
506 # IPv4-mapped IPv6 address.
507 &quot;nextHopMed&quot;: 42, # Output only. [Output Only] Multi-Exit Discriminator, a BGP route metric that indicates
508 # the desirability of a particular route in a network.
509 &quot;nextHopNetwork&quot;: &quot;A String&quot;, # The URL of the local network if it should handle matching packets.
510 &quot;nextHopOrigin&quot;: &quot;A String&quot;, # Output only. [Output Only] Indicates the origin of the route. Can be IGP
511 # (Interior Gateway Protocol), EGP (Exterior Gateway Protocol),
512 # or INCOMPLETE.
513 &quot;nextHopPeering&quot;: &quot;A String&quot;, # Output only. [Output Only] The network peering name that should handle matching packets,
514 # which should conform to RFC1035.
515 &quot;nextHopVpnTunnel&quot;: &quot;A String&quot;, # The URL to a VpnTunnel that should handle matching packets.
516 &quot;params&quot;: { # Additional route parameters. # Input only. [Input Only] Additional params passed with the request, but not persisted
517 # as part of resource payload.
518 &quot;resourceManagerTags&quot;: { # Tag keys/values directly bound to this resource.
519 # Tag keys and values have the same definition as resource
520 # manager tags. The field is allowed for INSERT
521 # only. The keys/values to set on the resource should be specified in
522 # either ID { : } or Namespaced format
523 # { : }.
524 # For example the following are valid inputs:
525 # * {&quot;tagKeys/333&quot; : &quot;tagValues/444&quot;, &quot;tagKeys/123&quot; : &quot;tagValues/456&quot;}
526 # * {&quot;123/environment&quot; : &quot;production&quot;, &quot;345/abc&quot; : &quot;xyz&quot;}
527 # Note:
528 # * Invalid combinations of ID &amp; namespaced format is not supported. For
529 # instance: {&quot;123/environment&quot; : &quot;tagValues/444&quot;} is invalid.
530 &quot;a_key&quot;: &quot;A String&quot;,
531 },
532 },
533 &quot;priority&quot;: 42, # The priority of this route. Priority is used to break ties in cases
534 # where there is more than one matching route of equal prefix length. In
535 # cases where multiple routes have equal prefix length, the one with the
536 # lowest-numbered priority value wins. The default value is `1000`. The
537 # priority value must be from `0` to `65535`, inclusive.
538 &quot;routeStatus&quot;: &quot;A String&quot;, # [Output only] The status of the route. This status applies to
539 # dynamic routes learned by Cloud Routers. It is also applicable to routes
540 # undergoing migration.
541 &quot;routeType&quot;: &quot;A String&quot;, # Output only. [Output Only] The type of this route, which can be one of the following
542 # values:
543 # - &#x27;TRANSIT&#x27; for a transit route that this router learned from
544 # another Cloud Router and will readvertise to one of its BGP peers
545 # - &#x27;SUBNET&#x27; for a route from a subnet of the VPC
546 # - &#x27;BGP&#x27; for a route learned from a BGP peer of this router
547 # - &#x27;STATIC&#x27; for a static route
548 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined fully-qualified URL for this resource.
549 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
550 &quot;tags&quot;: [ # A list of instance tags to which this route applies.
551 &quot;A String&quot;,
552 ],
553 &quot;warnings&quot;: [ # Output only. [Output Only] If potential misconfigurations are detected for this
554 # route, this field will be populated with warning messages.
555 {
556 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
557 # Engine returns NO_RESULTS_ON_PAGE if there
558 # are no results in the response.
559 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
560 # value format. For example:
561 #
562 # &quot;data&quot;: [
563 # {
564 # &quot;key&quot;: &quot;scope&quot;,
565 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
566 # }
567 {
568 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
569 # returned. For example, for warnings where there are no results in a list
570 # request for a particular zone, this key might be scope and
571 # the key value might be the zone name. Other examples might be a key
572 # indicating a deprecated resource and a suggested replacement, or a
573 # warning about invalid network settings (for example, if an instance
574 # attempts to perform IP forwarding but is not enabled for IP forwarding).
575 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
576 },
577 ],
578 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
579 },
580 ],
581 }</pre>
582 </div>
583
584 <div class="method">
585 <code class="details" id="insert">insert(project, body=None, requestId=None, x__xgafv=None)</code>
586 <pre>Creates a Route resource in the specified project using the data included
587 in the request.
588
589 Args:
590 project: string, Project ID for this request. (required)
591 body: object, The request body.
592 The object takes the form of:
593
594 { # Represents a Route resource.
595 #
596 # A route defines a path from VM instances in the VPC network to a specific
597 # destination. This destination can be inside or outside the VPC network.
598 # For more information, read theRoutes overview.
599 &quot;allowConflictingSubnetworks&quot;: True or False, # Whether this route can conflict with existing subnetworks. Setting this to
600 # true allows this route to conflict with subnetworks that have already been
601 # configured on the corresponding network.
602 &quot;asPaths&quot;: [ # Output only. [Output Only] AS path.
603 {
604 &quot;asLists&quot;: [ # [Output Only] The AS numbers of the AS Path.
605 42,
606 ],
607 &quot;pathSegmentType&quot;: &quot;A String&quot;, # [Output Only] The type of the AS Path, which can be one of the following
608 # values:
609 # - &#x27;AS_SET&#x27;: unordered set of autonomous systems that the route
610 # in has traversed
611 # - &#x27;AS_SEQUENCE&#x27;: ordered set of autonomous
612 # systems that the route has traversed
613 # - &#x27;AS_CONFED_SEQUENCE&#x27;:
614 # ordered set of Member Autonomous Systems in the local confederation that
615 # the route has traversed
616 # - &#x27;AS_CONFED_SET&#x27;: unordered set of
617 # Member Autonomous Systems in the local confederation that the route has
618 # traversed
619 },
620 ],
621 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
622 # text format.
623 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this field when you
624 # create the resource.
625 &quot;destRange&quot;: &quot;A String&quot;, # The destination range of outgoing packets that this route applies to. Both
626 # IPv4 and IPv6 are supported.
627 # Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291
628 # format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952
629 # compressed format.
630 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
631 # defined by the server.
632 &quot;ilbRouteBehaviorOnUnhealthy&quot;: &quot;A String&quot;, # ILB route behavior when ILB is deemed unhealthy based on user specified
633 # threshold on the Backend Service of the internal load balancing.
634 &quot;kind&quot;: &quot;compute#route&quot;, # Output only. [Output Only] Type of this resource. Always compute#routes for
635 # Route resources.
636 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
637 # The name must be 1-63 characters long, and comply withRFC1035.
638 # Specifically, the name must be 1-63 characters long and match the regular
639 # expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a
640 # lowercase letter, and all following characters (except for the last
641 # character) must be a dash, lowercase letter, or digit. The last character
642 # must be a lowercase letter or digit.
643 &quot;network&quot;: &quot;A String&quot;, # Fully-qualified URL of the network that this route applies to.
644 &quot;nextHopGateway&quot;: &quot;A String&quot;, # The URL to a gateway that should handle matching packets.
645 # You can only specify the internet gateway using a full or
646 # partial valid URL: projects/project/global/gateways/default-internet-gateway
647 &quot;nextHopHub&quot;: &quot;A String&quot;, # Output only. [Output Only] The full resource name of the Network Connectivity Center hub
648 # that will handle matching packets.
649 &quot;nextHopIlb&quot;: &quot;A String&quot;, # The URL to a forwarding rule of typeloadBalancingScheme=INTERNAL that should handle matching
650 # packets or the IP address of the forwarding Rule.
651 # For example, the following are all valid URLs:
652 #
653 #
654 # - https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
655 # - regions/region/forwardingRules/forwardingRule
656 #
657 #
658 # If an IP address is provided, must specify an IPv4 address in dot-decimal
659 # notation or an IPv6 address in RFC 4291 format. For example, the following
660 # are all valid IP addresses:
661 #
662 #
663 # - 10.128.0.56
664 # - 2001:db8::2d9:51:0:0
665 # - 2001:db8:0:0:2d9:51:0:0
666 #
667 #
668 # IPv6 addresses will be displayed using RFC 5952 compressed format (e.g.
669 # 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
670 &quot;nextHopInstance&quot;: &quot;A String&quot;, # The URL to an instance that should handle matching packets. You can specify
671 # this as a full or partial URL.
672 # For example:
673 # https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
674 &quot;nextHopInterRegionCost&quot;: 42, # Output only. [Output only] Internal fixed region-to-region cost that Google Cloud
675 # calculates based on factors such as network performance, distance, and
676 # available bandwidth between regions.
677 &quot;nextHopInterconnectAttachment&quot;: &quot;A String&quot;, # Output only. [Output Only] The URL to an InterconnectAttachment which is the next hop
678 # for the route.
679 # This field will only be populated for dynamic routes generated by
680 # Cloud Router with a linked interconnectAttachment or the static route
681 # generated by each L2 Interconnect Attachment.
682 &quot;nextHopIp&quot;: &quot;A String&quot;, # The network IP address of an instance that should handle matching packets.
683 # Both IPv6 address and IPv4 addresses are supported.
684 # Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or
685 # an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or
686 # 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952
687 # compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an
688 # IPv4-mapped IPv6 address.
689 &quot;nextHopMed&quot;: 42, # Output only. [Output Only] Multi-Exit Discriminator, a BGP route metric that indicates
690 # the desirability of a particular route in a network.
691 &quot;nextHopNetwork&quot;: &quot;A String&quot;, # The URL of the local network if it should handle matching packets.
692 &quot;nextHopOrigin&quot;: &quot;A String&quot;, # Output only. [Output Only] Indicates the origin of the route. Can be IGP
693 # (Interior Gateway Protocol), EGP (Exterior Gateway Protocol),
694 # or INCOMPLETE.
695 &quot;nextHopPeering&quot;: &quot;A String&quot;, # Output only. [Output Only] The network peering name that should handle matching packets,
696 # which should conform to RFC1035.
697 &quot;nextHopVpnTunnel&quot;: &quot;A String&quot;, # The URL to a VpnTunnel that should handle matching packets.
698 &quot;params&quot;: { # Additional route parameters. # Input only. [Input Only] Additional params passed with the request, but not persisted
699 # as part of resource payload.
700 &quot;resourceManagerTags&quot;: { # Tag keys/values directly bound to this resource.
701 # Tag keys and values have the same definition as resource
702 # manager tags. The field is allowed for INSERT
703 # only. The keys/values to set on the resource should be specified in
704 # either ID { : } or Namespaced format
705 # { : }.
706 # For example the following are valid inputs:
707 # * {&quot;tagKeys/333&quot; : &quot;tagValues/444&quot;, &quot;tagKeys/123&quot; : &quot;tagValues/456&quot;}
708 # * {&quot;123/environment&quot; : &quot;production&quot;, &quot;345/abc&quot; : &quot;xyz&quot;}
709 # Note:
710 # * Invalid combinations of ID &amp; namespaced format is not supported. For
711 # instance: {&quot;123/environment&quot; : &quot;tagValues/444&quot;} is invalid.
712 &quot;a_key&quot;: &quot;A String&quot;,
713 },
714 },
715 &quot;priority&quot;: 42, # The priority of this route. Priority is used to break ties in cases
716 # where there is more than one matching route of equal prefix length. In
717 # cases where multiple routes have equal prefix length, the one with the
718 # lowest-numbered priority value wins. The default value is `1000`. The
719 # priority value must be from `0` to `65535`, inclusive.
720 &quot;routeStatus&quot;: &quot;A String&quot;, # [Output only] The status of the route. This status applies to
721 # dynamic routes learned by Cloud Routers. It is also applicable to routes
722 # undergoing migration.
723 &quot;routeType&quot;: &quot;A String&quot;, # Output only. [Output Only] The type of this route, which can be one of the following
724 # values:
725 # - &#x27;TRANSIT&#x27; for a transit route that this router learned from
726 # another Cloud Router and will readvertise to one of its BGP peers
727 # - &#x27;SUBNET&#x27; for a route from a subnet of the VPC
728 # - &#x27;BGP&#x27; for a route learned from a BGP peer of this router
729 # - &#x27;STATIC&#x27; for a static route
730 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined fully-qualified URL for this resource.
731 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
732 &quot;tags&quot;: [ # A list of instance tags to which this route applies.
733 &quot;A String&quot;,
734 ],
735 &quot;warnings&quot;: [ # Output only. [Output Only] If potential misconfigurations are detected for this
736 # route, this field will be populated with warning messages.
737 {
738 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
739 # Engine returns NO_RESULTS_ON_PAGE if there
740 # are no results in the response.
741 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
742 # value format. For example:
743 #
744 # &quot;data&quot;: [
745 # {
746 # &quot;key&quot;: &quot;scope&quot;,
747 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
748 # }
749 {
750 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
751 # returned. For example, for warnings where there are no results in a list
752 # request for a particular zone, this key might be scope and
753 # the key value might be the zone name. Other examples might be a key
754 # indicating a deprecated resource and a suggested replacement, or a
755 # warning about invalid network settings (for example, if an instance
756 # attempts to perform IP forwarding but is not enabled for IP forwarding).
757 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
758 },
759 ],
760 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
761 },
762 ],
763 }
764
765 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
766 that if you must retry your request, the server will know to ignore the
767 request if it has already been completed.
768
769 For example, consider a situation where you make an initial request and
770 the request times out. If you make the request again with the same
771 request ID, the server can check if original operation with the same
772 request ID was received, and if so, will ignore the second request. This
773 prevents clients from accidentally creating duplicate commitments.
774
775 The request ID must be
776 a valid UUID with the exception that zero UUID is not supported
777 (00000000-0000-0000-0000-000000000000).
778 x__xgafv: string, V1 error format.
779 Allowed values
780 1 - v1 error format
781 2 - v2 error format
782
783 Returns:
784 An object of the form:
785
786 { # Represents an Operation resource.
787 #
788 # Google Compute Engine has three Operation resources:
789 #
790 # * [Global](/compute/docs/reference/rest/alpha/globalOperations)
791 # * [Regional](/compute/docs/reference/rest/alpha/regionOperations)
792 # * [Zonal](/compute/docs/reference/rest/alpha/zoneOperations)
793 #
794 # You can use an operation resource to manage asynchronous API requests.
795 # For more information, readHandling
796 # API responses.
797 #
798 # Operations can be global, regional or zonal.
799 #
800 # - For global operations, use the `globalOperations`
801 # resource.
802 # - For regional operations, use the
803 # `regionOperations` resource.
804 # - For zonal operations, use
805 # the `zoneOperations` resource.
806 #
807 #
808 #
809 # For more information, read
810 # Global, Regional, and Zonal Resources.
811 #
812 # Note that completed Operation resources have a limited
813 # retention period.
814 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
815 # Not present otherwise.
816 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
817 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
818 # set when the operation is created.
819 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
820 # text format.
821 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
822 # this field will be populated.
823 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
824 # operation.
825 {
826 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
827 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
828 # details. There is a set of defined message types to use for providing
829 # details.The syntax depends on the error code. For example,
830 # QuotaExceededInfo will have details when the error code is
831 # QUOTA_EXCEEDED.
832 {
833 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
834 #
835 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
836 # is not enabled:
837 #
838 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
839 # &quot;domain&quot;: &quot;googleapis.com&quot;
840 # &quot;metadata&quot;: {
841 # &quot;resource&quot;: &quot;projects/123&quot;,
842 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
843 # }
844 # }
845 #
846 # This response indicates that the pubsub.googleapis.com API is not enabled.
847 #
848 # Example of an error that is returned when attempting to create a Spanner
849 # instance in a region that is out of stock:
850 #
851 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
852 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
853 # &quot;metadata&quot;: {
854 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
855 # }
856 # }
857 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
858 # is typically the registered service name of the tool or product that
859 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
860 # generated by some common infrastructure, the error domain must be a
861 # globally unique value that identifies the infrastructure. For Google API
862 # infrastructure, the error domain is &quot;googleapis.com&quot;.
863 &quot;metadatas&quot;: { # Additional structured details about this error.
864 #
865 # Keys must match a regular expression of `a-z+` but should
866 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
867 # length. When identifying the current value of an exceeded limit, the units
868 # should be contained in the key, not the value. For example, rather than
869 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
870 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
871 # instances that can be created in a single (batch) request.
872 &quot;a_key&quot;: &quot;A String&quot;,
873 },
874 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
875 # proximate cause of the error. Error reasons are unique within a particular
876 # domain of errors. This should be at most 63 characters and match a
877 # regular expression of `A-Z+[A-Z0-9]`, which represents
878 # UPPER_SNAKE_CASE.
879 },
880 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
881 #
882 # For example, if a quota check failed with an error indicating the calling
883 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
884 # directly to the right place in the developer console to flip the bit.
885 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
886 { # Describes a URL link.
887 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
888 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
889 },
890 ],
891 },
892 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
893 # which can be attached to an RPC error.
894 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
895 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
896 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
897 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
898 },
899 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
900 &quot;dimensions&quot;: { # The map holding related quota dimensions.
901 &quot;a_key&quot;: &quot;A String&quot;,
902 },
903 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
904 # type or metric.
905 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
906 # or metric.
907 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
908 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
909 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
910 },
911 },
912 ],
913 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
914 # This property is optional.
915 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
916 },
917 ],
918 },
919 &quot;getVersionOperationMetadata&quot;: {
920 &quot;inlineSbomInfo&quot;: {
921 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
922 # appropriate identifiers.
923 &quot;a_key&quot;: &quot;A String&quot;,
924 },
925 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
926 # identifiers.
927 &quot;a_key&quot;: &quot;A String&quot;,
928 },
929 },
930 },
931 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
932 # message that was returned, such as `NOT FOUND`.
933 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
934 # status code that was returned. For example, a `404` means the
935 # resource was not found.
936 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
937 # defined by the server.
938 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
939 # This value is inRFC3339
940 # text format.
941 &quot;instancesBulkInsertOperationMetadata&quot;: {
942 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
943 # Example key: zones/us-central1-a
944 &quot;a_key&quot;: {
945 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
946 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
947 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
948 # error.
949 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
950 # if the flow is rolling forward or rolling back.
951 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
952 },
953 },
954 },
955 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
956 # Operation resources.
957 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
958 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
959 # group of operations results from a `bulkInsert` API request.
960 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
961 # `update`, or `delete`, and so on.
962 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
963 # There is no requirement that this be linear or support any granularity of
964 # operations. This should not be used to guess when the operation will be
965 # complete. This number should monotonically increase as the operation
966 # progresses.
967 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
968 # applicable when performing regional operations.
969 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
970 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
971 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
972 # this field will contain information on all underlying zonal actions and
973 # their state.
974 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
975 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
976 # Example key: zones/us-central1-a
977 &quot;a_key&quot;: {
978 &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
979 # populated.
980 # different programming environments, including REST APIs and RPC APIs. It is
981 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
982 # three pieces of data: error code, error message, and error details.
983 #
984 # You can find out more about this error model and how to work with it in the
985 # [API Design Guide](https://cloud.google.com/apis/design/errors).
986 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
987 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
988 # message types for APIs to use.
989 {
990 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
991 },
992 ],
993 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
994 # user-facing error message should be localized and sent in the
995 # google.rpc.Status.details field, or localized by the client.
996 },
997 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
998 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
999 },
1000 },
1001 },
1002 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
1003 # This value is inRFC3339
1004 # text format.
1005 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
1006 # following:
1007 # `PENDING`, `RUNNING`, or `DONE`.
1008 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
1009 # operation.
1010 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
1011 # of the target resource.
1012 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
1013 # operations related to creating a snapshot, this points to the disk
1014 # that the snapshot was created from.
1015 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
1016 # `[email protected]` or
1017 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
1018 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
1019 # operation, this field will be populated.
1020 {
1021 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1022 # Engine returns NO_RESULTS_ON_PAGE if there
1023 # are no results in the response.
1024 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1025 # value format. For example:
1026 #
1027 # &quot;data&quot;: [
1028 # {
1029 # &quot;key&quot;: &quot;scope&quot;,
1030 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1031 # }
1032 {
1033 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1034 # returned. For example, for warnings where there are no results in a list
1035 # request for a particular zone, this key might be scope and
1036 # the key value might be the zone name. Other examples might be a key
1037 # indicating a deprecated resource and a suggested replacement, or a
1038 # warning about invalid network settings (for example, if an instance
1039 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1040 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1041 },
1042 ],
1043 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1044 },
1045 ],
1046 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
1047 # applicable when performing per-zone operations.
1048 }</pre>
1049 </div>
1050
1051 <div class="method">
1052 <code class="details" id="list">list(project, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
1053 <pre>Retrieves the list of Route resources available to the specified project.
1054
1055 Args:
1056 project: string, Project ID for this request. (required)
1057 filter: string, A filter expression that filters resources listed in the response. Most
1058 Compute resources support two types of filter expressions:
1059 expressions that support regular expressions and expressions that follow
1060 API improvement proposal AIP-160.
1061 These two types of filter expressions cannot be mixed in one request.
1062
1063 If you want to use AIP-160, your expression must specify the field name, an
1064 operator, and the value that you want to use for filtering. The value
1065 must be a string, a number, or a boolean. The operator
1066 must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`.
1067
1068 For example, if you are filtering Compute Engine instances, you can
1069 exclude instances named `example-instance` by specifying
1070 `name != example-instance`.
1071
1072 The `:*` comparison can be used to test whether a key has been defined.
1073 For example, to find all objects with `owner` label use:
1074 ```
1075 labels.owner:*
1076 ```
1077
1078 You can also filter nested fields. For example, you could specify
1079 `scheduling.automaticRestart = false` to include instances only
1080 if they are not scheduled for automatic restarts. You can use filtering
1081 on nested fields to filter based onresource labels.
1082
1083 To filter on multiple expressions, provide each separate expression within
1084 parentheses. For example:
1085 ```
1086 (scheduling.automaticRestart = true)
1087 (cpuPlatform = &quot;Intel Skylake&quot;)
1088 ```
1089 By default, each expression is an `AND` expression. However, you
1090 can include `AND` and `OR` expressions explicitly.
1091 For example:
1092 ```
1093 (cpuPlatform = &quot;Intel Skylake&quot;) OR
1094 (cpuPlatform = &quot;Intel Broadwell&quot;) AND
1095 (scheduling.automaticRestart = true)
1096 ```
1097
1098 If you want to use a regular expression, use the `eq` (equal) or `ne`
1099 (not equal) operator against a single un-parenthesized expression with or
1100 without quotes or against multiple parenthesized expressions. Examples:
1101
1102 `fieldname eq unquoted literal`
1103 `fieldname eq &#x27;single quoted literal&#x27;`
1104 `fieldname eq &quot;double quoted literal&quot;`
1105 `(fieldname1 eq literal) (fieldname2 ne &quot;literal&quot;)`
1106
1107 The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
1108 The literal value must match the entire field.
1109
1110 For example, to filter for instances that do not end with name &quot;instance&quot;,
1111 you would use `name ne .*instance`.
1112
1113 You cannot combine constraints on multiple fields using regular
1114 expressions.
1115 maxResults: integer, The maximum number of results per page that should be returned.
1116 If the number of available results is larger than `maxResults`,
1117 Compute Engine returns a `nextPageToken` that can be used to get
1118 the next page of results in subsequent list requests. Acceptable values are
1119 `0` to `500`, inclusive. (Default: `500`)
1120 orderBy: string, Sorts list results by a certain order. By default, results
1121 are returned in alphanumerical order based on the resource name.
1122
1123 You can also sort results in descending order based on the creation
1124 timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts
1125 results based on the `creationTimestamp` field in
1126 reverse chronological order (newest result first). Use this to sort
1127 resources like operations so that the newest operation is returned first.
1128
1129 Currently, only sorting by `name` or
1130 `creationTimestamp desc` is supported.
1131 pageToken: string, Specifies a page token to use. Set `pageToken` to the
1132 `nextPageToken` returned by a previous list request to get
1133 the next page of results.
1134 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case
1135 of failure. The default value is false.
1136
1137 For example, when partial success behavior is enabled, aggregatedList for a
1138 single zone scope either returns all resources in the zone or no resources,
1139 with an error code.
1140 x__xgafv: string, V1 error format.
1141 Allowed values
1142 1 - v1 error format
1143 2 - v2 error format
1144
1145 Returns:
1146 An object of the form:
1147
1148 { # Contains a list of Route resources.
1149 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
1150 &quot;items&quot;: [ # A list of Route resources.
1151 { # Represents a Route resource.
1152 #
1153 # A route defines a path from VM instances in the VPC network to a specific
1154 # destination. This destination can be inside or outside the VPC network.
1155 # For more information, read theRoutes overview.
1156 &quot;allowConflictingSubnetworks&quot;: True or False, # Whether this route can conflict with existing subnetworks. Setting this to
1157 # true allows this route to conflict with subnetworks that have already been
1158 # configured on the corresponding network.
1159 &quot;asPaths&quot;: [ # Output only. [Output Only] AS path.
1160 {
1161 &quot;asLists&quot;: [ # [Output Only] The AS numbers of the AS Path.
1162 42,
1163 ],
1164 &quot;pathSegmentType&quot;: &quot;A String&quot;, # [Output Only] The type of the AS Path, which can be one of the following
1165 # values:
1166 # - &#x27;AS_SET&#x27;: unordered set of autonomous systems that the route
1167 # in has traversed
1168 # - &#x27;AS_SEQUENCE&#x27;: ordered set of autonomous
1169 # systems that the route has traversed
1170 # - &#x27;AS_CONFED_SEQUENCE&#x27;:
1171 # ordered set of Member Autonomous Systems in the local confederation that
1172 # the route has traversed
1173 # - &#x27;AS_CONFED_SET&#x27;: unordered set of
1174 # Member Autonomous Systems in the local confederation that the route has
1175 # traversed
1176 },
1177 ],
1178 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
1179 # text format.
1180 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this field when you
1181 # create the resource.
1182 &quot;destRange&quot;: &quot;A String&quot;, # The destination range of outgoing packets that this route applies to. Both
1183 # IPv4 and IPv6 are supported.
1184 # Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291
1185 # format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952
1186 # compressed format.
1187 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
1188 # defined by the server.
1189 &quot;ilbRouteBehaviorOnUnhealthy&quot;: &quot;A String&quot;, # ILB route behavior when ILB is deemed unhealthy based on user specified
1190 # threshold on the Backend Service of the internal load balancing.
1191 &quot;kind&quot;: &quot;compute#route&quot;, # Output only. [Output Only] Type of this resource. Always compute#routes for
1192 # Route resources.
1193 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
1194 # The name must be 1-63 characters long, and comply withRFC1035.
1195 # Specifically, the name must be 1-63 characters long and match the regular
1196 # expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a
1197 # lowercase letter, and all following characters (except for the last
1198 # character) must be a dash, lowercase letter, or digit. The last character
1199 # must be a lowercase letter or digit.
1200 &quot;network&quot;: &quot;A String&quot;, # Fully-qualified URL of the network that this route applies to.
1201 &quot;nextHopGateway&quot;: &quot;A String&quot;, # The URL to a gateway that should handle matching packets.
1202 # You can only specify the internet gateway using a full or
1203 # partial valid URL: projects/project/global/gateways/default-internet-gateway
1204 &quot;nextHopHub&quot;: &quot;A String&quot;, # Output only. [Output Only] The full resource name of the Network Connectivity Center hub
1205 # that will handle matching packets.
1206 &quot;nextHopIlb&quot;: &quot;A String&quot;, # The URL to a forwarding rule of typeloadBalancingScheme=INTERNAL that should handle matching
1207 # packets or the IP address of the forwarding Rule.
1208 # For example, the following are all valid URLs:
1209 #
1210 #
1211 # - https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule
1212 # - regions/region/forwardingRules/forwardingRule
1213 #
1214 #
1215 # If an IP address is provided, must specify an IPv4 address in dot-decimal
1216 # notation or an IPv6 address in RFC 4291 format. For example, the following
1217 # are all valid IP addresses:
1218 #
1219 #
1220 # - 10.128.0.56
1221 # - 2001:db8::2d9:51:0:0
1222 # - 2001:db8:0:0:2d9:51:0:0
1223 #
1224 #
1225 # IPv6 addresses will be displayed using RFC 5952 compressed format (e.g.
1226 # 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
1227 &quot;nextHopInstance&quot;: &quot;A String&quot;, # The URL to an instance that should handle matching packets. You can specify
1228 # this as a full or partial URL.
1229 # For example:
1230 # https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
1231 &quot;nextHopInterRegionCost&quot;: 42, # Output only. [Output only] Internal fixed region-to-region cost that Google Cloud
1232 # calculates based on factors such as network performance, distance, and
1233 # available bandwidth between regions.
1234 &quot;nextHopInterconnectAttachment&quot;: &quot;A String&quot;, # Output only. [Output Only] The URL to an InterconnectAttachment which is the next hop
1235 # for the route.
1236 # This field will only be populated for dynamic routes generated by
1237 # Cloud Router with a linked interconnectAttachment or the static route
1238 # generated by each L2 Interconnect Attachment.
1239 &quot;nextHopIp&quot;: &quot;A String&quot;, # The network IP address of an instance that should handle matching packets.
1240 # Both IPv6 address and IPv4 addresses are supported.
1241 # Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or
1242 # an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or
1243 # 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952
1244 # compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an
1245 # IPv4-mapped IPv6 address.
1246 &quot;nextHopMed&quot;: 42, # Output only. [Output Only] Multi-Exit Discriminator, a BGP route metric that indicates
1247 # the desirability of a particular route in a network.
1248 &quot;nextHopNetwork&quot;: &quot;A String&quot;, # The URL of the local network if it should handle matching packets.
1249 &quot;nextHopOrigin&quot;: &quot;A String&quot;, # Output only. [Output Only] Indicates the origin of the route. Can be IGP
1250 # (Interior Gateway Protocol), EGP (Exterior Gateway Protocol),
1251 # or INCOMPLETE.
1252 &quot;nextHopPeering&quot;: &quot;A String&quot;, # Output only. [Output Only] The network peering name that should handle matching packets,
1253 # which should conform to RFC1035.
1254 &quot;nextHopVpnTunnel&quot;: &quot;A String&quot;, # The URL to a VpnTunnel that should handle matching packets.
1255 &quot;params&quot;: { # Additional route parameters. # Input only. [Input Only] Additional params passed with the request, but not persisted
1256 # as part of resource payload.
1257 &quot;resourceManagerTags&quot;: { # Tag keys/values directly bound to this resource.
1258 # Tag keys and values have the same definition as resource
1259 # manager tags. The field is allowed for INSERT
1260 # only. The keys/values to set on the resource should be specified in
1261 # either ID { : } or Namespaced format
1262 # { : }.
1263 # For example the following are valid inputs:
1264 # * {&quot;tagKeys/333&quot; : &quot;tagValues/444&quot;, &quot;tagKeys/123&quot; : &quot;tagValues/456&quot;}
1265 # * {&quot;123/environment&quot; : &quot;production&quot;, &quot;345/abc&quot; : &quot;xyz&quot;}
1266 # Note:
1267 # * Invalid combinations of ID &amp; namespaced format is not supported. For
1268 # instance: {&quot;123/environment&quot; : &quot;tagValues/444&quot;} is invalid.
1269 &quot;a_key&quot;: &quot;A String&quot;,
1270 },
1271 },
1272 &quot;priority&quot;: 42, # The priority of this route. Priority is used to break ties in cases
1273 # where there is more than one matching route of equal prefix length. In
1274 # cases where multiple routes have equal prefix length, the one with the
1275 # lowest-numbered priority value wins. The default value is `1000`. The
1276 # priority value must be from `0` to `65535`, inclusive.
1277 &quot;routeStatus&quot;: &quot;A String&quot;, # [Output only] The status of the route. This status applies to
1278 # dynamic routes learned by Cloud Routers. It is also applicable to routes
1279 # undergoing migration.
1280 &quot;routeType&quot;: &quot;A String&quot;, # Output only. [Output Only] The type of this route, which can be one of the following
1281 # values:
1282 # - &#x27;TRANSIT&#x27; for a transit route that this router learned from
1283 # another Cloud Router and will readvertise to one of its BGP peers
1284 # - &#x27;SUBNET&#x27; for a route from a subnet of the VPC
1285 # - &#x27;BGP&#x27; for a route learned from a BGP peer of this router
1286 # - &#x27;STATIC&#x27; for a static route
1287 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined fully-qualified URL for this resource.
1288 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
1289 &quot;tags&quot;: [ # A list of instance tags to which this route applies.
1290 &quot;A String&quot;,
1291 ],
1292 &quot;warnings&quot;: [ # Output only. [Output Only] If potential misconfigurations are detected for this
1293 # route, this field will be populated with warning messages.
1294 {
1295 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1296 # Engine returns NO_RESULTS_ON_PAGE if there
1297 # are no results in the response.
1298 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1299 # value format. For example:
1300 #
1301 # &quot;data&quot;: [
1302 # {
1303 # &quot;key&quot;: &quot;scope&quot;,
1304 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1305 # }
1306 {
1307 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1308 # returned. For example, for warnings where there are no results in a list
1309 # request for a particular zone, this key might be scope and
1310 # the key value might be the zone name. Other examples might be a key
1311 # indicating a deprecated resource and a suggested replacement, or a
1312 # warning about invalid network settings (for example, if an instance
1313 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1314 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1315 },
1316 ],
1317 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1318 },
1319 ],
1320 },
1321 ],
1322 &quot;kind&quot;: &quot;compute#routeList&quot;, # Output only. Type of resource.
1323 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for
1324 # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
1325 # the query parameter pageToken in the next list request.
1326 # Subsequent list requests will have their own nextPageToken to
1327 # continue paging through the results.
1328 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource.
1329 &quot;warning&quot;: { # [Output Only] Informational warning message.
1330 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1331 # Engine returns NO_RESULTS_ON_PAGE if there
1332 # are no results in the response.
1333 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1334 # value format. For example:
1335 #
1336 # &quot;data&quot;: [
1337 # {
1338 # &quot;key&quot;: &quot;scope&quot;,
1339 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1340 # }
1341 {
1342 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1343 # returned. For example, for warnings where there are no results in a list
1344 # request for a particular zone, this key might be scope and
1345 # the key value might be the zone name. Other examples might be a key
1346 # indicating a deprecated resource and a suggested replacement, or a
1347 # warning about invalid network settings (for example, if an instance
1348 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1349 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1350 },
1351 ],
1352 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1353 },
1354 }</pre>
1355 </div>
1356
1357 <div class="method">
1358 <code class="details" id="list_next">list_next()</code>
1359 <pre>Retrieves the next page of results.
1360
1361 Args:
1362 previous_request: The request for the previous page. (required)
1363 previous_response: The response from the request for the previous page. (required)
1364
1365 Returns:
1366 A request object that you can call &#x27;execute()&#x27; on to request the next
1367 page. Returns None if there are no more items in the collection.
1368 </pre>
1369 </div>
1370
1371 <div class="method">
1372 <code class="details" id="testIamPermissions">testIamPermissions(project, resource, body=None, x__xgafv=None)</code>
1373 <pre>Returns permissions that a caller has on the specified resource.
1374
1375 Args:
1376 project: string, Project ID for this request. (required)
1377 resource: string, Name or id of the resource for this request. (required)
1378 body: object, The request body.
1379 The object takes the form of:
1380
1381 {
1382 &quot;permissions&quot;: [ # The set of permissions to check for the &#x27;resource&#x27;. Permissions with
1383 # wildcards (such as &#x27;*&#x27; or &#x27;storage.*&#x27;) are not allowed.
1384 &quot;A String&quot;,
1385 ],
1386 }
1387
1388 x__xgafv: string, V1 error format.
1389 Allowed values
1390 1 - v1 error format
1391 2 - v2 error format
1392
1393 Returns:
1394 An object of the form:
1395
1396 {
1397 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is
1398 # allowed.
1399 &quot;A String&quot;,
1400 ],
1401 }</pre>
1402 </div>
1403
1404 </body></html>