Debian Codegraph @

docs/dyn/compute_alpha.globalPublicDelegatedPrefixes.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.globalPublicDelegatedPrefixes.html">globalPublicDelegatedPrefixes</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#delete">delete(project, publicDelegatedPrefix, requestId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Deletes the specified global PublicDelegatedPrefix.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(project, publicDelegatedPrefix, x__xgafv=None)</a></code></p>
85 <p class="firstline">Returns the specified global PublicDelegatedPrefix resource.</p>
86 <p class="toc_element">
87 <code><a href="#insert">insert(project, body=None, requestId=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Creates a global PublicDelegatedPrefix in the specified project using the</p>
89 <p class="toc_element">
90 <code><a href="#list">list(project, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists the global PublicDelegatedPrefixes for a project.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(project, publicDelegatedPrefix, body=None, requestId=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Patches the specified global PublicDelegatedPrefix resource with the data</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="delete">delete(project, publicDelegatedPrefix, requestId=None, x__xgafv=None)</code>
106 <pre>Deletes the specified global PublicDelegatedPrefix.
107
108 Args:
109 project: string, Project ID for this request. (required)
110 publicDelegatedPrefix: string, Name of the PublicDelegatedPrefix resource to delete. (required)
111 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
112 that if you must retry your request, the server will know to ignore the
113 request if it has already been completed.
114
115 For example, consider a situation where you make an initial request and
116 the request times out. If you make the request again with the same
117 request ID, the server can check if original operation with the same
118 request ID was received, and if so, will ignore the second request. This
119 prevents clients from accidentally creating duplicate commitments.
120
121 The request ID must be
122 a valid UUID with the exception that zero UUID is not supported
123 (00000000-0000-0000-0000-000000000000).
124 x__xgafv: string, V1 error format.
125 Allowed values
126 1 - v1 error format
127 2 - v2 error format
128
129 Returns:
130 An object of the form:
131
132 { # Represents an Operation resource.
133 #
134 # Google Compute Engine has three Operation resources:
135 #
136 # * [Global](/compute/docs/reference/rest/alpha/globalOperations)
137 # * [Regional](/compute/docs/reference/rest/alpha/regionOperations)
138 # * [Zonal](/compute/docs/reference/rest/alpha/zoneOperations)
139 #
140 # You can use an operation resource to manage asynchronous API requests.
141 # For more information, readHandling
142 # API responses.
143 #
144 # Operations can be global, regional or zonal.
145 #
146 # - For global operations, use the `globalOperations`
147 # resource.
148 # - For regional operations, use the
149 # `regionOperations` resource.
150 # - For zonal operations, use
151 # the `zoneOperations` resource.
152 #
153 #
154 #
155 # For more information, read
156 # Global, Regional, and Zonal Resources.
157 #
158 # Note that completed Operation resources have a limited
159 # retention period.
160 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
161 # Not present otherwise.
162 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
163 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
164 # set when the operation is created.
165 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
166 # text format.
167 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
168 # this field will be populated.
169 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
170 # operation.
171 {
172 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
173 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
174 # details. There is a set of defined message types to use for providing
175 # details.The syntax depends on the error code. For example,
176 # QuotaExceededInfo will have details when the error code is
177 # QUOTA_EXCEEDED.
178 {
179 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
180 #
181 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
182 # is not enabled:
183 #
184 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
185 # &quot;domain&quot;: &quot;googleapis.com&quot;
186 # &quot;metadata&quot;: {
187 # &quot;resource&quot;: &quot;projects/123&quot;,
188 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
189 # }
190 # }
191 #
192 # This response indicates that the pubsub.googleapis.com API is not enabled.
193 #
194 # Example of an error that is returned when attempting to create a Spanner
195 # instance in a region that is out of stock:
196 #
197 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
198 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
199 # &quot;metadata&quot;: {
200 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
201 # }
202 # }
203 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
204 # is typically the registered service name of the tool or product that
205 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
206 # generated by some common infrastructure, the error domain must be a
207 # globally unique value that identifies the infrastructure. For Google API
208 # infrastructure, the error domain is &quot;googleapis.com&quot;.
209 &quot;metadatas&quot;: { # Additional structured details about this error.
210 #
211 # Keys must match a regular expression of `a-z+` but should
212 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
213 # length. When identifying the current value of an exceeded limit, the units
214 # should be contained in the key, not the value. For example, rather than
215 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
216 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
217 # instances that can be created in a single (batch) request.
218 &quot;a_key&quot;: &quot;A String&quot;,
219 },
220 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
221 # proximate cause of the error. Error reasons are unique within a particular
222 # domain of errors. This should be at most 63 characters and match a
223 # regular expression of `A-Z+[A-Z0-9]`, which represents
224 # UPPER_SNAKE_CASE.
225 },
226 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
227 #
228 # For example, if a quota check failed with an error indicating the calling
229 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
230 # directly to the right place in the developer console to flip the bit.
231 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
232 { # Describes a URL link.
233 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
234 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
235 },
236 ],
237 },
238 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
239 # which can be attached to an RPC error.
240 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
241 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
242 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
243 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
244 },
245 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
246 &quot;dimensions&quot;: { # The map holding related quota dimensions.
247 &quot;a_key&quot;: &quot;A String&quot;,
248 },
249 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
250 # type or metric.
251 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
252 # or metric.
253 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
254 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
255 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
256 },
257 },
258 ],
259 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
260 # This property is optional.
261 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
262 },
263 ],
264 },
265 &quot;getVersionOperationMetadata&quot;: {
266 &quot;inlineSbomInfo&quot;: {
267 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
268 # appropriate identifiers.
269 &quot;a_key&quot;: &quot;A String&quot;,
270 },
271 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
272 # identifiers.
273 &quot;a_key&quot;: &quot;A String&quot;,
274 },
275 },
276 },
277 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
278 # message that was returned, such as `NOT FOUND`.
279 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
280 # status code that was returned. For example, a `404` means the
281 # resource was not found.
282 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
283 # defined by the server.
284 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
285 # This value is inRFC3339
286 # text format.
287 &quot;instancesBulkInsertOperationMetadata&quot;: {
288 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
289 # Example key: zones/us-central1-a
290 &quot;a_key&quot;: {
291 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
292 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
293 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
294 # error.
295 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
296 # if the flow is rolling forward or rolling back.
297 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
298 },
299 },
300 },
301 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
302 # Operation resources.
303 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
304 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
305 # group of operations results from a `bulkInsert` API request.
306 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
307 # `update`, or `delete`, and so on.
308 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
309 # There is no requirement that this be linear or support any granularity of
310 # operations. This should not be used to guess when the operation will be
311 # complete. This number should monotonically increase as the operation
312 # progresses.
313 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
314 # applicable when performing regional operations.
315 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
316 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
317 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
318 # this field will contain information on all underlying zonal actions and
319 # their state.
320 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
321 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
322 # Example key: zones/us-central1-a
323 &quot;a_key&quot;: {
324 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # [Output Only] If state is `ABANDONED` or `FAILED`, this field is
325 # populated.
326 # different programming environments, including REST APIs and RPC APIs. It is
327 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
328 # three pieces of data: error code, error message, and error details.
329 #
330 # You can find out more about this error model and how to work with it in the
331 # [API Design Guide](https://cloud.google.com/apis/design/errors).
332 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
333 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
334 # message types for APIs to use.
335 {
336 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
337 },
338 ],
339 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
340 # user-facing error message should be localized and sent in the
341 # google.rpc.Status.details field, or localized by the client.
342 },
343 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
344 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
345 },
346 },
347 },
348 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
349 # This value is inRFC3339
350 # text format.
351 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
352 # following:
353 # `PENDING`, `RUNNING`, or `DONE`.
354 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
355 # operation.
356 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
357 # of the target resource.
358 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
359 # operations related to creating a snapshot, this points to the disk
360 # that the snapshot was created from.
361 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
362 # `[email protected]` or
363 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
364 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
365 # operation, this field will be populated.
366 {
367 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
368 # Engine returns NO_RESULTS_ON_PAGE if there
369 # are no results in the response.
370 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
371 # value format. For example:
372 #
373 # &quot;data&quot;: [
374 # {
375 # &quot;key&quot;: &quot;scope&quot;,
376 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
377 # }
378 {
379 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
380 # returned. For example, for warnings where there are no results in a list
381 # request for a particular zone, this key might be scope and
382 # the key value might be the zone name. Other examples might be a key
383 # indicating a deprecated resource and a suggested replacement, or a
384 # warning about invalid network settings (for example, if an instance
385 # attempts to perform IP forwarding but is not enabled for IP forwarding).
386 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
387 },
388 ],
389 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
390 },
391 ],
392 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
393 # applicable when performing per-zone operations.
394 }</pre>
395 </div>
396
397 <div class="method">
398 <code class="details" id="get">get(project, publicDelegatedPrefix, x__xgafv=None)</code>
399 <pre>Returns the specified global PublicDelegatedPrefix resource.
400
401 Args:
402 project: string, Project ID for this request. (required)
403 publicDelegatedPrefix: string, Name of the PublicDelegatedPrefix resource to return. (required)
404 x__xgafv: string, V1 error format.
405 Allowed values
406 1 - v1 error format
407 2 - v2 error format
408
409 Returns:
410 An object of the form:
411
412 { # A PublicDelegatedPrefix resource represents an IP block within a
413 # PublicAdvertisedPrefix that is configured within a single cloud scope
414 # (global or region). IPs in the block can be allocated to resources within
415 # that scope. Public delegated prefixes may be further broken up into
416 # smaller IP blocks in the same scope as the parent block.
417 &quot;allocatablePrefixLength&quot;: 42, # The allocatable prefix length supported by this public delegated prefix.
418 # This field is optional and cannot be set for prefixes in DELEGATION mode.
419 # It cannot be set for IPv4 prefixes either, and it always defaults to 32.
420 &quot;byoipApiVersion&quot;: &quot;A String&quot;, # Output only. [Output Only] The version of BYOIP API.
421 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
422 # text format.
423 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
424 # create the resource.
425 &quot;enableEnhancedIpv4Allocation&quot;: True or False, # Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations.
426 # Applicable for IPv4 PDPs only.
427 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object.
428 # This field is used in optimistic locking. This field will be ignored when
429 # inserting a new PublicDelegatedPrefix. An up-to-date
430 # fingerprint must be provided in order to update thePublicDelegatedPrefix, otherwise the request will fail with
431 # error 412 conditionNotMet.
432 #
433 # To see the latest fingerprint, make a get() request to
434 # retrieve a PublicDelegatedPrefix.
435 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource type. The server
436 # generates this identifier.
437 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IP address range, in CIDR format, represented by this public
438 # delegated prefix.
439 &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Output only. [Output Only] The internet access type for IPv6 Public Delegated Prefixes.
440 # Inherited from parent prefix.
441 &quot;isLiveMigration&quot;: True or False, # If true, the prefix will be live migrated.
442 &quot;kind&quot;: &quot;compute#publicDelegatedPrefix&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefix for public delegated prefixes.
443 &quot;mode&quot;: &quot;A String&quot;, # The public delegated prefix mode for IPv6 only.
444 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
445 # The name must be 1-63 characters long, and comply withRFC1035.
446 # Specifically, the name must be 1-63 characters long and match the regular
447 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
448 # character must be a lowercase letter, and all following characters must
449 # be a dash, lowercase letter, or digit, except the last character, which
450 # cannot be a dash.
451 &quot;networkTier&quot;: &quot;A String&quot;, # Network tier of the public delegated prefix. If populated, it must match
452 # the network tier of the parent public advertised prefix. If not populated,
453 # it defaults to the network tier of the parent public advertised prefix.
454 &quot;parentPrefix&quot;: &quot;A String&quot;, # The URL of parent prefix. Either PublicAdvertisedPrefix or
455 # PublicDelegatedPrefix.
456 &quot;publicDelegatedSubPrefixs&quot;: [ # The list of sub public delegated prefixes that exist for this public
457 # delegated prefix.
458 { # Represents a sub PublicDelegatedPrefix.
459 &quot;allocatablePrefixLength&quot;: 42, # The allocatable prefix length supported by this PublicDelegatedSubPrefix.
460 &quot;delegateeProject&quot;: &quot;A String&quot;, # Name of the project scoping this PublicDelegatedSubPrefix.
461 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
462 # create the resource.
463 &quot;enableEnhancedIpv4Allocation&quot;: True or False, # Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations.
464 # Applicable for IPv4 PDPs only.
465 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IP address range, in CIDR format, represented by this sub public
466 # delegated prefix.
467 &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Output only. [Output Only] The internet access type for IPv6 Public Delegated Sub
468 # Prefixes. Inherited from parent prefix.
469 &quot;isAddress&quot;: True or False, # Whether the sub prefix is delegated to create Address resources in the
470 # delegatee project.
471 &quot;mode&quot;: &quot;A String&quot;, # The PublicDelegatedSubPrefix mode for IPv6 only.
472 &quot;name&quot;: &quot;A String&quot;, # The name of the sub public delegated prefix.
473 &quot;purpose&quot;: &quot;A String&quot;, # Output only. [Output Only] The purpose of the sub public delegated prefix. Inherited
474 # from parent prefix.
475 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] The region of the sub public delegated prefix if it is
476 # regional. If absent, the sub prefix is global.
477 &quot;status&quot;: &quot;A String&quot;, # Output only. [Output Only] The status of the sub public delegated prefix.
478 },
479 ],
480 &quot;purpose&quot;: &quot;A String&quot;, # Immutable. The purpose of the public delegated prefix.
481 #
482 # This field can only be set for the top-level global public delegated
483 # prefix. It is an output-only field for the sub-delegates that inherit the
484 # value from the top-level global public delegated prefix. Once the value is
485 # set, it cannot be changed.
486 #
487 # The field cannot be set for regional public delegated prefixes.
488 #
489 # The supported values are:
490 #
491 #
492 # - APPLICATION_AND_PROXY_LOAD_BALANCERS: The global public
493 # delegated prefix can only be used by Global External Application and
494 # Proxy Load Balancers to allocate addresses for forwarding rules. This is
495 # the default value.
496 # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0: The
497 # global public delegated prefix can only be used by Global External
498 # Passthrough Network Load Balancers to allocate Availability Group 0
499 # addresses for forwarding rules.
500 # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1: The
501 # global public delegated prefix can only be used by Global External
502 # Passthrough Network Load Balancers to allocate Availability Group 1
503 # addresses for forwarding rules.
504 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the public delegated prefix resides.
505 # This field applies only to the region resource. You must specify this
506 # field as part of the HTTP request URL. It is not settable as a field in
507 # the request body.
508 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
509 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL with id for the resource.
510 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the public delegated prefix, which can be one
511 # of following values:
512 #
513 #
514 # - `INITIALIZING` The public delegated prefix is being initialized and
515 # addresses cannot be created yet.
516 # - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration
517 # prefix and is active.
518 # - `ANNOUNCED` The public delegated prefix is announced and ready to
519 # use.
520 # - `DELETING` The public delegated prefix is being deprovsioned.
521 # - `ACTIVE` The public delegated prefix is ready to use.
522 }</pre>
523 </div>
524
525 <div class="method">
526 <code class="details" id="insert">insert(project, body=None, requestId=None, x__xgafv=None)</code>
527 <pre>Creates a global PublicDelegatedPrefix in the specified project using the
528 parameters that are included in the request.
529
530 Args:
531 project: string, Project ID for this request. (required)
532 body: object, The request body.
533 The object takes the form of:
534
535 { # A PublicDelegatedPrefix resource represents an IP block within a
536 # PublicAdvertisedPrefix that is configured within a single cloud scope
537 # (global or region). IPs in the block can be allocated to resources within
538 # that scope. Public delegated prefixes may be further broken up into
539 # smaller IP blocks in the same scope as the parent block.
540 &quot;allocatablePrefixLength&quot;: 42, # The allocatable prefix length supported by this public delegated prefix.
541 # This field is optional and cannot be set for prefixes in DELEGATION mode.
542 # It cannot be set for IPv4 prefixes either, and it always defaults to 32.
543 &quot;byoipApiVersion&quot;: &quot;A String&quot;, # Output only. [Output Only] The version of BYOIP API.
544 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
545 # text format.
546 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
547 # create the resource.
548 &quot;enableEnhancedIpv4Allocation&quot;: True or False, # Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations.
549 # Applicable for IPv4 PDPs only.
550 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object.
551 # This field is used in optimistic locking. This field will be ignored when
552 # inserting a new PublicDelegatedPrefix. An up-to-date
553 # fingerprint must be provided in order to update thePublicDelegatedPrefix, otherwise the request will fail with
554 # error 412 conditionNotMet.
555 #
556 # To see the latest fingerprint, make a get() request to
557 # retrieve a PublicDelegatedPrefix.
558 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource type. The server
559 # generates this identifier.
560 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IP address range, in CIDR format, represented by this public
561 # delegated prefix.
562 &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Output only. [Output Only] The internet access type for IPv6 Public Delegated Prefixes.
563 # Inherited from parent prefix.
564 &quot;isLiveMigration&quot;: True or False, # If true, the prefix will be live migrated.
565 &quot;kind&quot;: &quot;compute#publicDelegatedPrefix&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefix for public delegated prefixes.
566 &quot;mode&quot;: &quot;A String&quot;, # The public delegated prefix mode for IPv6 only.
567 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
568 # The name must be 1-63 characters long, and comply withRFC1035.
569 # Specifically, the name must be 1-63 characters long and match the regular
570 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
571 # character must be a lowercase letter, and all following characters must
572 # be a dash, lowercase letter, or digit, except the last character, which
573 # cannot be a dash.
574 &quot;networkTier&quot;: &quot;A String&quot;, # Network tier of the public delegated prefix. If populated, it must match
575 # the network tier of the parent public advertised prefix. If not populated,
576 # it defaults to the network tier of the parent public advertised prefix.
577 &quot;parentPrefix&quot;: &quot;A String&quot;, # The URL of parent prefix. Either PublicAdvertisedPrefix or
578 # PublicDelegatedPrefix.
579 &quot;publicDelegatedSubPrefixs&quot;: [ # The list of sub public delegated prefixes that exist for this public
580 # delegated prefix.
581 { # Represents a sub PublicDelegatedPrefix.
582 &quot;allocatablePrefixLength&quot;: 42, # The allocatable prefix length supported by this PublicDelegatedSubPrefix.
583 &quot;delegateeProject&quot;: &quot;A String&quot;, # Name of the project scoping this PublicDelegatedSubPrefix.
584 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
585 # create the resource.
586 &quot;enableEnhancedIpv4Allocation&quot;: True or False, # Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations.
587 # Applicable for IPv4 PDPs only.
588 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IP address range, in CIDR format, represented by this sub public
589 # delegated prefix.
590 &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Output only. [Output Only] The internet access type for IPv6 Public Delegated Sub
591 # Prefixes. Inherited from parent prefix.
592 &quot;isAddress&quot;: True or False, # Whether the sub prefix is delegated to create Address resources in the
593 # delegatee project.
594 &quot;mode&quot;: &quot;A String&quot;, # The PublicDelegatedSubPrefix mode for IPv6 only.
595 &quot;name&quot;: &quot;A String&quot;, # The name of the sub public delegated prefix.
596 &quot;purpose&quot;: &quot;A String&quot;, # Output only. [Output Only] The purpose of the sub public delegated prefix. Inherited
597 # from parent prefix.
598 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] The region of the sub public delegated prefix if it is
599 # regional. If absent, the sub prefix is global.
600 &quot;status&quot;: &quot;A String&quot;, # Output only. [Output Only] The status of the sub public delegated prefix.
601 },
602 ],
603 &quot;purpose&quot;: &quot;A String&quot;, # Immutable. The purpose of the public delegated prefix.
604 #
605 # This field can only be set for the top-level global public delegated
606 # prefix. It is an output-only field for the sub-delegates that inherit the
607 # value from the top-level global public delegated prefix. Once the value is
608 # set, it cannot be changed.
609 #
610 # The field cannot be set for regional public delegated prefixes.
611 #
612 # The supported values are:
613 #
614 #
615 # - APPLICATION_AND_PROXY_LOAD_BALANCERS: The global public
616 # delegated prefix can only be used by Global External Application and
617 # Proxy Load Balancers to allocate addresses for forwarding rules. This is
618 # the default value.
619 # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0: The
620 # global public delegated prefix can only be used by Global External
621 # Passthrough Network Load Balancers to allocate Availability Group 0
622 # addresses for forwarding rules.
623 # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1: The
624 # global public delegated prefix can only be used by Global External
625 # Passthrough Network Load Balancers to allocate Availability Group 1
626 # addresses for forwarding rules.
627 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the public delegated prefix resides.
628 # This field applies only to the region resource. You must specify this
629 # field as part of the HTTP request URL. It is not settable as a field in
630 # the request body.
631 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
632 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL with id for the resource.
633 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the public delegated prefix, which can be one
634 # of following values:
635 #
636 #
637 # - `INITIALIZING` The public delegated prefix is being initialized and
638 # addresses cannot be created yet.
639 # - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration
640 # prefix and is active.
641 # - `ANNOUNCED` The public delegated prefix is announced and ready to
642 # use.
643 # - `DELETING` The public delegated prefix is being deprovsioned.
644 # - `ACTIVE` The public delegated prefix is ready to use.
645 }
646
647 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
648 that if you must retry your request, the server will know to ignore the
649 request if it has already been completed.
650
651 For example, consider a situation where you make an initial request and
652 the request times out. If you make the request again with the same
653 request ID, the server can check if original operation with the same
654 request ID was received, and if so, will ignore the second request. This
655 prevents clients from accidentally creating duplicate commitments.
656
657 The request ID must be
658 a valid UUID with the exception that zero UUID is not supported
659 (00000000-0000-0000-0000-000000000000).
660 x__xgafv: string, V1 error format.
661 Allowed values
662 1 - v1 error format
663 2 - v2 error format
664
665 Returns:
666 An object of the form:
667
668 { # Represents an Operation resource.
669 #
670 # Google Compute Engine has three Operation resources:
671 #
672 # * [Global](/compute/docs/reference/rest/alpha/globalOperations)
673 # * [Regional](/compute/docs/reference/rest/alpha/regionOperations)
674 # * [Zonal](/compute/docs/reference/rest/alpha/zoneOperations)
675 #
676 # You can use an operation resource to manage asynchronous API requests.
677 # For more information, readHandling
678 # API responses.
679 #
680 # Operations can be global, regional or zonal.
681 #
682 # - For global operations, use the `globalOperations`
683 # resource.
684 # - For regional operations, use the
685 # `regionOperations` resource.
686 # - For zonal operations, use
687 # the `zoneOperations` resource.
688 #
689 #
690 #
691 # For more information, read
692 # Global, Regional, and Zonal Resources.
693 #
694 # Note that completed Operation resources have a limited
695 # retention period.
696 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
697 # Not present otherwise.
698 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
699 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
700 # set when the operation is created.
701 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
702 # text format.
703 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
704 # this field will be populated.
705 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
706 # operation.
707 {
708 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
709 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
710 # details. There is a set of defined message types to use for providing
711 # details.The syntax depends on the error code. For example,
712 # QuotaExceededInfo will have details when the error code is
713 # QUOTA_EXCEEDED.
714 {
715 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
716 #
717 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
718 # is not enabled:
719 #
720 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
721 # &quot;domain&quot;: &quot;googleapis.com&quot;
722 # &quot;metadata&quot;: {
723 # &quot;resource&quot;: &quot;projects/123&quot;,
724 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
725 # }
726 # }
727 #
728 # This response indicates that the pubsub.googleapis.com API is not enabled.
729 #
730 # Example of an error that is returned when attempting to create a Spanner
731 # instance in a region that is out of stock:
732 #
733 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
734 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
735 # &quot;metadata&quot;: {
736 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
737 # }
738 # }
739 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
740 # is typically the registered service name of the tool or product that
741 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
742 # generated by some common infrastructure, the error domain must be a
743 # globally unique value that identifies the infrastructure. For Google API
744 # infrastructure, the error domain is &quot;googleapis.com&quot;.
745 &quot;metadatas&quot;: { # Additional structured details about this error.
746 #
747 # Keys must match a regular expression of `a-z+` but should
748 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
749 # length. When identifying the current value of an exceeded limit, the units
750 # should be contained in the key, not the value. For example, rather than
751 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
752 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
753 # instances that can be created in a single (batch) request.
754 &quot;a_key&quot;: &quot;A String&quot;,
755 },
756 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
757 # proximate cause of the error. Error reasons are unique within a particular
758 # domain of errors. This should be at most 63 characters and match a
759 # regular expression of `A-Z+[A-Z0-9]`, which represents
760 # UPPER_SNAKE_CASE.
761 },
762 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
763 #
764 # For example, if a quota check failed with an error indicating the calling
765 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
766 # directly to the right place in the developer console to flip the bit.
767 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
768 { # Describes a URL link.
769 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
770 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
771 },
772 ],
773 },
774 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
775 # which can be attached to an RPC error.
776 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
777 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
778 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
779 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
780 },
781 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
782 &quot;dimensions&quot;: { # The map holding related quota dimensions.
783 &quot;a_key&quot;: &quot;A String&quot;,
784 },
785 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
786 # type or metric.
787 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
788 # or metric.
789 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
790 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
791 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
792 },
793 },
794 ],
795 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
796 # This property is optional.
797 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
798 },
799 ],
800 },
801 &quot;getVersionOperationMetadata&quot;: {
802 &quot;inlineSbomInfo&quot;: {
803 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
804 # appropriate identifiers.
805 &quot;a_key&quot;: &quot;A String&quot;,
806 },
807 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
808 # identifiers.
809 &quot;a_key&quot;: &quot;A String&quot;,
810 },
811 },
812 },
813 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
814 # message that was returned, such as `NOT FOUND`.
815 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
816 # status code that was returned. For example, a `404` means the
817 # resource was not found.
818 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
819 # defined by the server.
820 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
821 # This value is inRFC3339
822 # text format.
823 &quot;instancesBulkInsertOperationMetadata&quot;: {
824 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
825 # Example key: zones/us-central1-a
826 &quot;a_key&quot;: {
827 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
828 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
829 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
830 # error.
831 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
832 # if the flow is rolling forward or rolling back.
833 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
834 },
835 },
836 },
837 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
838 # Operation resources.
839 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
840 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
841 # group of operations results from a `bulkInsert` API request.
842 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
843 # `update`, or `delete`, and so on.
844 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
845 # There is no requirement that this be linear or support any granularity of
846 # operations. This should not be used to guess when the operation will be
847 # complete. This number should monotonically increase as the operation
848 # progresses.
849 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
850 # applicable when performing regional operations.
851 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
852 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
853 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
854 # this field will contain information on all underlying zonal actions and
855 # their state.
856 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
857 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
858 # Example key: zones/us-central1-a
859 &quot;a_key&quot;: {
860 &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
861 # populated.
862 # different programming environments, including REST APIs and RPC APIs. It is
863 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
864 # three pieces of data: error code, error message, and error details.
865 #
866 # You can find out more about this error model and how to work with it in the
867 # [API Design Guide](https://cloud.google.com/apis/design/errors).
868 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
869 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
870 # message types for APIs to use.
871 {
872 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
873 },
874 ],
875 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
876 # user-facing error message should be localized and sent in the
877 # google.rpc.Status.details field, or localized by the client.
878 },
879 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
880 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
881 },
882 },
883 },
884 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
885 # This value is inRFC3339
886 # text format.
887 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
888 # following:
889 # `PENDING`, `RUNNING`, or `DONE`.
890 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
891 # operation.
892 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
893 # of the target resource.
894 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
895 # operations related to creating a snapshot, this points to the disk
896 # that the snapshot was created from.
897 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
898 # `[email protected]` or
899 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
900 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
901 # operation, this field will be populated.
902 {
903 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
904 # Engine returns NO_RESULTS_ON_PAGE if there
905 # are no results in the response.
906 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
907 # value format. For example:
908 #
909 # &quot;data&quot;: [
910 # {
911 # &quot;key&quot;: &quot;scope&quot;,
912 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
913 # }
914 {
915 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
916 # returned. For example, for warnings where there are no results in a list
917 # request for a particular zone, this key might be scope and
918 # the key value might be the zone name. Other examples might be a key
919 # indicating a deprecated resource and a suggested replacement, or a
920 # warning about invalid network settings (for example, if an instance
921 # attempts to perform IP forwarding but is not enabled for IP forwarding).
922 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
923 },
924 ],
925 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
926 },
927 ],
928 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
929 # applicable when performing per-zone operations.
930 }</pre>
931 </div>
932
933 <div class="method">
934 <code class="details" id="list">list(project, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
935 <pre>Lists the global PublicDelegatedPrefixes for a project.
936
937 Args:
938 project: string, Project ID for this request. (required)
939 filter: string, A filter expression that filters resources listed in the response. Most
940 Compute resources support two types of filter expressions:
941 expressions that support regular expressions and expressions that follow
942 API improvement proposal AIP-160.
943 These two types of filter expressions cannot be mixed in one request.
944
945 If you want to use AIP-160, your expression must specify the field name, an
946 operator, and the value that you want to use for filtering. The value
947 must be a string, a number, or a boolean. The operator
948 must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`.
949
950 For example, if you are filtering Compute Engine instances, you can
951 exclude instances named `example-instance` by specifying
952 `name != example-instance`.
953
954 The `:*` comparison can be used to test whether a key has been defined.
955 For example, to find all objects with `owner` label use:
956 ```
957 labels.owner:*
958 ```
959
960 You can also filter nested fields. For example, you could specify
961 `scheduling.automaticRestart = false` to include instances only
962 if they are not scheduled for automatic restarts. You can use filtering
963 on nested fields to filter based onresource labels.
964
965 To filter on multiple expressions, provide each separate expression within
966 parentheses. For example:
967 ```
968 (scheduling.automaticRestart = true)
969 (cpuPlatform = &quot;Intel Skylake&quot;)
970 ```
971 By default, each expression is an `AND` expression. However, you
972 can include `AND` and `OR` expressions explicitly.
973 For example:
974 ```
975 (cpuPlatform = &quot;Intel Skylake&quot;) OR
976 (cpuPlatform = &quot;Intel Broadwell&quot;) AND
977 (scheduling.automaticRestart = true)
978 ```
979
980 If you want to use a regular expression, use the `eq` (equal) or `ne`
981 (not equal) operator against a single un-parenthesized expression with or
982 without quotes or against multiple parenthesized expressions. Examples:
983
984 `fieldname eq unquoted literal`
985 `fieldname eq &#x27;single quoted literal&#x27;`
986 `fieldname eq &quot;double quoted literal&quot;`
987 `(fieldname1 eq literal) (fieldname2 ne &quot;literal&quot;)`
988
989 The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
990 The literal value must match the entire field.
991
992 For example, to filter for instances that do not end with name &quot;instance&quot;,
993 you would use `name ne .*instance`.
994
995 You cannot combine constraints on multiple fields using regular
996 expressions.
997 maxResults: integer, The maximum number of results per page that should be returned.
998 If the number of available results is larger than `maxResults`,
999 Compute Engine returns a `nextPageToken` that can be used to get
1000 the next page of results in subsequent list requests. Acceptable values are
1001 `0` to `500`, inclusive. (Default: `500`)
1002 orderBy: string, Sorts list results by a certain order. By default, results
1003 are returned in alphanumerical order based on the resource name.
1004
1005 You can also sort results in descending order based on the creation
1006 timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts
1007 results based on the `creationTimestamp` field in
1008 reverse chronological order (newest result first). Use this to sort
1009 resources like operations so that the newest operation is returned first.
1010
1011 Currently, only sorting by `name` or
1012 `creationTimestamp desc` is supported.
1013 pageToken: string, Specifies a page token to use. Set `pageToken` to the
1014 `nextPageToken` returned by a previous list request to get
1015 the next page of results.
1016 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case
1017 of failure. The default value is false.
1018
1019 For example, when partial success behavior is enabled, aggregatedList for a
1020 single zone scope either returns all resources in the zone or no resources,
1021 with an error code.
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 {
1031 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
1032 &quot;items&quot;: [ # A list of PublicDelegatedPrefix resources.
1033 { # A PublicDelegatedPrefix resource represents an IP block within a
1034 # PublicAdvertisedPrefix that is configured within a single cloud scope
1035 # (global or region). IPs in the block can be allocated to resources within
1036 # that scope. Public delegated prefixes may be further broken up into
1037 # smaller IP blocks in the same scope as the parent block.
1038 &quot;allocatablePrefixLength&quot;: 42, # The allocatable prefix length supported by this public delegated prefix.
1039 # This field is optional and cannot be set for prefixes in DELEGATION mode.
1040 # It cannot be set for IPv4 prefixes either, and it always defaults to 32.
1041 &quot;byoipApiVersion&quot;: &quot;A String&quot;, # Output only. [Output Only] The version of BYOIP API.
1042 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
1043 # text format.
1044 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
1045 # create the resource.
1046 &quot;enableEnhancedIpv4Allocation&quot;: True or False, # Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations.
1047 # Applicable for IPv4 PDPs only.
1048 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object.
1049 # This field is used in optimistic locking. This field will be ignored when
1050 # inserting a new PublicDelegatedPrefix. An up-to-date
1051 # fingerprint must be provided in order to update thePublicDelegatedPrefix, otherwise the request will fail with
1052 # error 412 conditionNotMet.
1053 #
1054 # To see the latest fingerprint, make a get() request to
1055 # retrieve a PublicDelegatedPrefix.
1056 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource type. The server
1057 # generates this identifier.
1058 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IP address range, in CIDR format, represented by this public
1059 # delegated prefix.
1060 &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Output only. [Output Only] The internet access type for IPv6 Public Delegated Prefixes.
1061 # Inherited from parent prefix.
1062 &quot;isLiveMigration&quot;: True or False, # If true, the prefix will be live migrated.
1063 &quot;kind&quot;: &quot;compute#publicDelegatedPrefix&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefix for public delegated prefixes.
1064 &quot;mode&quot;: &quot;A String&quot;, # The public delegated prefix mode for IPv6 only.
1065 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
1066 # The name must be 1-63 characters long, and comply withRFC1035.
1067 # Specifically, the name must be 1-63 characters long and match the regular
1068 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
1069 # character must be a lowercase letter, and all following characters must
1070 # be a dash, lowercase letter, or digit, except the last character, which
1071 # cannot be a dash.
1072 &quot;networkTier&quot;: &quot;A String&quot;, # Network tier of the public delegated prefix. If populated, it must match
1073 # the network tier of the parent public advertised prefix. If not populated,
1074 # it defaults to the network tier of the parent public advertised prefix.
1075 &quot;parentPrefix&quot;: &quot;A String&quot;, # The URL of parent prefix. Either PublicAdvertisedPrefix or
1076 # PublicDelegatedPrefix.
1077 &quot;publicDelegatedSubPrefixs&quot;: [ # The list of sub public delegated prefixes that exist for this public
1078 # delegated prefix.
1079 { # Represents a sub PublicDelegatedPrefix.
1080 &quot;allocatablePrefixLength&quot;: 42, # The allocatable prefix length supported by this PublicDelegatedSubPrefix.
1081 &quot;delegateeProject&quot;: &quot;A String&quot;, # Name of the project scoping this PublicDelegatedSubPrefix.
1082 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
1083 # create the resource.
1084 &quot;enableEnhancedIpv4Allocation&quot;: True or False, # Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations.
1085 # Applicable for IPv4 PDPs only.
1086 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IP address range, in CIDR format, represented by this sub public
1087 # delegated prefix.
1088 &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Output only. [Output Only] The internet access type for IPv6 Public Delegated Sub
1089 # Prefixes. Inherited from parent prefix.
1090 &quot;isAddress&quot;: True or False, # Whether the sub prefix is delegated to create Address resources in the
1091 # delegatee project.
1092 &quot;mode&quot;: &quot;A String&quot;, # The PublicDelegatedSubPrefix mode for IPv6 only.
1093 &quot;name&quot;: &quot;A String&quot;, # The name of the sub public delegated prefix.
1094 &quot;purpose&quot;: &quot;A String&quot;, # Output only. [Output Only] The purpose of the sub public delegated prefix. Inherited
1095 # from parent prefix.
1096 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] The region of the sub public delegated prefix if it is
1097 # regional. If absent, the sub prefix is global.
1098 &quot;status&quot;: &quot;A String&quot;, # Output only. [Output Only] The status of the sub public delegated prefix.
1099 },
1100 ],
1101 &quot;purpose&quot;: &quot;A String&quot;, # Immutable. The purpose of the public delegated prefix.
1102 #
1103 # This field can only be set for the top-level global public delegated
1104 # prefix. It is an output-only field for the sub-delegates that inherit the
1105 # value from the top-level global public delegated prefix. Once the value is
1106 # set, it cannot be changed.
1107 #
1108 # The field cannot be set for regional public delegated prefixes.
1109 #
1110 # The supported values are:
1111 #
1112 #
1113 # - APPLICATION_AND_PROXY_LOAD_BALANCERS: The global public
1114 # delegated prefix can only be used by Global External Application and
1115 # Proxy Load Balancers to allocate addresses for forwarding rules. This is
1116 # the default value.
1117 # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0: The
1118 # global public delegated prefix can only be used by Global External
1119 # Passthrough Network Load Balancers to allocate Availability Group 0
1120 # addresses for forwarding rules.
1121 # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1: The
1122 # global public delegated prefix can only be used by Global External
1123 # Passthrough Network Load Balancers to allocate Availability Group 1
1124 # addresses for forwarding rules.
1125 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the public delegated prefix resides.
1126 # This field applies only to the region resource. You must specify this
1127 # field as part of the HTTP request URL. It is not settable as a field in
1128 # the request body.
1129 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
1130 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL with id for the resource.
1131 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the public delegated prefix, which can be one
1132 # of following values:
1133 #
1134 #
1135 # - `INITIALIZING` The public delegated prefix is being initialized and
1136 # addresses cannot be created yet.
1137 # - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration
1138 # prefix and is active.
1139 # - `ANNOUNCED` The public delegated prefix is announced and ready to
1140 # use.
1141 # - `DELETING` The public delegated prefix is being deprovsioned.
1142 # - `ACTIVE` The public delegated prefix is ready to use.
1143 },
1144 ],
1145 &quot;kind&quot;: &quot;compute#publicDelegatedPrefixList&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefixList for public delegated
1146 # prefixes.
1147 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for
1148 # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
1149 # the query parameter pageToken in the next list request.
1150 # Subsequent list requests will have their own nextPageToken to
1151 # continue paging through the results.
1152 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource.
1153 &quot;warning&quot;: { # [Output Only] Informational warning message.
1154 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1155 # Engine returns NO_RESULTS_ON_PAGE if there
1156 # are no results in the response.
1157 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1158 # value format. For example:
1159 #
1160 # &quot;data&quot;: [
1161 # {
1162 # &quot;key&quot;: &quot;scope&quot;,
1163 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1164 # }
1165 {
1166 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1167 # returned. For example, for warnings where there are no results in a list
1168 # request for a particular zone, this key might be scope and
1169 # the key value might be the zone name. Other examples might be a key
1170 # indicating a deprecated resource and a suggested replacement, or a
1171 # warning about invalid network settings (for example, if an instance
1172 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1173 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1174 },
1175 ],
1176 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1177 },
1178 }</pre>
1179 </div>
1180
1181 <div class="method">
1182 <code class="details" id="list_next">list_next()</code>
1183 <pre>Retrieves the next page of results.
1184
1185 Args:
1186 previous_request: The request for the previous page. (required)
1187 previous_response: The response from the request for the previous page. (required)
1188
1189 Returns:
1190 A request object that you can call &#x27;execute()&#x27; on to request the next
1191 page. Returns None if there are no more items in the collection.
1192 </pre>
1193 </div>
1194
1195 <div class="method">
1196 <code class="details" id="patch">patch(project, publicDelegatedPrefix, body=None, requestId=None, x__xgafv=None)</code>
1197 <pre>Patches the specified global PublicDelegatedPrefix resource with the data
1198 included in the request. This method supportsPATCH
1199 semantics and usesJSON merge
1200 patch format and processing rules.
1201
1202 Args:
1203 project: string, Project ID for this request. (required)
1204 publicDelegatedPrefix: string, Name of the PublicDelegatedPrefix resource to patch. (required)
1205 body: object, The request body.
1206 The object takes the form of:
1207
1208 { # A PublicDelegatedPrefix resource represents an IP block within a
1209 # PublicAdvertisedPrefix that is configured within a single cloud scope
1210 # (global or region). IPs in the block can be allocated to resources within
1211 # that scope. Public delegated prefixes may be further broken up into
1212 # smaller IP blocks in the same scope as the parent block.
1213 &quot;allocatablePrefixLength&quot;: 42, # The allocatable prefix length supported by this public delegated prefix.
1214 # This field is optional and cannot be set for prefixes in DELEGATION mode.
1215 # It cannot be set for IPv4 prefixes either, and it always defaults to 32.
1216 &quot;byoipApiVersion&quot;: &quot;A String&quot;, # Output only. [Output Only] The version of BYOIP API.
1217 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
1218 # text format.
1219 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
1220 # create the resource.
1221 &quot;enableEnhancedIpv4Allocation&quot;: True or False, # Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations.
1222 # Applicable for IPv4 PDPs only.
1223 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object.
1224 # This field is used in optimistic locking. This field will be ignored when
1225 # inserting a new PublicDelegatedPrefix. An up-to-date
1226 # fingerprint must be provided in order to update thePublicDelegatedPrefix, otherwise the request will fail with
1227 # error 412 conditionNotMet.
1228 #
1229 # To see the latest fingerprint, make a get() request to
1230 # retrieve a PublicDelegatedPrefix.
1231 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource type. The server
1232 # generates this identifier.
1233 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IP address range, in CIDR format, represented by this public
1234 # delegated prefix.
1235 &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Output only. [Output Only] The internet access type for IPv6 Public Delegated Prefixes.
1236 # Inherited from parent prefix.
1237 &quot;isLiveMigration&quot;: True or False, # If true, the prefix will be live migrated.
1238 &quot;kind&quot;: &quot;compute#publicDelegatedPrefix&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefix for public delegated prefixes.
1239 &quot;mode&quot;: &quot;A String&quot;, # The public delegated prefix mode for IPv6 only.
1240 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
1241 # The name must be 1-63 characters long, and comply withRFC1035.
1242 # Specifically, the name must be 1-63 characters long and match the regular
1243 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
1244 # character must be a lowercase letter, and all following characters must
1245 # be a dash, lowercase letter, or digit, except the last character, which
1246 # cannot be a dash.
1247 &quot;networkTier&quot;: &quot;A String&quot;, # Network tier of the public delegated prefix. If populated, it must match
1248 # the network tier of the parent public advertised prefix. If not populated,
1249 # it defaults to the network tier of the parent public advertised prefix.
1250 &quot;parentPrefix&quot;: &quot;A String&quot;, # The URL of parent prefix. Either PublicAdvertisedPrefix or
1251 # PublicDelegatedPrefix.
1252 &quot;publicDelegatedSubPrefixs&quot;: [ # The list of sub public delegated prefixes that exist for this public
1253 # delegated prefix.
1254 { # Represents a sub PublicDelegatedPrefix.
1255 &quot;allocatablePrefixLength&quot;: 42, # The allocatable prefix length supported by this PublicDelegatedSubPrefix.
1256 &quot;delegateeProject&quot;: &quot;A String&quot;, # Name of the project scoping this PublicDelegatedSubPrefix.
1257 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
1258 # create the resource.
1259 &quot;enableEnhancedIpv4Allocation&quot;: True or False, # Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations.
1260 # Applicable for IPv4 PDPs only.
1261 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IP address range, in CIDR format, represented by this sub public
1262 # delegated prefix.
1263 &quot;ipv6AccessType&quot;: &quot;A String&quot;, # Output only. [Output Only] The internet access type for IPv6 Public Delegated Sub
1264 # Prefixes. Inherited from parent prefix.
1265 &quot;isAddress&quot;: True or False, # Whether the sub prefix is delegated to create Address resources in the
1266 # delegatee project.
1267 &quot;mode&quot;: &quot;A String&quot;, # The PublicDelegatedSubPrefix mode for IPv6 only.
1268 &quot;name&quot;: &quot;A String&quot;, # The name of the sub public delegated prefix.
1269 &quot;purpose&quot;: &quot;A String&quot;, # Output only. [Output Only] The purpose of the sub public delegated prefix. Inherited
1270 # from parent prefix.
1271 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] The region of the sub public delegated prefix if it is
1272 # regional. If absent, the sub prefix is global.
1273 &quot;status&quot;: &quot;A String&quot;, # Output only. [Output Only] The status of the sub public delegated prefix.
1274 },
1275 ],
1276 &quot;purpose&quot;: &quot;A String&quot;, # Immutable. The purpose of the public delegated prefix.
1277 #
1278 # This field can only be set for the top-level global public delegated
1279 # prefix. It is an output-only field for the sub-delegates that inherit the
1280 # value from the top-level global public delegated prefix. Once the value is
1281 # set, it cannot be changed.
1282 #
1283 # The field cannot be set for regional public delegated prefixes.
1284 #
1285 # The supported values are:
1286 #
1287 #
1288 # - APPLICATION_AND_PROXY_LOAD_BALANCERS: The global public
1289 # delegated prefix can only be used by Global External Application and
1290 # Proxy Load Balancers to allocate addresses for forwarding rules. This is
1291 # the default value.
1292 # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP0: The
1293 # global public delegated prefix can only be used by Global External
1294 # Passthrough Network Load Balancers to allocate Availability Group 0
1295 # addresses for forwarding rules.
1296 # - PASSTHROUGH_LOAD_BALANCER_AVAILABILITY_GROUP1: The
1297 # global public delegated prefix can only be used by Global External
1298 # Passthrough Network Load Balancers to allocate Availability Group 1
1299 # addresses for forwarding rules.
1300 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the public delegated prefix resides.
1301 # This field applies only to the region resource. You must specify this
1302 # field as part of the HTTP request URL. It is not settable as a field in
1303 # the request body.
1304 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
1305 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL with id for the resource.
1306 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the public delegated prefix, which can be one
1307 # of following values:
1308 #
1309 #
1310 # - `INITIALIZING` The public delegated prefix is being initialized and
1311 # addresses cannot be created yet.
1312 # - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration
1313 # prefix and is active.
1314 # - `ANNOUNCED` The public delegated prefix is announced and ready to
1315 # use.
1316 # - `DELETING` The public delegated prefix is being deprovsioned.
1317 # - `ACTIVE` The public delegated prefix is ready to use.
1318 }
1319
1320 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
1321 that if you must retry your request, the server will know to ignore the
1322 request if it has already been completed.
1323
1324 For example, consider a situation where you make an initial request and
1325 the request times out. If you make the request again with the same
1326 request ID, the server can check if original operation with the same
1327 request ID was received, and if so, will ignore the second request. This
1328 prevents clients from accidentally creating duplicate commitments.
1329
1330 The request ID must be
1331 a valid UUID with the exception that zero UUID is not supported
1332 (00000000-0000-0000-0000-000000000000).
1333 x__xgafv: string, V1 error format.
1334 Allowed values
1335 1 - v1 error format
1336 2 - v2 error format
1337
1338 Returns:
1339 An object of the form:
1340
1341 { # Represents an Operation resource.
1342 #
1343 # Google Compute Engine has three Operation resources:
1344 #
1345 # * [Global](/compute/docs/reference/rest/alpha/globalOperations)
1346 # * [Regional](/compute/docs/reference/rest/alpha/regionOperations)
1347 # * [Zonal](/compute/docs/reference/rest/alpha/zoneOperations)
1348 #
1349 # You can use an operation resource to manage asynchronous API requests.
1350 # For more information, readHandling
1351 # API responses.
1352 #
1353 # Operations can be global, regional or zonal.
1354 #
1355 # - For global operations, use the `globalOperations`
1356 # resource.
1357 # - For regional operations, use the
1358 # `regionOperations` resource.
1359 # - For zonal operations, use
1360 # the `zoneOperations` resource.
1361 #
1362 #
1363 #
1364 # For more information, read
1365 # Global, Regional, and Zonal Resources.
1366 #
1367 # Note that completed Operation resources have a limited
1368 # retention period.
1369 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
1370 # Not present otherwise.
1371 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
1372 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
1373 # set when the operation is created.
1374 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
1375 # text format.
1376 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
1377 # this field will be populated.
1378 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
1379 # operation.
1380 {
1381 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
1382 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
1383 # details. There is a set of defined message types to use for providing
1384 # details.The syntax depends on the error code. For example,
1385 # QuotaExceededInfo will have details when the error code is
1386 # QUOTA_EXCEEDED.
1387 {
1388 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
1389 #
1390 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
1391 # is not enabled:
1392 #
1393 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
1394 # &quot;domain&quot;: &quot;googleapis.com&quot;
1395 # &quot;metadata&quot;: {
1396 # &quot;resource&quot;: &quot;projects/123&quot;,
1397 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
1398 # }
1399 # }
1400 #
1401 # This response indicates that the pubsub.googleapis.com API is not enabled.
1402 #
1403 # Example of an error that is returned when attempting to create a Spanner
1404 # instance in a region that is out of stock:
1405 #
1406 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
1407 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
1408 # &quot;metadata&quot;: {
1409 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
1410 # }
1411 # }
1412 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
1413 # is typically the registered service name of the tool or product that
1414 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
1415 # generated by some common infrastructure, the error domain must be a
1416 # globally unique value that identifies the infrastructure. For Google API
1417 # infrastructure, the error domain is &quot;googleapis.com&quot;.
1418 &quot;metadatas&quot;: { # Additional structured details about this error.
1419 #
1420 # Keys must match a regular expression of `a-z+` but should
1421 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
1422 # length. When identifying the current value of an exceeded limit, the units
1423 # should be contained in the key, not the value. For example, rather than
1424 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
1425 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
1426 # instances that can be created in a single (batch) request.
1427 &quot;a_key&quot;: &quot;A String&quot;,
1428 },
1429 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
1430 # proximate cause of the error. Error reasons are unique within a particular
1431 # domain of errors. This should be at most 63 characters and match a
1432 # regular expression of `A-Z+[A-Z0-9]`, which represents
1433 # UPPER_SNAKE_CASE.
1434 },
1435 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
1436 #
1437 # For example, if a quota check failed with an error indicating the calling
1438 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
1439 # directly to the right place in the developer console to flip the bit.
1440 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
1441 { # Describes a URL link.
1442 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
1443 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
1444 },
1445 ],
1446 },
1447 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
1448 # which can be attached to an RPC error.
1449 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
1450 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
1451 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
1452 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
1453 },
1454 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
1455 &quot;dimensions&quot;: { # The map holding related quota dimensions.
1456 &quot;a_key&quot;: &quot;A String&quot;,
1457 },
1458 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
1459 # type or metric.
1460 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
1461 # or metric.
1462 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
1463 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
1464 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
1465 },
1466 },
1467 ],
1468 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
1469 # This property is optional.
1470 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
1471 },
1472 ],
1473 },
1474 &quot;getVersionOperationMetadata&quot;: {
1475 &quot;inlineSbomInfo&quot;: {
1476 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
1477 # appropriate identifiers.
1478 &quot;a_key&quot;: &quot;A String&quot;,
1479 },
1480 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
1481 # identifiers.
1482 &quot;a_key&quot;: &quot;A String&quot;,
1483 },
1484 },
1485 },
1486 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
1487 # message that was returned, such as `NOT FOUND`.
1488 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
1489 # status code that was returned. For example, a `404` means the
1490 # resource was not found.
1491 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
1492 # defined by the server.
1493 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
1494 # This value is inRFC3339
1495 # text format.
1496 &quot;instancesBulkInsertOperationMetadata&quot;: {
1497 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
1498 # Example key: zones/us-central1-a
1499 &quot;a_key&quot;: {
1500 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
1501 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
1502 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
1503 # error.
1504 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
1505 # if the flow is rolling forward or rolling back.
1506 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
1507 },
1508 },
1509 },
1510 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
1511 # Operation resources.
1512 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
1513 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
1514 # group of operations results from a `bulkInsert` API request.
1515 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
1516 # `update`, or `delete`, and so on.
1517 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
1518 # There is no requirement that this be linear or support any granularity of
1519 # operations. This should not be used to guess when the operation will be
1520 # complete. This number should monotonically increase as the operation
1521 # progresses.
1522 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
1523 # applicable when performing regional operations.
1524 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
1525 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
1526 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
1527 # this field will contain information on all underlying zonal actions and
1528 # their state.
1529 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
1530 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
1531 # Example key: zones/us-central1-a
1532 &quot;a_key&quot;: {
1533 &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
1534 # populated.
1535 # different programming environments, including REST APIs and RPC APIs. It is
1536 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1537 # three pieces of data: error code, error message, and error details.
1538 #
1539 # You can find out more about this error model and how to work with it in the
1540 # [API Design Guide](https://cloud.google.com/apis/design/errors).
1541 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1542 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
1543 # message types for APIs to use.
1544 {
1545 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1546 },
1547 ],
1548 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
1549 # user-facing error message should be localized and sent in the
1550 # google.rpc.Status.details field, or localized by the client.
1551 },
1552 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
1553 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
1554 },
1555 },
1556 },
1557 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
1558 # This value is inRFC3339
1559 # text format.
1560 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
1561 # following:
1562 # `PENDING`, `RUNNING`, or `DONE`.
1563 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
1564 # operation.
1565 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
1566 # of the target resource.
1567 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
1568 # operations related to creating a snapshot, this points to the disk
1569 # that the snapshot was created from.
1570 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
1571 # `[email protected]` or
1572 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
1573 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
1574 # operation, this field will be populated.
1575 {
1576 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1577 # Engine returns NO_RESULTS_ON_PAGE if there
1578 # are no results in the response.
1579 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1580 # value format. For example:
1581 #
1582 # &quot;data&quot;: [
1583 # {
1584 # &quot;key&quot;: &quot;scope&quot;,
1585 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1586 # }
1587 {
1588 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1589 # returned. For example, for warnings where there are no results in a list
1590 # request for a particular zone, this key might be scope and
1591 # the key value might be the zone name. Other examples might be a key
1592 # indicating a deprecated resource and a suggested replacement, or a
1593 # warning about invalid network settings (for example, if an instance
1594 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1595 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1596 },
1597 ],
1598 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1599 },
1600 ],
1601 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
1602 # applicable when performing per-zone operations.
1603 }</pre>
1604 </div>
1605
1606 </body></html>