Debian Codegraph @

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