Debian Codegraph @

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