Debian Codegraph @

docs/dyn/compute_beta.publicDelegatedPrefixes.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="compute_beta.html">Compute Engine API</a> . <a href="compute_beta.publicDelegatedPrefixes.html">publicDelegatedPrefixes</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">Lists all PublicDelegatedPrefix resources owned by the specific project</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="#announce">announce(project, region, publicDelegatedPrefix, requestId=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Announces the specified PublicDelegatedPrefix in the given region.</p>
86 <p class="toc_element">
87 <code><a href="#close">close()</a></code></p>
88 <p class="firstline">Close httplib2 connections.</p>
89 <p class="toc_element">
90 <code><a href="#delete">delete(project, region, publicDelegatedPrefix, requestId=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Deletes the specified PublicDelegatedPrefix in the given region.</p>
92 <p class="toc_element">
93 <code><a href="#get">get(project, region, publicDelegatedPrefix, x__xgafv=None)</a></code></p>
94 <p class="firstline">Returns the specified PublicDelegatedPrefix resource in the given region.</p>
95 <p class="toc_element">
96 <code><a href="#insert">insert(project, region, body=None, requestId=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Creates a PublicDelegatedPrefix in the specified project in the given</p>
98 <p class="toc_element">
99 <code><a href="#list">list(project, region, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Lists the PublicDelegatedPrefixes for a project in the given region.</p>
101 <p class="toc_element">
102 <code><a href="#list_next">list_next()</a></code></p>
103 <p class="firstline">Retrieves the next page of results.</p>
104 <p class="toc_element">
105 <code><a href="#patch">patch(project, region, publicDelegatedPrefix, body=None, requestId=None, x__xgafv=None)</a></code></p>
106 <p class="firstline">Patches the specified PublicDelegatedPrefix resource with the data included</p>
107 <p class="toc_element">
108 <code><a href="#withdraw">withdraw(project, region, publicDelegatedPrefix, requestId=None, x__xgafv=None)</a></code></p>
109 <p class="firstline">Withdraws the specified PublicDelegatedPrefix in the given region.</p>
110 <h3>Method Details</h3>
111 <div class="method">
112 <code class="details" id="aggregatedList">aggregatedList(project, filter=None, includeAllScopes=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, serviceProjectNumber=None, x__xgafv=None)</code>
113 <pre>Lists all PublicDelegatedPrefix resources owned by the specific project
114 across all scopes.
115
116 To prevent failure, Google recommends that you set the
117 `returnPartialSuccess` parameter to `true`.
118
119 Args:
120 project: string, Name of the project scoping this request. (required)
121 filter: string, A filter expression that filters resources listed in the response. Most
122 Compute resources support two types of filter expressions:
123 expressions that support regular expressions and expressions that follow
124 API improvement proposal AIP-160.
125 These two types of filter expressions cannot be mixed in one request.
126
127 If you want to use AIP-160, your expression must specify the field name, an
128 operator, and the value that you want to use for filtering. The value
129 must be a string, a number, or a boolean. The operator
130 must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`.
131
132 For example, if you are filtering Compute Engine instances, you can
133 exclude instances named `example-instance` by specifying
134 `name != example-instance`.
135
136 The `:*` comparison can be used to test whether a key has been defined.
137 For example, to find all objects with `owner` label use:
138 ```
139 labels.owner:*
140 ```
141
142 You can also filter nested fields. For example, you could specify
143 `scheduling.automaticRestart = false` to include instances only
144 if they are not scheduled for automatic restarts. You can use filtering
145 on nested fields to filter based onresource labels.
146
147 To filter on multiple expressions, provide each separate expression within
148 parentheses. For example:
149 ```
150 (scheduling.automaticRestart = true)
151 (cpuPlatform = &quot;Intel Skylake&quot;)
152 ```
153 By default, each expression is an `AND` expression. However, you
154 can include `AND` and `OR` expressions explicitly.
155 For example:
156 ```
157 (cpuPlatform = &quot;Intel Skylake&quot;) OR
158 (cpuPlatform = &quot;Intel Broadwell&quot;) AND
159 (scheduling.automaticRestart = true)
160 ```
161
162 If you want to use a regular expression, use the `eq` (equal) or `ne`
163 (not equal) operator against a single un-parenthesized expression with or
164 without quotes or against multiple parenthesized expressions. Examples:
165
166 `fieldname eq unquoted literal`
167 `fieldname eq &#x27;single quoted literal&#x27;`
168 `fieldname eq &quot;double quoted literal&quot;`
169 `(fieldname1 eq literal) (fieldname2 ne &quot;literal&quot;)`
170
171 The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
172 The literal value must match the entire field.
173
174 For example, to filter for instances that do not end with name &quot;instance&quot;,
175 you would use `name ne .*instance`.
176
177 You cannot combine constraints on multiple fields using regular
178 expressions.
179 includeAllScopes: boolean, Indicates whether every visible scope for each scope type (zone, region,
180 global) should be included in the response. For new resource types added
181 after this field, the flag has no effect as new resource types will always
182 include every visible scope for each scope type in response. For resource
183 types which predate this field, if this flag is omitted or false, only
184 scopes of the scope types where the resource type is expected to be found
185 will be included.
186 maxResults: integer, The maximum number of results per page that should be returned.
187 If the number of available results is larger than `maxResults`,
188 Compute Engine returns a `nextPageToken` that can be used to get
189 the next page of results in subsequent list requests. Acceptable values are
190 `0` to `500`, inclusive. (Default: `500`)
191 orderBy: string, Sorts list results by a certain order. By default, results
192 are returned in alphanumerical order based on the resource name.
193
194 You can also sort results in descending order based on the creation
195 timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts
196 results based on the `creationTimestamp` field in
197 reverse chronological order (newest result first). Use this to sort
198 resources like operations so that the newest operation is returned first.
199
200 Currently, only sorting by `name` or
201 `creationTimestamp desc` is supported.
202 pageToken: string, Specifies a page token to use. Set `pageToken` to the
203 `nextPageToken` returned by a previous list request to get
204 the next page of results.
205 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case
206 of failure. The default value is false.
207
208 For example, when partial success behavior is enabled, aggregatedList for a
209 single zone scope either returns all resources in the zone or no resources,
210 with an error code.
211 serviceProjectNumber: string, The Shared VPC service project id or service project number for which
212 aggregated list request is invoked for subnetworks list-usable api.
213 x__xgafv: string, V1 error format.
214 Allowed values
215 1 - v1 error format
216 2 - v2 error format
217
218 Returns:
219 An object of the form:
220
221 {
222 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
223 &quot;items&quot;: { # A list of PublicDelegatedPrefixesScopedList resources.
224 &quot;a_key&quot;: { # [Output Only] Name of the scope containing this set of
225 # PublicDelegatedPrefixes.
226 &quot;publicDelegatedPrefixes&quot;: [ # [Output Only] A list of PublicDelegatedPrefixes contained in this scope.
227 { # A PublicDelegatedPrefix resource represents an IP block within a
228 # PublicAdvertisedPrefix that is configured within a single cloud scope
229 # (global or region). IPs in the block can be allocated to resources within
230 # that scope. Public delegated prefixes may be further broken up into
231 # smaller IP blocks in the same scope as the parent block.
232 &quot;allocatablePrefixLength&quot;: 42, # The allocatable prefix length supported by this public delegated prefix.
233 # This field is optional and cannot be set for prefixes in DELEGATION mode.
234 # It cannot be set for IPv4 prefixes either, and it always defaults to 32.
235 &quot;byoipApiVersion&quot;: &quot;A String&quot;, # Output only. [Output Only] The version of BYOIP API.
236 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
237 # text format.
238 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
239 # create the resource.
240 &quot;enableEnhancedIpv4Allocation&quot;: True or False, # Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations.
241 # Applicable for IPv4 PDPs only.
242 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object.
243 # This field is used in optimistic locking. This field will be ignored when
244 # inserting a new PublicDelegatedPrefix. An up-to-date
245 # fingerprint must be provided in order to update thePublicDelegatedPrefix, otherwise the request will fail with
246 # error 412 conditionNotMet.
247 #
248 # To see the latest fingerprint, make a get() request to
249 # retrieve a PublicDelegatedPrefix.
250 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource type. The server
251 # generates this identifier.
252 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IP address range, in CIDR format, represented by this public
253 # delegated prefix.
254 &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Output only. [Output Only] The internet access type for IPv6 Public Delegated Prefixes.
255 # Inherited from parent prefix.
256 &quot;isLiveMigration&quot;: True or False, # If true, the prefix will be live migrated.
257 &quot;kind&quot;: &quot;compute#publicDelegatedPrefix&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefix for public delegated prefixes.
258 &quot;mode&quot;: &quot;A String&quot;, # The public delegated prefix mode for IPv6 only.
259 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
260 # The name must be 1-63 characters long, and comply withRFC1035.
261 # Specifically, the name must be 1-63 characters long and match the regular
262 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
263 # character must be a lowercase letter, and all following characters must
264 # be a dash, lowercase letter, or digit, except the last character, which
265 # cannot be a dash.
266 &quot;parentPrefix&quot;: &quot;A String&quot;, # The URL of parent prefix. Either PublicAdvertisedPrefix or
267 # PublicDelegatedPrefix.
268 &quot;publicDelegatedSubPrefixs&quot;: [ # The list of sub public delegated prefixes that exist for this public
269 # delegated prefix.
270 { # Represents a sub PublicDelegatedPrefix.
271 &quot;allocatablePrefixLength&quot;: 42, # The allocatable prefix length supported by this PublicDelegatedSubPrefix.
272 &quot;delegateeProject&quot;: &quot;A String&quot;, # Name of the project scoping this PublicDelegatedSubPrefix.
273 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
274 # create the resource.
275 &quot;enableEnhancedIpv4Allocation&quot;: True or False, # Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations.
276 # Applicable for IPv4 PDPs only.
277 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IP address range, in CIDR format, represented by this sub public
278 # delegated prefix.
279 &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Output only. [Output Only] The internet access type for IPv6 Public Delegated Sub
280 # Prefixes. Inherited from parent prefix.
281 &quot;isAddress&quot;: True or False, # Whether the sub prefix is delegated to create Address resources in the
282 # delegatee project.
283 &quot;mode&quot;: &quot;A String&quot;, # The PublicDelegatedSubPrefix mode for IPv6 only.
284 &quot;name&quot;: &quot;A String&quot;, # The name of the sub public delegated prefix.
285 &quot;purpose&quot;: &quot;A String&quot;, # Output only. [Output Only] The purpose of the sub public delegated prefix. Inherited
286 # from parent prefix.
287 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] The region of the sub public delegated prefix if it is
288 # regional. If absent, the sub prefix is global.
289 &quot;status&quot;: &quot;A String&quot;, # Output only. [Output Only] The status of the sub public delegated prefix.
290 },
291 ],
292 &quot;purpose&quot;: &quot;A String&quot;, # Immutable. The purpose of the public delegated prefix.
293 #
294 # This field can only be set for the top-level global public delegated
295 # prefix. It is an output-only field for the sub-delegates that inherit the
296 # value from the top-level global public delegated prefix. Once the value is
297 # set, it cannot be changed.
298 #
299 # The field cannot be set for regional public delegated prefixes.
300 #
301 # The supported values are:
302 #
303 #
304 # - APPLICATION_AND_PROXY_LOAD_BALANCERS: The global public
305 # delegated prefix can only be used by Global External Application and
306 # Proxy Load Balancers to allocate addresses for forwarding rules. This is
307 # the default value.
308 # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0: The
309 # global public delegated prefix can only be used by Global External
310 # Passthrough Network Load Balancers to allocate Availability Group 0
311 # addresses for forwarding rules.
312 # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1: The
313 # global public delegated prefix can only be used by Global External
314 # Passthrough Network Load Balancers to allocate Availability Group 1
315 # addresses for forwarding rules.
316 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the public delegated prefix resides.
317 # This field applies only to the region resource. You must specify this
318 # field as part of the HTTP request URL. It is not settable as a field in
319 # the request body.
320 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
321 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the public delegated prefix, which can be one
322 # of following values:
323 #
324 #
325 # - `INITIALIZING` The public delegated prefix is being initialized and
326 # addresses cannot be created yet.
327 # - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration
328 # prefix and is active.
329 # - `ANNOUNCED` The public delegated prefix is announced and ready to
330 # use.
331 # - `DELETING` The public delegated prefix is being deprovsioned.
332 # - `ACTIVE` The public delegated prefix is ready to use.
333 },
334 ],
335 &quot;warning&quot;: { # [Output Only] Informational warning which replaces the list of
336 # public delegated prefixes when the list is empty.
337 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
338 # Engine returns NO_RESULTS_ON_PAGE if there
339 # are no results in the response.
340 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
341 # value format. For example:
342 #
343 # &quot;data&quot;: [
344 # {
345 # &quot;key&quot;: &quot;scope&quot;,
346 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
347 # }
348 {
349 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
350 # returned. For example, for warnings where there are no results in a list
351 # request for a particular zone, this key might be scope and
352 # the key value might be the zone name. Other examples might be a key
353 # indicating a deprecated resource and a suggested replacement, or a
354 # warning about invalid network settings (for example, if an instance
355 # attempts to perform IP forwarding but is not enabled for IP forwarding).
356 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
357 },
358 ],
359 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
360 },
361 },
362 },
363 &quot;kind&quot;: &quot;compute#publicDelegatedPrefixAggregatedList&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefixAggregatedList for aggregated
364 # lists of public delegated prefixes.
365 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for
366 # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
367 # the query parameter pageToken in the next list request.
368 # Subsequent list requests will have their own nextPageToken to
369 # continue paging through the results.
370 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource.
371 &quot;unreachables&quot;: [ # Output only. [Output Only] Unreachable resources.
372 &quot;A String&quot;,
373 ],
374 &quot;warning&quot;: { # [Output Only] Informational warning message.
375 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
376 # Engine returns NO_RESULTS_ON_PAGE if there
377 # are no results in the response.
378 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
379 # value format. For example:
380 #
381 # &quot;data&quot;: [
382 # {
383 # &quot;key&quot;: &quot;scope&quot;,
384 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
385 # }
386 {
387 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
388 # returned. For example, for warnings where there are no results in a list
389 # request for a particular zone, this key might be scope and
390 # the key value might be the zone name. Other examples might be a key
391 # indicating a deprecated resource and a suggested replacement, or a
392 # warning about invalid network settings (for example, if an instance
393 # attempts to perform IP forwarding but is not enabled for IP forwarding).
394 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
395 },
396 ],
397 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
398 },
399 }</pre>
400 </div>
401
402 <div class="method">
403 <code class="details" id="aggregatedList_next">aggregatedList_next()</code>
404 <pre>Retrieves the next page of results.
405
406 Args:
407 previous_request: The request for the previous page. (required)
408 previous_response: The response from the request for the previous page. (required)
409
410 Returns:
411 A request object that you can call &#x27;execute()&#x27; on to request the next
412 page. Returns None if there are no more items in the collection.
413 </pre>
414 </div>
415
416 <div class="method">
417 <code class="details" id="announce">announce(project, region, publicDelegatedPrefix, requestId=None, x__xgafv=None)</code>
418 <pre>Announces the specified PublicDelegatedPrefix in the given region.
419
420 Args:
421 project: string, Project ID for this request. (required)
422 region: string, The name of theregion where
423 the public delegated prefix is located. It should comply with RFC1035. (required)
424 publicDelegatedPrefix: string, The name of the public delegated prefix. It should comply with RFC1035. (required)
425 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
426 that if you must retry your request, the server will know to ignore the
427 request if it has already been completed.
428
429 For example, consider a situation where you make an initial request and
430 the request times out. If you make the request again with the same
431 request ID, the server can check if original operation with the same
432 request ID was received, and if so, will ignore the second request. This
433 prevents clients from accidentally creating duplicate commitments.
434
435 The request ID must be
436 a valid UUID with the exception that zero UUID is not supported
437 (00000000-0000-0000-0000-000000000000).
438 x__xgafv: string, V1 error format.
439 Allowed values
440 1 - v1 error format
441 2 - v2 error format
442
443 Returns:
444 An object of the form:
445
446 { # Represents an Operation resource.
447 #
448 # Google Compute Engine has three Operation resources:
449 #
450 # * [Global](/compute/docs/reference/rest/beta/globalOperations)
451 # * [Regional](/compute/docs/reference/rest/beta/regionOperations)
452 # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations)
453 #
454 # You can use an operation resource to manage asynchronous API requests.
455 # For more information, readHandling
456 # API responses.
457 #
458 # Operations can be global, regional or zonal.
459 #
460 # - For global operations, use the `globalOperations`
461 # resource.
462 # - For regional operations, use the
463 # `regionOperations` resource.
464 # - For zonal operations, use
465 # the `zoneOperations` resource.
466 #
467 #
468 #
469 # For more information, read
470 # Global, Regional, and Zonal Resources.
471 #
472 # Note that completed Operation resources have a limited
473 # retention period.
474 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
475 # Not present otherwise.
476 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
477 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
478 # set when the operation is created.
479 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
480 # text format.
481 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
482 # this field will be populated.
483 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
484 # operation.
485 {
486 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
487 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
488 # details. There is a set of defined message types to use for providing
489 # details.The syntax depends on the error code. For example,
490 # QuotaExceededInfo will have details when the error code is
491 # QUOTA_EXCEEDED.
492 {
493 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
494 #
495 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
496 # is not enabled:
497 #
498 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
499 # &quot;domain&quot;: &quot;googleapis.com&quot;
500 # &quot;metadata&quot;: {
501 # &quot;resource&quot;: &quot;projects/123&quot;,
502 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
503 # }
504 # }
505 #
506 # This response indicates that the pubsub.googleapis.com API is not enabled.
507 #
508 # Example of an error that is returned when attempting to create a Spanner
509 # instance in a region that is out of stock:
510 #
511 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
512 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
513 # &quot;metadata&quot;: {
514 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
515 # }
516 # }
517 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
518 # is typically the registered service name of the tool or product that
519 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
520 # generated by some common infrastructure, the error domain must be a
521 # globally unique value that identifies the infrastructure. For Google API
522 # infrastructure, the error domain is &quot;googleapis.com&quot;.
523 &quot;metadatas&quot;: { # Additional structured details about this error.
524 #
525 # Keys must match a regular expression of `a-z+` but should
526 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
527 # length. When identifying the current value of an exceeded limit, the units
528 # should be contained in the key, not the value. For example, rather than
529 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
530 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
531 # instances that can be created in a single (batch) request.
532 &quot;a_key&quot;: &quot;A String&quot;,
533 },
534 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
535 # proximate cause of the error. Error reasons are unique within a particular
536 # domain of errors. This should be at most 63 characters and match a
537 # regular expression of `A-Z+[A-Z0-9]`, which represents
538 # UPPER_SNAKE_CASE.
539 },
540 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
541 #
542 # For example, if a quota check failed with an error indicating the calling
543 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
544 # directly to the right place in the developer console to flip the bit.
545 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
546 { # Describes a URL link.
547 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
548 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
549 },
550 ],
551 },
552 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
553 # which can be attached to an RPC error.
554 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
555 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
556 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
557 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
558 },
559 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
560 &quot;dimensions&quot;: { # The map holding related quota dimensions.
561 &quot;a_key&quot;: &quot;A String&quot;,
562 },
563 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
564 # type or metric.
565 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
566 # or metric.
567 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
568 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
569 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
570 },
571 },
572 ],
573 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
574 # This property is optional.
575 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
576 },
577 ],
578 },
579 &quot;getVersionOperationMetadata&quot;: {
580 &quot;inlineSbomInfo&quot;: {
581 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
582 # appropriate identifiers.
583 &quot;a_key&quot;: &quot;A String&quot;,
584 },
585 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
586 # identifiers.
587 &quot;a_key&quot;: &quot;A String&quot;,
588 },
589 },
590 },
591 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
592 # message that was returned, such as `NOT FOUND`.
593 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
594 # status code that was returned. For example, a `404` means the
595 # resource was not found.
596 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
597 # defined by the server.
598 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
599 # This value is inRFC3339
600 # text format.
601 &quot;instancesBulkInsertOperationMetadata&quot;: {
602 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
603 # Example key: zones/us-central1-a
604 &quot;a_key&quot;: {
605 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
606 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
607 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
608 # error.
609 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
610 # if the flow is rolling forward or rolling back.
611 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
612 },
613 },
614 },
615 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
616 # Operation resources.
617 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
618 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
619 # group of operations results from a `bulkInsert` API request.
620 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
621 # `update`, or `delete`, and so on.
622 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
623 # There is no requirement that this be linear or support any granularity of
624 # operations. This should not be used to guess when the operation will be
625 # complete. This number should monotonically increase as the operation
626 # progresses.
627 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
628 # applicable when performing regional operations.
629 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
630 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
631 # this field will contain information on all underlying zonal actions and
632 # their state.
633 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
634 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
635 # Example key: zones/us-central1-a
636 &quot;a_key&quot;: {
637 &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
638 # populated.
639 # different programming environments, including REST APIs and RPC APIs. It is
640 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
641 # three pieces of data: error code, error message, and error details.
642 #
643 # You can find out more about this error model and how to work with it in the
644 # [API Design Guide](https://cloud.google.com/apis/design/errors).
645 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
646 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
647 # message types for APIs to use.
648 {
649 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
650 },
651 ],
652 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
653 # user-facing error message should be localized and sent in the
654 # google.rpc.Status.details field, or localized by the client.
655 },
656 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
657 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
658 },
659 },
660 },
661 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
662 # This value is inRFC3339
663 # text format.
664 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
665 # following:
666 # `PENDING`, `RUNNING`, or `DONE`.
667 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
668 # operation.
669 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
670 # of the target resource.
671 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
672 # operations related to creating a snapshot, this points to the disk
673 # that the snapshot was created from.
674 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
675 # `[email protected]` or
676 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
677 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
678 # operation, this field will be populated.
679 {
680 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
681 # Engine returns NO_RESULTS_ON_PAGE if there
682 # are no results in the response.
683 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
684 # value format. For example:
685 #
686 # &quot;data&quot;: [
687 # {
688 # &quot;key&quot;: &quot;scope&quot;,
689 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
690 # }
691 {
692 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
693 # returned. For example, for warnings where there are no results in a list
694 # request for a particular zone, this key might be scope and
695 # the key value might be the zone name. Other examples might be a key
696 # indicating a deprecated resource and a suggested replacement, or a
697 # warning about invalid network settings (for example, if an instance
698 # attempts to perform IP forwarding but is not enabled for IP forwarding).
699 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
700 },
701 ],
702 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
703 },
704 ],
705 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
706 # applicable when performing per-zone operations.
707 }</pre>
708 </div>
709
710 <div class="method">
711 <code class="details" id="close">close()</code>
712 <pre>Close httplib2 connections.</pre>
713 </div>
714
715 <div class="method">
716 <code class="details" id="delete">delete(project, region, publicDelegatedPrefix, requestId=None, x__xgafv=None)</code>
717 <pre>Deletes the specified PublicDelegatedPrefix in the given region.
718
719 Args:
720 project: string, Project ID for this request. (required)
721 region: string, Name of the region of this request. (required)
722 publicDelegatedPrefix: string, Name of the PublicDelegatedPrefix resource to delete. (required)
723 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
724 that if you must retry your request, the server will know to ignore the
725 request if it has already been completed.
726
727 For example, consider a situation where you make an initial request and
728 the request times out. If you make the request again with the same
729 request ID, the server can check if original operation with the same
730 request ID was received, and if so, will ignore the second request. This
731 prevents clients from accidentally creating duplicate commitments.
732
733 The request ID must be
734 a valid UUID with the exception that zero UUID is not supported
735 (00000000-0000-0000-0000-000000000000).
736 x__xgafv: string, V1 error format.
737 Allowed values
738 1 - v1 error format
739 2 - v2 error format
740
741 Returns:
742 An object of the form:
743
744 { # Represents an Operation resource.
745 #
746 # Google Compute Engine has three Operation resources:
747 #
748 # * [Global](/compute/docs/reference/rest/beta/globalOperations)
749 # * [Regional](/compute/docs/reference/rest/beta/regionOperations)
750 # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations)
751 #
752 # You can use an operation resource to manage asynchronous API requests.
753 # For more information, readHandling
754 # API responses.
755 #
756 # Operations can be global, regional or zonal.
757 #
758 # - For global operations, use the `globalOperations`
759 # resource.
760 # - For regional operations, use the
761 # `regionOperations` resource.
762 # - For zonal operations, use
763 # the `zoneOperations` resource.
764 #
765 #
766 #
767 # For more information, read
768 # Global, Regional, and Zonal Resources.
769 #
770 # Note that completed Operation resources have a limited
771 # retention period.
772 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
773 # Not present otherwise.
774 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
775 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
776 # set when the operation is created.
777 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
778 # text format.
779 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
780 # this field will be populated.
781 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
782 # operation.
783 {
784 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
785 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
786 # details. There is a set of defined message types to use for providing
787 # details.The syntax depends on the error code. For example,
788 # QuotaExceededInfo will have details when the error code is
789 # QUOTA_EXCEEDED.
790 {
791 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
792 #
793 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
794 # is not enabled:
795 #
796 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
797 # &quot;domain&quot;: &quot;googleapis.com&quot;
798 # &quot;metadata&quot;: {
799 # &quot;resource&quot;: &quot;projects/123&quot;,
800 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
801 # }
802 # }
803 #
804 # This response indicates that the pubsub.googleapis.com API is not enabled.
805 #
806 # Example of an error that is returned when attempting to create a Spanner
807 # instance in a region that is out of stock:
808 #
809 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
810 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
811 # &quot;metadata&quot;: {
812 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
813 # }
814 # }
815 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
816 # is typically the registered service name of the tool or product that
817 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
818 # generated by some common infrastructure, the error domain must be a
819 # globally unique value that identifies the infrastructure. For Google API
820 # infrastructure, the error domain is &quot;googleapis.com&quot;.
821 &quot;metadatas&quot;: { # Additional structured details about this error.
822 #
823 # Keys must match a regular expression of `a-z+` but should
824 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
825 # length. When identifying the current value of an exceeded limit, the units
826 # should be contained in the key, not the value. For example, rather than
827 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
828 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
829 # instances that can be created in a single (batch) request.
830 &quot;a_key&quot;: &quot;A String&quot;,
831 },
832 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
833 # proximate cause of the error. Error reasons are unique within a particular
834 # domain of errors. This should be at most 63 characters and match a
835 # regular expression of `A-Z+[A-Z0-9]`, which represents
836 # UPPER_SNAKE_CASE.
837 },
838 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
839 #
840 # For example, if a quota check failed with an error indicating the calling
841 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
842 # directly to the right place in the developer console to flip the bit.
843 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
844 { # Describes a URL link.
845 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
846 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
847 },
848 ],
849 },
850 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
851 # which can be attached to an RPC error.
852 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
853 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
854 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
855 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
856 },
857 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
858 &quot;dimensions&quot;: { # The map holding related quota dimensions.
859 &quot;a_key&quot;: &quot;A String&quot;,
860 },
861 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
862 # type or metric.
863 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
864 # or metric.
865 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
866 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
867 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
868 },
869 },
870 ],
871 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
872 # This property is optional.
873 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
874 },
875 ],
876 },
877 &quot;getVersionOperationMetadata&quot;: {
878 &quot;inlineSbomInfo&quot;: {
879 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
880 # appropriate identifiers.
881 &quot;a_key&quot;: &quot;A String&quot;,
882 },
883 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
884 # identifiers.
885 &quot;a_key&quot;: &quot;A String&quot;,
886 },
887 },
888 },
889 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
890 # message that was returned, such as `NOT FOUND`.
891 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
892 # status code that was returned. For example, a `404` means the
893 # resource was not found.
894 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
895 # defined by the server.
896 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
897 # This value is inRFC3339
898 # text format.
899 &quot;instancesBulkInsertOperationMetadata&quot;: {
900 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
901 # Example key: zones/us-central1-a
902 &quot;a_key&quot;: {
903 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
904 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
905 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
906 # error.
907 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
908 # if the flow is rolling forward or rolling back.
909 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
910 },
911 },
912 },
913 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
914 # Operation resources.
915 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
916 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
917 # group of operations results from a `bulkInsert` API request.
918 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
919 # `update`, or `delete`, and so on.
920 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
921 # There is no requirement that this be linear or support any granularity of
922 # operations. This should not be used to guess when the operation will be
923 # complete. This number should monotonically increase as the operation
924 # progresses.
925 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
926 # applicable when performing regional operations.
927 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
928 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
929 # this field will contain information on all underlying zonal actions and
930 # their state.
931 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
932 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
933 # Example key: zones/us-central1-a
934 &quot;a_key&quot;: {
935 &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
936 # populated.
937 # different programming environments, including REST APIs and RPC APIs. It is
938 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
939 # three pieces of data: error code, error message, and error details.
940 #
941 # You can find out more about this error model and how to work with it in the
942 # [API Design Guide](https://cloud.google.com/apis/design/errors).
943 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
944 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
945 # message types for APIs to use.
946 {
947 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
948 },
949 ],
950 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
951 # user-facing error message should be localized and sent in the
952 # google.rpc.Status.details field, or localized by the client.
953 },
954 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
955 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
956 },
957 },
958 },
959 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
960 # This value is inRFC3339
961 # text format.
962 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
963 # following:
964 # `PENDING`, `RUNNING`, or `DONE`.
965 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
966 # operation.
967 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
968 # of the target resource.
969 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
970 # operations related to creating a snapshot, this points to the disk
971 # that the snapshot was created from.
972 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
973 # `[email protected]` or
974 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
975 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
976 # operation, this field will be populated.
977 {
978 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
979 # Engine returns NO_RESULTS_ON_PAGE if there
980 # are no results in the response.
981 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
982 # value format. For example:
983 #
984 # &quot;data&quot;: [
985 # {
986 # &quot;key&quot;: &quot;scope&quot;,
987 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
988 # }
989 {
990 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
991 # returned. For example, for warnings where there are no results in a list
992 # request for a particular zone, this key might be scope and
993 # the key value might be the zone name. Other examples might be a key
994 # indicating a deprecated resource and a suggested replacement, or a
995 # warning about invalid network settings (for example, if an instance
996 # attempts to perform IP forwarding but is not enabled for IP forwarding).
997 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
998 },
999 ],
1000 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1001 },
1002 ],
1003 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
1004 # applicable when performing per-zone operations.
1005 }</pre>
1006 </div>
1007
1008 <div class="method">
1009 <code class="details" id="get">get(project, region, publicDelegatedPrefix, x__xgafv=None)</code>
1010 <pre>Returns the specified PublicDelegatedPrefix resource in the given region.
1011
1012 Args:
1013 project: string, Project ID for this request. (required)
1014 region: string, Name of the region of this request. (required)
1015 publicDelegatedPrefix: string, Name of the PublicDelegatedPrefix resource to return. (required)
1016 x__xgafv: string, V1 error format.
1017 Allowed values
1018 1 - v1 error format
1019 2 - v2 error format
1020
1021 Returns:
1022 An object of the form:
1023
1024 { # A PublicDelegatedPrefix resource represents an IP block within a
1025 # PublicAdvertisedPrefix that is configured within a single cloud scope
1026 # (global or region). IPs in the block can be allocated to resources within
1027 # that scope. Public delegated prefixes may be further broken up into
1028 # smaller IP blocks in the same scope as the parent block.
1029 &quot;allocatablePrefixLength&quot;: 42, # The allocatable prefix length supported by this public delegated prefix.
1030 # This field is optional and cannot be set for prefixes in DELEGATION mode.
1031 # It cannot be set for IPv4 prefixes either, and it always defaults to 32.
1032 &quot;byoipApiVersion&quot;: &quot;A String&quot;, # Output only. [Output Only] The version of BYOIP API.
1033 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
1034 # text format.
1035 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
1036 # create the resource.
1037 &quot;enableEnhancedIpv4Allocation&quot;: True or False, # Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations.
1038 # Applicable for IPv4 PDPs only.
1039 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object.
1040 # This field is used in optimistic locking. This field will be ignored when
1041 # inserting a new PublicDelegatedPrefix. An up-to-date
1042 # fingerprint must be provided in order to update thePublicDelegatedPrefix, otherwise the request will fail with
1043 # error 412 conditionNotMet.
1044 #
1045 # To see the latest fingerprint, make a get() request to
1046 # retrieve a PublicDelegatedPrefix.
1047 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource type. The server
1048 # generates this identifier.
1049 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IP address range, in CIDR format, represented by this public
1050 # delegated prefix.
1051 &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Output only. [Output Only] The internet access type for IPv6 Public Delegated Prefixes.
1052 # Inherited from parent prefix.
1053 &quot;isLiveMigration&quot;: True or False, # If true, the prefix will be live migrated.
1054 &quot;kind&quot;: &quot;compute#publicDelegatedPrefix&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefix for public delegated prefixes.
1055 &quot;mode&quot;: &quot;A String&quot;, # The public delegated prefix mode for IPv6 only.
1056 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
1057 # The name must be 1-63 characters long, and comply withRFC1035.
1058 # Specifically, the name must be 1-63 characters long and match the regular
1059 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
1060 # character must be a lowercase letter, and all following characters must
1061 # be a dash, lowercase letter, or digit, except the last character, which
1062 # cannot be a dash.
1063 &quot;parentPrefix&quot;: &quot;A String&quot;, # The URL of parent prefix. Either PublicAdvertisedPrefix or
1064 # PublicDelegatedPrefix.
1065 &quot;publicDelegatedSubPrefixs&quot;: [ # The list of sub public delegated prefixes that exist for this public
1066 # delegated prefix.
1067 { # Represents a sub PublicDelegatedPrefix.
1068 &quot;allocatablePrefixLength&quot;: 42, # The allocatable prefix length supported by this PublicDelegatedSubPrefix.
1069 &quot;delegateeProject&quot;: &quot;A String&quot;, # Name of the project scoping this PublicDelegatedSubPrefix.
1070 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
1071 # create the resource.
1072 &quot;enableEnhancedIpv4Allocation&quot;: True or False, # Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations.
1073 # Applicable for IPv4 PDPs only.
1074 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IP address range, in CIDR format, represented by this sub public
1075 # delegated prefix.
1076 &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Output only. [Output Only] The internet access type for IPv6 Public Delegated Sub
1077 # Prefixes. Inherited from parent prefix.
1078 &quot;isAddress&quot;: True or False, # Whether the sub prefix is delegated to create Address resources in the
1079 # delegatee project.
1080 &quot;mode&quot;: &quot;A String&quot;, # The PublicDelegatedSubPrefix mode for IPv6 only.
1081 &quot;name&quot;: &quot;A String&quot;, # The name of the sub public delegated prefix.
1082 &quot;purpose&quot;: &quot;A String&quot;, # Output only. [Output Only] The purpose of the sub public delegated prefix. Inherited
1083 # from parent prefix.
1084 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] The region of the sub public delegated prefix if it is
1085 # regional. If absent, the sub prefix is global.
1086 &quot;status&quot;: &quot;A String&quot;, # Output only. [Output Only] The status of the sub public delegated prefix.
1087 },
1088 ],
1089 &quot;purpose&quot;: &quot;A String&quot;, # Immutable. The purpose of the public delegated prefix.
1090 #
1091 # This field can only be set for the top-level global public delegated
1092 # prefix. It is an output-only field for the sub-delegates that inherit the
1093 # value from the top-level global public delegated prefix. Once the value is
1094 # set, it cannot be changed.
1095 #
1096 # The field cannot be set for regional public delegated prefixes.
1097 #
1098 # The supported values are:
1099 #
1100 #
1101 # - APPLICATION_AND_PROXY_LOAD_BALANCERS: The global public
1102 # delegated prefix can only be used by Global External Application and
1103 # Proxy Load Balancers to allocate addresses for forwarding rules. This is
1104 # the default value.
1105 # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0: The
1106 # global public delegated prefix can only be used by Global External
1107 # Passthrough Network Load Balancers to allocate Availability Group 0
1108 # addresses for forwarding rules.
1109 # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1: The
1110 # global public delegated prefix can only be used by Global External
1111 # Passthrough Network Load Balancers to allocate Availability Group 1
1112 # addresses for forwarding rules.
1113 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the public delegated prefix resides.
1114 # This field applies only to the region resource. You must specify this
1115 # field as part of the HTTP request URL. It is not settable as a field in
1116 # the request body.
1117 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
1118 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the public delegated prefix, which can be one
1119 # of following values:
1120 #
1121 #
1122 # - `INITIALIZING` The public delegated prefix is being initialized and
1123 # addresses cannot be created yet.
1124 # - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration
1125 # prefix and is active.
1126 # - `ANNOUNCED` The public delegated prefix is announced and ready to
1127 # use.
1128 # - `DELETING` The public delegated prefix is being deprovsioned.
1129 # - `ACTIVE` The public delegated prefix is ready to use.
1130 }</pre>
1131 </div>
1132
1133 <div class="method">
1134 <code class="details" id="insert">insert(project, region, body=None, requestId=None, x__xgafv=None)</code>
1135 <pre>Creates a PublicDelegatedPrefix in the specified project in the given
1136 region using the parameters that are included in the request.
1137
1138 Args:
1139 project: string, Project ID for this request. (required)
1140 region: string, Name of the region of this request. (required)
1141 body: object, The request body.
1142 The object takes the form of:
1143
1144 { # A PublicDelegatedPrefix resource represents an IP block within a
1145 # PublicAdvertisedPrefix that is configured within a single cloud scope
1146 # (global or region). IPs in the block can be allocated to resources within
1147 # that scope. Public delegated prefixes may be further broken up into
1148 # smaller IP blocks in the same scope as the parent block.
1149 &quot;allocatablePrefixLength&quot;: 42, # The allocatable prefix length supported by this public delegated prefix.
1150 # This field is optional and cannot be set for prefixes in DELEGATION mode.
1151 # It cannot be set for IPv4 prefixes either, and it always defaults to 32.
1152 &quot;byoipApiVersion&quot;: &quot;A String&quot;, # Output only. [Output Only] The version of BYOIP API.
1153 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
1154 # text format.
1155 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
1156 # create the resource.
1157 &quot;enableEnhancedIpv4Allocation&quot;: True or False, # Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations.
1158 # Applicable for IPv4 PDPs only.
1159 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object.
1160 # This field is used in optimistic locking. This field will be ignored when
1161 # inserting a new PublicDelegatedPrefix. An up-to-date
1162 # fingerprint must be provided in order to update thePublicDelegatedPrefix, otherwise the request will fail with
1163 # error 412 conditionNotMet.
1164 #
1165 # To see the latest fingerprint, make a get() request to
1166 # retrieve a PublicDelegatedPrefix.
1167 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource type. The server
1168 # generates this identifier.
1169 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IP address range, in CIDR format, represented by this public
1170 # delegated prefix.
1171 &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Output only. [Output Only] The internet access type for IPv6 Public Delegated Prefixes.
1172 # Inherited from parent prefix.
1173 &quot;isLiveMigration&quot;: True or False, # If true, the prefix will be live migrated.
1174 &quot;kind&quot;: &quot;compute#publicDelegatedPrefix&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefix for public delegated prefixes.
1175 &quot;mode&quot;: &quot;A String&quot;, # The public delegated prefix mode for IPv6 only.
1176 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
1177 # The name must be 1-63 characters long, and comply withRFC1035.
1178 # Specifically, the name must be 1-63 characters long and match the regular
1179 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
1180 # character must be a lowercase letter, and all following characters must
1181 # be a dash, lowercase letter, or digit, except the last character, which
1182 # cannot be a dash.
1183 &quot;parentPrefix&quot;: &quot;A String&quot;, # The URL of parent prefix. Either PublicAdvertisedPrefix or
1184 # PublicDelegatedPrefix.
1185 &quot;publicDelegatedSubPrefixs&quot;: [ # The list of sub public delegated prefixes that exist for this public
1186 # delegated prefix.
1187 { # Represents a sub PublicDelegatedPrefix.
1188 &quot;allocatablePrefixLength&quot;: 42, # The allocatable prefix length supported by this PublicDelegatedSubPrefix.
1189 &quot;delegateeProject&quot;: &quot;A String&quot;, # Name of the project scoping this PublicDelegatedSubPrefix.
1190 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
1191 # create the resource.
1192 &quot;enableEnhancedIpv4Allocation&quot;: True or False, # Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations.
1193 # Applicable for IPv4 PDPs only.
1194 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IP address range, in CIDR format, represented by this sub public
1195 # delegated prefix.
1196 &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Output only. [Output Only] The internet access type for IPv6 Public Delegated Sub
1197 # Prefixes. Inherited from parent prefix.
1198 &quot;isAddress&quot;: True or False, # Whether the sub prefix is delegated to create Address resources in the
1199 # delegatee project.
1200 &quot;mode&quot;: &quot;A String&quot;, # The PublicDelegatedSubPrefix mode for IPv6 only.
1201 &quot;name&quot;: &quot;A String&quot;, # The name of the sub public delegated prefix.
1202 &quot;purpose&quot;: &quot;A String&quot;, # Output only. [Output Only] The purpose of the sub public delegated prefix. Inherited
1203 # from parent prefix.
1204 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] The region of the sub public delegated prefix if it is
1205 # regional. If absent, the sub prefix is global.
1206 &quot;status&quot;: &quot;A String&quot;, # Output only. [Output Only] The status of the sub public delegated prefix.
1207 },
1208 ],
1209 &quot;purpose&quot;: &quot;A String&quot;, # Immutable. The purpose of the public delegated prefix.
1210 #
1211 # This field can only be set for the top-level global public delegated
1212 # prefix. It is an output-only field for the sub-delegates that inherit the
1213 # value from the top-level global public delegated prefix. Once the value is
1214 # set, it cannot be changed.
1215 #
1216 # The field cannot be set for regional public delegated prefixes.
1217 #
1218 # The supported values are:
1219 #
1220 #
1221 # - APPLICATION_AND_PROXY_LOAD_BALANCERS: The global public
1222 # delegated prefix can only be used by Global External Application and
1223 # Proxy Load Balancers to allocate addresses for forwarding rules. This is
1224 # the default value.
1225 # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0: The
1226 # global public delegated prefix can only be used by Global External
1227 # Passthrough Network Load Balancers to allocate Availability Group 0
1228 # addresses for forwarding rules.
1229 # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1: The
1230 # global public delegated prefix can only be used by Global External
1231 # Passthrough Network Load Balancers to allocate Availability Group 1
1232 # addresses for forwarding rules.
1233 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the public delegated prefix resides.
1234 # This field applies only to the region resource. You must specify this
1235 # field as part of the HTTP request URL. It is not settable as a field in
1236 # the request body.
1237 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
1238 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the public delegated prefix, which can be one
1239 # of following values:
1240 #
1241 #
1242 # - `INITIALIZING` The public delegated prefix is being initialized and
1243 # addresses cannot be created yet.
1244 # - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration
1245 # prefix and is active.
1246 # - `ANNOUNCED` The public delegated prefix is announced and ready to
1247 # use.
1248 # - `DELETING` The public delegated prefix is being deprovsioned.
1249 # - `ACTIVE` The public delegated prefix is ready to use.
1250 }
1251
1252 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
1253 that if you must retry your request, the server will know to ignore the
1254 request if it has already been completed.
1255
1256 For example, consider a situation where you make an initial request and
1257 the request times out. If you make the request again with the same
1258 request ID, the server can check if original operation with the same
1259 request ID was received, and if so, will ignore the second request. This
1260 prevents clients from accidentally creating duplicate commitments.
1261
1262 The request ID must be
1263 a valid UUID with the exception that zero UUID is not supported
1264 (00000000-0000-0000-0000-000000000000).
1265 x__xgafv: string, V1 error format.
1266 Allowed values
1267 1 - v1 error format
1268 2 - v2 error format
1269
1270 Returns:
1271 An object of the form:
1272
1273 { # Represents an Operation resource.
1274 #
1275 # Google Compute Engine has three Operation resources:
1276 #
1277 # * [Global](/compute/docs/reference/rest/beta/globalOperations)
1278 # * [Regional](/compute/docs/reference/rest/beta/regionOperations)
1279 # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations)
1280 #
1281 # You can use an operation resource to manage asynchronous API requests.
1282 # For more information, readHandling
1283 # API responses.
1284 #
1285 # Operations can be global, regional or zonal.
1286 #
1287 # - For global operations, use the `globalOperations`
1288 # resource.
1289 # - For regional operations, use the
1290 # `regionOperations` resource.
1291 # - For zonal operations, use
1292 # the `zoneOperations` resource.
1293 #
1294 #
1295 #
1296 # For more information, read
1297 # Global, Regional, and Zonal Resources.
1298 #
1299 # Note that completed Operation resources have a limited
1300 # retention period.
1301 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
1302 # Not present otherwise.
1303 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
1304 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
1305 # set when the operation is created.
1306 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
1307 # text format.
1308 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
1309 # this field will be populated.
1310 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
1311 # operation.
1312 {
1313 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
1314 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
1315 # details. There is a set of defined message types to use for providing
1316 # details.The syntax depends on the error code. For example,
1317 # QuotaExceededInfo will have details when the error code is
1318 # QUOTA_EXCEEDED.
1319 {
1320 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
1321 #
1322 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
1323 # is not enabled:
1324 #
1325 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
1326 # &quot;domain&quot;: &quot;googleapis.com&quot;
1327 # &quot;metadata&quot;: {
1328 # &quot;resource&quot;: &quot;projects/123&quot;,
1329 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
1330 # }
1331 # }
1332 #
1333 # This response indicates that the pubsub.googleapis.com API is not enabled.
1334 #
1335 # Example of an error that is returned when attempting to create a Spanner
1336 # instance in a region that is out of stock:
1337 #
1338 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
1339 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
1340 # &quot;metadata&quot;: {
1341 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
1342 # }
1343 # }
1344 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
1345 # is typically the registered service name of the tool or product that
1346 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
1347 # generated by some common infrastructure, the error domain must be a
1348 # globally unique value that identifies the infrastructure. For Google API
1349 # infrastructure, the error domain is &quot;googleapis.com&quot;.
1350 &quot;metadatas&quot;: { # Additional structured details about this error.
1351 #
1352 # Keys must match a regular expression of `a-z+` but should
1353 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
1354 # length. When identifying the current value of an exceeded limit, the units
1355 # should be contained in the key, not the value. For example, rather than
1356 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
1357 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
1358 # instances that can be created in a single (batch) request.
1359 &quot;a_key&quot;: &quot;A String&quot;,
1360 },
1361 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
1362 # proximate cause of the error. Error reasons are unique within a particular
1363 # domain of errors. This should be at most 63 characters and match a
1364 # regular expression of `A-Z+[A-Z0-9]`, which represents
1365 # UPPER_SNAKE_CASE.
1366 },
1367 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
1368 #
1369 # For example, if a quota check failed with an error indicating the calling
1370 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
1371 # directly to the right place in the developer console to flip the bit.
1372 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
1373 { # Describes a URL link.
1374 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
1375 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
1376 },
1377 ],
1378 },
1379 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
1380 # which can be attached to an RPC error.
1381 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
1382 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
1383 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
1384 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
1385 },
1386 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
1387 &quot;dimensions&quot;: { # The map holding related quota dimensions.
1388 &quot;a_key&quot;: &quot;A String&quot;,
1389 },
1390 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
1391 # type or metric.
1392 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
1393 # or metric.
1394 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
1395 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
1396 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
1397 },
1398 },
1399 ],
1400 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
1401 # This property is optional.
1402 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
1403 },
1404 ],
1405 },
1406 &quot;getVersionOperationMetadata&quot;: {
1407 &quot;inlineSbomInfo&quot;: {
1408 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
1409 # appropriate identifiers.
1410 &quot;a_key&quot;: &quot;A String&quot;,
1411 },
1412 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
1413 # identifiers.
1414 &quot;a_key&quot;: &quot;A String&quot;,
1415 },
1416 },
1417 },
1418 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
1419 # message that was returned, such as `NOT FOUND`.
1420 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
1421 # status code that was returned. For example, a `404` means the
1422 # resource was not found.
1423 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
1424 # defined by the server.
1425 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
1426 # This value is inRFC3339
1427 # text format.
1428 &quot;instancesBulkInsertOperationMetadata&quot;: {
1429 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
1430 # Example key: zones/us-central1-a
1431 &quot;a_key&quot;: {
1432 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
1433 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
1434 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
1435 # error.
1436 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
1437 # if the flow is rolling forward or rolling back.
1438 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
1439 },
1440 },
1441 },
1442 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
1443 # Operation resources.
1444 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
1445 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
1446 # group of operations results from a `bulkInsert` API request.
1447 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
1448 # `update`, or `delete`, and so on.
1449 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
1450 # There is no requirement that this be linear or support any granularity of
1451 # operations. This should not be used to guess when the operation will be
1452 # complete. This number should monotonically increase as the operation
1453 # progresses.
1454 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
1455 # applicable when performing regional operations.
1456 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
1457 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
1458 # this field will contain information on all underlying zonal actions and
1459 # their state.
1460 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
1461 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
1462 # Example key: zones/us-central1-a
1463 &quot;a_key&quot;: {
1464 &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
1465 # populated.
1466 # different programming environments, including REST APIs and RPC APIs. It is
1467 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1468 # three pieces of data: error code, error message, and error details.
1469 #
1470 # You can find out more about this error model and how to work with it in the
1471 # [API Design Guide](https://cloud.google.com/apis/design/errors).
1472 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1473 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
1474 # message types for APIs to use.
1475 {
1476 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1477 },
1478 ],
1479 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
1480 # user-facing error message should be localized and sent in the
1481 # google.rpc.Status.details field, or localized by the client.
1482 },
1483 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
1484 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
1485 },
1486 },
1487 },
1488 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
1489 # This value is inRFC3339
1490 # text format.
1491 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
1492 # following:
1493 # `PENDING`, `RUNNING`, or `DONE`.
1494 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
1495 # operation.
1496 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
1497 # of the target resource.
1498 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
1499 # operations related to creating a snapshot, this points to the disk
1500 # that the snapshot was created from.
1501 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
1502 # `[email protected]` or
1503 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
1504 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
1505 # operation, this field will be populated.
1506 {
1507 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1508 # Engine returns NO_RESULTS_ON_PAGE if there
1509 # are no results in the response.
1510 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1511 # value format. For example:
1512 #
1513 # &quot;data&quot;: [
1514 # {
1515 # &quot;key&quot;: &quot;scope&quot;,
1516 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1517 # }
1518 {
1519 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1520 # returned. For example, for warnings where there are no results in a list
1521 # request for a particular zone, this key might be scope and
1522 # the key value might be the zone name. Other examples might be a key
1523 # indicating a deprecated resource and a suggested replacement, or a
1524 # warning about invalid network settings (for example, if an instance
1525 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1526 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1527 },
1528 ],
1529 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1530 },
1531 ],
1532 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
1533 # applicable when performing per-zone operations.
1534 }</pre>
1535 </div>
1536
1537 <div class="method">
1538 <code class="details" id="list">list(project, region, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
1539 <pre>Lists the PublicDelegatedPrefixes for a project in the given region.
1540
1541 Args:
1542 project: string, Project ID for this request. (required)
1543 region: string, Name of the region of this request. (required)
1544 filter: string, A filter expression that filters resources listed in the response. Most
1545 Compute resources support two types of filter expressions:
1546 expressions that support regular expressions and expressions that follow
1547 API improvement proposal AIP-160.
1548 These two types of filter expressions cannot be mixed in one request.
1549
1550 If you want to use AIP-160, your expression must specify the field name, an
1551 operator, and the value that you want to use for filtering. The value
1552 must be a string, a number, or a boolean. The operator
1553 must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`.
1554
1555 For example, if you are filtering Compute Engine instances, you can
1556 exclude instances named `example-instance` by specifying
1557 `name != example-instance`.
1558
1559 The `:*` comparison can be used to test whether a key has been defined.
1560 For example, to find all objects with `owner` label use:
1561 ```
1562 labels.owner:*
1563 ```
1564
1565 You can also filter nested fields. For example, you could specify
1566 `scheduling.automaticRestart = false` to include instances only
1567 if they are not scheduled for automatic restarts. You can use filtering
1568 on nested fields to filter based onresource labels.
1569
1570 To filter on multiple expressions, provide each separate expression within
1571 parentheses. For example:
1572 ```
1573 (scheduling.automaticRestart = true)
1574 (cpuPlatform = &quot;Intel Skylake&quot;)
1575 ```
1576 By default, each expression is an `AND` expression. However, you
1577 can include `AND` and `OR` expressions explicitly.
1578 For example:
1579 ```
1580 (cpuPlatform = &quot;Intel Skylake&quot;) OR
1581 (cpuPlatform = &quot;Intel Broadwell&quot;) AND
1582 (scheduling.automaticRestart = true)
1583 ```
1584
1585 If you want to use a regular expression, use the `eq` (equal) or `ne`
1586 (not equal) operator against a single un-parenthesized expression with or
1587 without quotes or against multiple parenthesized expressions. Examples:
1588
1589 `fieldname eq unquoted literal`
1590 `fieldname eq &#x27;single quoted literal&#x27;`
1591 `fieldname eq &quot;double quoted literal&quot;`
1592 `(fieldname1 eq literal) (fieldname2 ne &quot;literal&quot;)`
1593
1594 The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
1595 The literal value must match the entire field.
1596
1597 For example, to filter for instances that do not end with name &quot;instance&quot;,
1598 you would use `name ne .*instance`.
1599
1600 You cannot combine constraints on multiple fields using regular
1601 expressions.
1602 maxResults: integer, The maximum number of results per page that should be returned.
1603 If the number of available results is larger than `maxResults`,
1604 Compute Engine returns a `nextPageToken` that can be used to get
1605 the next page of results in subsequent list requests. Acceptable values are
1606 `0` to `500`, inclusive. (Default: `500`)
1607 orderBy: string, Sorts list results by a certain order. By default, results
1608 are returned in alphanumerical order based on the resource name.
1609
1610 You can also sort results in descending order based on the creation
1611 timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts
1612 results based on the `creationTimestamp` field in
1613 reverse chronological order (newest result first). Use this to sort
1614 resources like operations so that the newest operation is returned first.
1615
1616 Currently, only sorting by `name` or
1617 `creationTimestamp desc` is supported.
1618 pageToken: string, Specifies a page token to use. Set `pageToken` to the
1619 `nextPageToken` returned by a previous list request to get
1620 the next page of results.
1621 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case
1622 of failure. The default value is false.
1623
1624 For example, when partial success behavior is enabled, aggregatedList for a
1625 single zone scope either returns all resources in the zone or no resources,
1626 with an error code.
1627 x__xgafv: string, V1 error format.
1628 Allowed values
1629 1 - v1 error format
1630 2 - v2 error format
1631
1632 Returns:
1633 An object of the form:
1634
1635 {
1636 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
1637 &quot;items&quot;: [ # A list of PublicDelegatedPrefix resources.
1638 { # A PublicDelegatedPrefix resource represents an IP block within a
1639 # PublicAdvertisedPrefix that is configured within a single cloud scope
1640 # (global or region). IPs in the block can be allocated to resources within
1641 # that scope. Public delegated prefixes may be further broken up into
1642 # smaller IP blocks in the same scope as the parent block.
1643 &quot;allocatablePrefixLength&quot;: 42, # The allocatable prefix length supported by this public delegated prefix.
1644 # This field is optional and cannot be set for prefixes in DELEGATION mode.
1645 # It cannot be set for IPv4 prefixes either, and it always defaults to 32.
1646 &quot;byoipApiVersion&quot;: &quot;A String&quot;, # Output only. [Output Only] The version of BYOIP API.
1647 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
1648 # text format.
1649 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
1650 # create the resource.
1651 &quot;enableEnhancedIpv4Allocation&quot;: True or False, # Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations.
1652 # Applicable for IPv4 PDPs only.
1653 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object.
1654 # This field is used in optimistic locking. This field will be ignored when
1655 # inserting a new PublicDelegatedPrefix. An up-to-date
1656 # fingerprint must be provided in order to update thePublicDelegatedPrefix, otherwise the request will fail with
1657 # error 412 conditionNotMet.
1658 #
1659 # To see the latest fingerprint, make a get() request to
1660 # retrieve a PublicDelegatedPrefix.
1661 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource type. The server
1662 # generates this identifier.
1663 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IP address range, in CIDR format, represented by this public
1664 # delegated prefix.
1665 &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Output only. [Output Only] The internet access type for IPv6 Public Delegated Prefixes.
1666 # Inherited from parent prefix.
1667 &quot;isLiveMigration&quot;: True or False, # If true, the prefix will be live migrated.
1668 &quot;kind&quot;: &quot;compute#publicDelegatedPrefix&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefix for public delegated prefixes.
1669 &quot;mode&quot;: &quot;A String&quot;, # The public delegated prefix mode for IPv6 only.
1670 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
1671 # The name must be 1-63 characters long, and comply withRFC1035.
1672 # Specifically, the name must be 1-63 characters long and match the regular
1673 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
1674 # character must be a lowercase letter, and all following characters must
1675 # be a dash, lowercase letter, or digit, except the last character, which
1676 # cannot be a dash.
1677 &quot;parentPrefix&quot;: &quot;A String&quot;, # The URL of parent prefix. Either PublicAdvertisedPrefix or
1678 # PublicDelegatedPrefix.
1679 &quot;publicDelegatedSubPrefixs&quot;: [ # The list of sub public delegated prefixes that exist for this public
1680 # delegated prefix.
1681 { # Represents a sub PublicDelegatedPrefix.
1682 &quot;allocatablePrefixLength&quot;: 42, # The allocatable prefix length supported by this PublicDelegatedSubPrefix.
1683 &quot;delegateeProject&quot;: &quot;A String&quot;, # Name of the project scoping this PublicDelegatedSubPrefix.
1684 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
1685 # create the resource.
1686 &quot;enableEnhancedIpv4Allocation&quot;: True or False, # Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations.
1687 # Applicable for IPv4 PDPs only.
1688 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IP address range, in CIDR format, represented by this sub public
1689 # delegated prefix.
1690 &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Output only. [Output Only] The internet access type for IPv6 Public Delegated Sub
1691 # Prefixes. Inherited from parent prefix.
1692 &quot;isAddress&quot;: True or False, # Whether the sub prefix is delegated to create Address resources in the
1693 # delegatee project.
1694 &quot;mode&quot;: &quot;A String&quot;, # The PublicDelegatedSubPrefix mode for IPv6 only.
1695 &quot;name&quot;: &quot;A String&quot;, # The name of the sub public delegated prefix.
1696 &quot;purpose&quot;: &quot;A String&quot;, # Output only. [Output Only] The purpose of the sub public delegated prefix. Inherited
1697 # from parent prefix.
1698 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] The region of the sub public delegated prefix if it is
1699 # regional. If absent, the sub prefix is global.
1700 &quot;status&quot;: &quot;A String&quot;, # Output only. [Output Only] The status of the sub public delegated prefix.
1701 },
1702 ],
1703 &quot;purpose&quot;: &quot;A String&quot;, # Immutable. The purpose of the public delegated prefix.
1704 #
1705 # This field can only be set for the top-level global public delegated
1706 # prefix. It is an output-only field for the sub-delegates that inherit the
1707 # value from the top-level global public delegated prefix. Once the value is
1708 # set, it cannot be changed.
1709 #
1710 # The field cannot be set for regional public delegated prefixes.
1711 #
1712 # The supported values are:
1713 #
1714 #
1715 # - APPLICATION_AND_PROXY_LOAD_BALANCERS: The global public
1716 # delegated prefix can only be used by Global External Application and
1717 # Proxy Load Balancers to allocate addresses for forwarding rules. This is
1718 # the default value.
1719 # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0: The
1720 # global public delegated prefix can only be used by Global External
1721 # Passthrough Network Load Balancers to allocate Availability Group 0
1722 # addresses for forwarding rules.
1723 # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1: The
1724 # global public delegated prefix can only be used by Global External
1725 # Passthrough Network Load Balancers to allocate Availability Group 1
1726 # addresses for forwarding rules.
1727 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the public delegated prefix resides.
1728 # This field applies only to the region resource. You must specify this
1729 # field as part of the HTTP request URL. It is not settable as a field in
1730 # the request body.
1731 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
1732 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the public delegated prefix, which can be one
1733 # of following values:
1734 #
1735 #
1736 # - `INITIALIZING` The public delegated prefix is being initialized and
1737 # addresses cannot be created yet.
1738 # - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration
1739 # prefix and is active.
1740 # - `ANNOUNCED` The public delegated prefix is announced and ready to
1741 # use.
1742 # - `DELETING` The public delegated prefix is being deprovsioned.
1743 # - `ACTIVE` The public delegated prefix is ready to use.
1744 },
1745 ],
1746 &quot;kind&quot;: &quot;compute#publicDelegatedPrefixList&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefixList for public delegated
1747 # prefixes.
1748 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for
1749 # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
1750 # the query parameter pageToken in the next list request.
1751 # Subsequent list requests will have their own nextPageToken to
1752 # continue paging through the results.
1753 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource.
1754 &quot;warning&quot;: { # [Output Only] Informational warning message.
1755 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1756 # Engine returns NO_RESULTS_ON_PAGE if there
1757 # are no results in the response.
1758 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1759 # value format. For example:
1760 #
1761 # &quot;data&quot;: [
1762 # {
1763 # &quot;key&quot;: &quot;scope&quot;,
1764 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1765 # }
1766 {
1767 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1768 # returned. For example, for warnings where there are no results in a list
1769 # request for a particular zone, this key might be scope and
1770 # the key value might be the zone name. Other examples might be a key
1771 # indicating a deprecated resource and a suggested replacement, or a
1772 # warning about invalid network settings (for example, if an instance
1773 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1774 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1775 },
1776 ],
1777 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1778 },
1779 }</pre>
1780 </div>
1781
1782 <div class="method">
1783 <code class="details" id="list_next">list_next()</code>
1784 <pre>Retrieves the next page of results.
1785
1786 Args:
1787 previous_request: The request for the previous page. (required)
1788 previous_response: The response from the request for the previous page. (required)
1789
1790 Returns:
1791 A request object that you can call &#x27;execute()&#x27; on to request the next
1792 page. Returns None if there are no more items in the collection.
1793 </pre>
1794 </div>
1795
1796 <div class="method">
1797 <code class="details" id="patch">patch(project, region, publicDelegatedPrefix, body=None, requestId=None, x__xgafv=None)</code>
1798 <pre>Patches the specified PublicDelegatedPrefix resource with the data included
1799 in the request. This method supportsPATCH
1800 semantics and usesJSON merge
1801 patch format and processing rules.
1802
1803 Args:
1804 project: string, Project ID for this request. (required)
1805 region: string, Name of the region for this request. (required)
1806 publicDelegatedPrefix: string, Name of the PublicDelegatedPrefix resource to patch. (required)
1807 body: object, The request body.
1808 The object takes the form of:
1809
1810 { # A PublicDelegatedPrefix resource represents an IP block within a
1811 # PublicAdvertisedPrefix that is configured within a single cloud scope
1812 # (global or region). IPs in the block can be allocated to resources within
1813 # that scope. Public delegated prefixes may be further broken up into
1814 # smaller IP blocks in the same scope as the parent block.
1815 &quot;allocatablePrefixLength&quot;: 42, # The allocatable prefix length supported by this public delegated prefix.
1816 # This field is optional and cannot be set for prefixes in DELEGATION mode.
1817 # It cannot be set for IPv4 prefixes either, and it always defaults to 32.
1818 &quot;byoipApiVersion&quot;: &quot;A String&quot;, # Output only. [Output Only] The version of BYOIP API.
1819 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
1820 # text format.
1821 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
1822 # create the resource.
1823 &quot;enableEnhancedIpv4Allocation&quot;: True or False, # Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations.
1824 # Applicable for IPv4 PDPs only.
1825 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object.
1826 # This field is used in optimistic locking. This field will be ignored when
1827 # inserting a new PublicDelegatedPrefix. An up-to-date
1828 # fingerprint must be provided in order to update thePublicDelegatedPrefix, otherwise the request will fail with
1829 # error 412 conditionNotMet.
1830 #
1831 # To see the latest fingerprint, make a get() request to
1832 # retrieve a PublicDelegatedPrefix.
1833 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource type. The server
1834 # generates this identifier.
1835 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IP address range, in CIDR format, represented by this public
1836 # delegated prefix.
1837 &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Output only. [Output Only] The internet access type for IPv6 Public Delegated Prefixes.
1838 # Inherited from parent prefix.
1839 &quot;isLiveMigration&quot;: True or False, # If true, the prefix will be live migrated.
1840 &quot;kind&quot;: &quot;compute#publicDelegatedPrefix&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefix for public delegated prefixes.
1841 &quot;mode&quot;: &quot;A String&quot;, # The public delegated prefix mode for IPv6 only.
1842 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
1843 # The name must be 1-63 characters long, and comply withRFC1035.
1844 # Specifically, the name must be 1-63 characters long and match the regular
1845 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
1846 # character must be a lowercase letter, and all following characters must
1847 # be a dash, lowercase letter, or digit, except the last character, which
1848 # cannot be a dash.
1849 &quot;parentPrefix&quot;: &quot;A String&quot;, # The URL of parent prefix. Either PublicAdvertisedPrefix or
1850 # PublicDelegatedPrefix.
1851 &quot;publicDelegatedSubPrefixs&quot;: [ # The list of sub public delegated prefixes that exist for this public
1852 # delegated prefix.
1853 { # Represents a sub PublicDelegatedPrefix.
1854 &quot;allocatablePrefixLength&quot;: 42, # The allocatable prefix length supported by this PublicDelegatedSubPrefix.
1855 &quot;delegateeProject&quot;: &quot;A String&quot;, # Name of the project scoping this PublicDelegatedSubPrefix.
1856 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
1857 # create the resource.
1858 &quot;enableEnhancedIpv4Allocation&quot;: True or False, # Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations.
1859 # Applicable for IPv4 PDPs only.
1860 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IP address range, in CIDR format, represented by this sub public
1861 # delegated prefix.
1862 &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Output only. [Output Only] The internet access type for IPv6 Public Delegated Sub
1863 # Prefixes. Inherited from parent prefix.
1864 &quot;isAddress&quot;: True or False, # Whether the sub prefix is delegated to create Address resources in the
1865 # delegatee project.
1866 &quot;mode&quot;: &quot;A String&quot;, # The PublicDelegatedSubPrefix mode for IPv6 only.
1867 &quot;name&quot;: &quot;A String&quot;, # The name of the sub public delegated prefix.
1868 &quot;purpose&quot;: &quot;A String&quot;, # Output only. [Output Only] The purpose of the sub public delegated prefix. Inherited
1869 # from parent prefix.
1870 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] The region of the sub public delegated prefix if it is
1871 # regional. If absent, the sub prefix is global.
1872 &quot;status&quot;: &quot;A String&quot;, # Output only. [Output Only] The status of the sub public delegated prefix.
1873 },
1874 ],
1875 &quot;purpose&quot;: &quot;A String&quot;, # Immutable. The purpose of the public delegated prefix.
1876 #
1877 # This field can only be set for the top-level global public delegated
1878 # prefix. It is an output-only field for the sub-delegates that inherit the
1879 # value from the top-level global public delegated prefix. Once the value is
1880 # set, it cannot be changed.
1881 #
1882 # The field cannot be set for regional public delegated prefixes.
1883 #
1884 # The supported values are:
1885 #
1886 #
1887 # - APPLICATION_AND_PROXY_LOAD_BALANCERS: The global public
1888 # delegated prefix can only be used by Global External Application and
1889 # Proxy Load Balancers to allocate addresses for forwarding rules. This is
1890 # the default value.
1891 # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0: The
1892 # global public delegated prefix can only be used by Global External
1893 # Passthrough Network Load Balancers to allocate Availability Group 0
1894 # addresses for forwarding rules.
1895 # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1: The
1896 # global public delegated prefix can only be used by Global External
1897 # Passthrough Network Load Balancers to allocate Availability Group 1
1898 # addresses for forwarding rules.
1899 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the public delegated prefix resides.
1900 # This field applies only to the region resource. You must specify this
1901 # field as part of the HTTP request URL. It is not settable as a field in
1902 # the request body.
1903 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
1904 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the public delegated prefix, which can be one
1905 # of following values:
1906 #
1907 #
1908 # - `INITIALIZING` The public delegated prefix is being initialized and
1909 # addresses cannot be created yet.
1910 # - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration
1911 # prefix and is active.
1912 # - `ANNOUNCED` The public delegated prefix is announced and ready to
1913 # use.
1914 # - `DELETING` The public delegated prefix is being deprovsioned.
1915 # - `ACTIVE` The public delegated prefix is ready to use.
1916 }
1917
1918 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
1919 that if you must retry your request, the server will know to ignore the
1920 request if it has already been completed.
1921
1922 For example, consider a situation where you make an initial request and
1923 the request times out. If you make the request again with the same
1924 request ID, the server can check if original operation with the same
1925 request ID was received, and if so, will ignore the second request. This
1926 prevents clients from accidentally creating duplicate commitments.
1927
1928 The request ID must be
1929 a valid UUID with the exception that zero UUID is not supported
1930 (00000000-0000-0000-0000-000000000000).
1931 x__xgafv: string, V1 error format.
1932 Allowed values
1933 1 - v1 error format
1934 2 - v2 error format
1935
1936 Returns:
1937 An object of the form:
1938
1939 { # Represents an Operation resource.
1940 #
1941 # Google Compute Engine has three Operation resources:
1942 #
1943 # * [Global](/compute/docs/reference/rest/beta/globalOperations)
1944 # * [Regional](/compute/docs/reference/rest/beta/regionOperations)
1945 # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations)
1946 #
1947 # You can use an operation resource to manage asynchronous API requests.
1948 # For more information, readHandling
1949 # API responses.
1950 #
1951 # Operations can be global, regional or zonal.
1952 #
1953 # - For global operations, use the `globalOperations`
1954 # resource.
1955 # - For regional operations, use the
1956 # `regionOperations` resource.
1957 # - For zonal operations, use
1958 # the `zoneOperations` resource.
1959 #
1960 #
1961 #
1962 # For more information, read
1963 # Global, Regional, and Zonal Resources.
1964 #
1965 # Note that completed Operation resources have a limited
1966 # retention period.
1967 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
1968 # Not present otherwise.
1969 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
1970 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
1971 # set when the operation is created.
1972 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
1973 # text format.
1974 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
1975 # this field will be populated.
1976 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
1977 # operation.
1978 {
1979 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
1980 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
1981 # details. There is a set of defined message types to use for providing
1982 # details.The syntax depends on the error code. For example,
1983 # QuotaExceededInfo will have details when the error code is
1984 # QUOTA_EXCEEDED.
1985 {
1986 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
1987 #
1988 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
1989 # is not enabled:
1990 #
1991 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
1992 # &quot;domain&quot;: &quot;googleapis.com&quot;
1993 # &quot;metadata&quot;: {
1994 # &quot;resource&quot;: &quot;projects/123&quot;,
1995 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
1996 # }
1997 # }
1998 #
1999 # This response indicates that the pubsub.googleapis.com API is not enabled.
2000 #
2001 # Example of an error that is returned when attempting to create a Spanner
2002 # instance in a region that is out of stock:
2003 #
2004 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
2005 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
2006 # &quot;metadata&quot;: {
2007 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
2008 # }
2009 # }
2010 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
2011 # is typically the registered service name of the tool or product that
2012 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
2013 # generated by some common infrastructure, the error domain must be a
2014 # globally unique value that identifies the infrastructure. For Google API
2015 # infrastructure, the error domain is &quot;googleapis.com&quot;.
2016 &quot;metadatas&quot;: { # Additional structured details about this error.
2017 #
2018 # Keys must match a regular expression of `a-z+` but should
2019 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
2020 # length. When identifying the current value of an exceeded limit, the units
2021 # should be contained in the key, not the value. For example, rather than
2022 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
2023 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
2024 # instances that can be created in a single (batch) request.
2025 &quot;a_key&quot;: &quot;A String&quot;,
2026 },
2027 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
2028 # proximate cause of the error. Error reasons are unique within a particular
2029 # domain of errors. This should be at most 63 characters and match a
2030 # regular expression of `A-Z+[A-Z0-9]`, which represents
2031 # UPPER_SNAKE_CASE.
2032 },
2033 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
2034 #
2035 # For example, if a quota check failed with an error indicating the calling
2036 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
2037 # directly to the right place in the developer console to flip the bit.
2038 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
2039 { # Describes a URL link.
2040 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
2041 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
2042 },
2043 ],
2044 },
2045 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
2046 # which can be attached to an RPC error.
2047 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
2048 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
2049 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
2050 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
2051 },
2052 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
2053 &quot;dimensions&quot;: { # The map holding related quota dimensions.
2054 &quot;a_key&quot;: &quot;A String&quot;,
2055 },
2056 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
2057 # type or metric.
2058 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
2059 # or metric.
2060 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
2061 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
2062 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
2063 },
2064 },
2065 ],
2066 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
2067 # This property is optional.
2068 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
2069 },
2070 ],
2071 },
2072 &quot;getVersionOperationMetadata&quot;: {
2073 &quot;inlineSbomInfo&quot;: {
2074 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
2075 # appropriate identifiers.
2076 &quot;a_key&quot;: &quot;A String&quot;,
2077 },
2078 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
2079 # identifiers.
2080 &quot;a_key&quot;: &quot;A String&quot;,
2081 },
2082 },
2083 },
2084 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
2085 # message that was returned, such as `NOT FOUND`.
2086 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
2087 # status code that was returned. For example, a `404` means the
2088 # resource was not found.
2089 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
2090 # defined by the server.
2091 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
2092 # This value is inRFC3339
2093 # text format.
2094 &quot;instancesBulkInsertOperationMetadata&quot;: {
2095 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
2096 # Example key: zones/us-central1-a
2097 &quot;a_key&quot;: {
2098 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
2099 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
2100 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
2101 # error.
2102 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
2103 # if the flow is rolling forward or rolling back.
2104 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
2105 },
2106 },
2107 },
2108 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
2109 # Operation resources.
2110 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
2111 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
2112 # group of operations results from a `bulkInsert` API request.
2113 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
2114 # `update`, or `delete`, and so on.
2115 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
2116 # There is no requirement that this be linear or support any granularity of
2117 # operations. This should not be used to guess when the operation will be
2118 # complete. This number should monotonically increase as the operation
2119 # progresses.
2120 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
2121 # applicable when performing regional operations.
2122 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
2123 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
2124 # this field will contain information on all underlying zonal actions and
2125 # their state.
2126 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
2127 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
2128 # Example key: zones/us-central1-a
2129 &quot;a_key&quot;: {
2130 &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
2131 # populated.
2132 # different programming environments, including REST APIs and RPC APIs. It is
2133 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2134 # three pieces of data: error code, error message, and error details.
2135 #
2136 # You can find out more about this error model and how to work with it in the
2137 # [API Design Guide](https://cloud.google.com/apis/design/errors).
2138 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2139 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
2140 # message types for APIs to use.
2141 {
2142 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2143 },
2144 ],
2145 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
2146 # user-facing error message should be localized and sent in the
2147 # google.rpc.Status.details field, or localized by the client.
2148 },
2149 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
2150 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
2151 },
2152 },
2153 },
2154 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
2155 # This value is inRFC3339
2156 # text format.
2157 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
2158 # following:
2159 # `PENDING`, `RUNNING`, or `DONE`.
2160 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
2161 # operation.
2162 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
2163 # of the target resource.
2164 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
2165 # operations related to creating a snapshot, this points to the disk
2166 # that the snapshot was created from.
2167 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
2168 # `[email protected]` or
2169 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
2170 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
2171 # operation, this field will be populated.
2172 {
2173 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
2174 # Engine returns NO_RESULTS_ON_PAGE if there
2175 # are no results in the response.
2176 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
2177 # value format. For example:
2178 #
2179 # &quot;data&quot;: [
2180 # {
2181 # &quot;key&quot;: &quot;scope&quot;,
2182 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
2183 # }
2184 {
2185 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
2186 # returned. For example, for warnings where there are no results in a list
2187 # request for a particular zone, this key might be scope and
2188 # the key value might be the zone name. Other examples might be a key
2189 # indicating a deprecated resource and a suggested replacement, or a
2190 # warning about invalid network settings (for example, if an instance
2191 # attempts to perform IP forwarding but is not enabled for IP forwarding).
2192 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
2193 },
2194 ],
2195 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
2196 },
2197 ],
2198 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
2199 # applicable when performing per-zone operations.
2200 }</pre>
2201 </div>
2202
2203 <div class="method">
2204 <code class="details" id="withdraw">withdraw(project, region, publicDelegatedPrefix, requestId=None, x__xgafv=None)</code>
2205 <pre>Withdraws the specified PublicDelegatedPrefix in the given region.
2206
2207 Args:
2208 project: string, Project ID for this request. (required)
2209 region: string, The name of theregion where
2210 the public delegated prefix is located. It should comply with RFC1035. (required)
2211 publicDelegatedPrefix: string, The name of the public delegated prefix. It should comply with RFC1035. (required)
2212 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
2213 that if you must retry your request, the server will know to ignore the
2214 request if it has already been completed.
2215
2216 For example, consider a situation where you make an initial request and
2217 the request times out. If you make the request again with the same
2218 request ID, the server can check if original operation with the same
2219 request ID was received, and if so, will ignore the second request. This
2220 prevents clients from accidentally creating duplicate commitments.
2221
2222 The request ID must be
2223 a valid UUID with the exception that zero UUID is not supported
2224 (00000000-0000-0000-0000-000000000000).
2225 x__xgafv: string, V1 error format.
2226 Allowed values
2227 1 - v1 error format
2228 2 - v2 error format
2229
2230 Returns:
2231 An object of the form:
2232
2233 { # Represents an Operation resource.
2234 #
2235 # Google Compute Engine has three Operation resources:
2236 #
2237 # * [Global](/compute/docs/reference/rest/beta/globalOperations)
2238 # * [Regional](/compute/docs/reference/rest/beta/regionOperations)
2239 # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations)
2240 #
2241 # You can use an operation resource to manage asynchronous API requests.
2242 # For more information, readHandling
2243 # API responses.
2244 #
2245 # Operations can be global, regional or zonal.
2246 #
2247 # - For global operations, use the `globalOperations`
2248 # resource.
2249 # - For regional operations, use the
2250 # `regionOperations` resource.
2251 # - For zonal operations, use
2252 # the `zoneOperations` resource.
2253 #
2254 #
2255 #
2256 # For more information, read
2257 # Global, Regional, and Zonal Resources.
2258 #
2259 # Note that completed Operation resources have a limited
2260 # retention period.
2261 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
2262 # Not present otherwise.
2263 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
2264 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
2265 # set when the operation is created.
2266 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
2267 # text format.
2268 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
2269 # this field will be populated.
2270 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
2271 # operation.
2272 {
2273 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
2274 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
2275 # details. There is a set of defined message types to use for providing
2276 # details.The syntax depends on the error code. For example,
2277 # QuotaExceededInfo will have details when the error code is
2278 # QUOTA_EXCEEDED.
2279 {
2280 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
2281 #
2282 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
2283 # is not enabled:
2284 #
2285 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
2286 # &quot;domain&quot;: &quot;googleapis.com&quot;
2287 # &quot;metadata&quot;: {
2288 # &quot;resource&quot;: &quot;projects/123&quot;,
2289 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
2290 # }
2291 # }
2292 #
2293 # This response indicates that the pubsub.googleapis.com API is not enabled.
2294 #
2295 # Example of an error that is returned when attempting to create a Spanner
2296 # instance in a region that is out of stock:
2297 #
2298 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
2299 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
2300 # &quot;metadata&quot;: {
2301 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
2302 # }
2303 # }
2304 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
2305 # is typically the registered service name of the tool or product that
2306 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
2307 # generated by some common infrastructure, the error domain must be a
2308 # globally unique value that identifies the infrastructure. For Google API
2309 # infrastructure, the error domain is &quot;googleapis.com&quot;.
2310 &quot;metadatas&quot;: { # Additional structured details about this error.
2311 #
2312 # Keys must match a regular expression of `a-z+` but should
2313 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
2314 # length. When identifying the current value of an exceeded limit, the units
2315 # should be contained in the key, not the value. For example, rather than
2316 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
2317 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
2318 # instances that can be created in a single (batch) request.
2319 &quot;a_key&quot;: &quot;A String&quot;,
2320 },
2321 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
2322 # proximate cause of the error. Error reasons are unique within a particular
2323 # domain of errors. This should be at most 63 characters and match a
2324 # regular expression of `A-Z+[A-Z0-9]`, which represents
2325 # UPPER_SNAKE_CASE.
2326 },
2327 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
2328 #
2329 # For example, if a quota check failed with an error indicating the calling
2330 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
2331 # directly to the right place in the developer console to flip the bit.
2332 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
2333 { # Describes a URL link.
2334 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
2335 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
2336 },
2337 ],
2338 },
2339 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
2340 # which can be attached to an RPC error.
2341 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
2342 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
2343 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
2344 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
2345 },
2346 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
2347 &quot;dimensions&quot;: { # The map holding related quota dimensions.
2348 &quot;a_key&quot;: &quot;A String&quot;,
2349 },
2350 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
2351 # type or metric.
2352 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
2353 # or metric.
2354 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
2355 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
2356 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
2357 },
2358 },
2359 ],
2360 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
2361 # This property is optional.
2362 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
2363 },
2364 ],
2365 },
2366 &quot;getVersionOperationMetadata&quot;: {
2367 &quot;inlineSbomInfo&quot;: {
2368 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
2369 # appropriate identifiers.
2370 &quot;a_key&quot;: &quot;A String&quot;,
2371 },
2372 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
2373 # identifiers.
2374 &quot;a_key&quot;: &quot;A String&quot;,
2375 },
2376 },
2377 },
2378 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
2379 # message that was returned, such as `NOT FOUND`.
2380 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
2381 # status code that was returned. For example, a `404` means the
2382 # resource was not found.
2383 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
2384 # defined by the server.
2385 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
2386 # This value is inRFC3339
2387 # text format.
2388 &quot;instancesBulkInsertOperationMetadata&quot;: {
2389 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
2390 # Example key: zones/us-central1-a
2391 &quot;a_key&quot;: {
2392 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
2393 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
2394 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
2395 # error.
2396 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
2397 # if the flow is rolling forward or rolling back.
2398 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
2399 },
2400 },
2401 },
2402 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
2403 # Operation resources.
2404 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
2405 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
2406 # group of operations results from a `bulkInsert` API request.
2407 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
2408 # `update`, or `delete`, and so on.
2409 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
2410 # There is no requirement that this be linear or support any granularity of
2411 # operations. This should not be used to guess when the operation will be
2412 # complete. This number should monotonically increase as the operation
2413 # progresses.
2414 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
2415 # applicable when performing regional operations.
2416 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
2417 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
2418 # this field will contain information on all underlying zonal actions and
2419 # their state.
2420 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
2421 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
2422 # Example key: zones/us-central1-a
2423 &quot;a_key&quot;: {
2424 &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
2425 # populated.
2426 # different programming environments, including REST APIs and RPC APIs. It is
2427 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2428 # three pieces of data: error code, error message, and error details.
2429 #
2430 # You can find out more about this error model and how to work with it in the
2431 # [API Design Guide](https://cloud.google.com/apis/design/errors).
2432 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2433 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
2434 # message types for APIs to use.
2435 {
2436 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2437 },
2438 ],
2439 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
2440 # user-facing error message should be localized and sent in the
2441 # google.rpc.Status.details field, or localized by the client.
2442 },
2443 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
2444 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
2445 },
2446 },
2447 },
2448 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
2449 # This value is inRFC3339
2450 # text format.
2451 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
2452 # following:
2453 # `PENDING`, `RUNNING`, or `DONE`.
2454 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
2455 # operation.
2456 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
2457 # of the target resource.
2458 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
2459 # operations related to creating a snapshot, this points to the disk
2460 # that the snapshot was created from.
2461 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
2462 # `[email protected]` or
2463 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
2464 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
2465 # operation, this field will be populated.
2466 {
2467 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
2468 # Engine returns NO_RESULTS_ON_PAGE if there
2469 # are no results in the response.
2470 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
2471 # value format. For example:
2472 #
2473 # &quot;data&quot;: [
2474 # {
2475 # &quot;key&quot;: &quot;scope&quot;,
2476 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
2477 # }
2478 {
2479 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
2480 # returned. For example, for warnings where there are no results in a list
2481 # request for a particular zone, this key might be scope and
2482 # the key value might be the zone name. Other examples might be a key
2483 # indicating a deprecated resource and a suggested replacement, or a
2484 # warning about invalid network settings (for example, if an instance
2485 # attempts to perform IP forwarding but is not enabled for IP forwarding).
2486 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
2487 },
2488 ],
2489 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
2490 },
2491 ],
2492 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
2493 # applicable when performing per-zone operations.
2494 }</pre>
2495 </div>
2496
2497 </body></html>