Debian Codegraph @

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