blob: 17b76d8e66d3c062b0b461c7db40193e052c2396 [file] [log] [blame]
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="compute_beta.html">Compute Engine API</a> . <a href="compute_beta.publicDelegatedPrefixes.html">publicDelegatedPrefixes</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
yoshi-code-botc3f86752021-06-12 00:20:02 -070078 <code><a href="#aggregatedList">aggregatedList(project, filter=None, includeAllScopes=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None)</a></code></p>
yoshi-code-botb6dc1b92021-03-02 11:49:08 -080079<p class="firstline">Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes.</p>
80<p class="toc_element">
81 <code><a href="#aggregatedList_next">aggregatedList_next(previous_request, previous_response)</a></code></p>
82<p class="firstline">Retrieves the next page of results.</p>
83<p class="toc_element">
84 <code><a href="#close">close()</a></code></p>
85<p class="firstline">Close httplib2 connections.</p>
86<p class="toc_element">
yoshi-code-botc3f86752021-06-12 00:20:02 -070087 <code><a href="#delete">delete(project, region, publicDelegatedPrefix, requestId=None)</a></code></p>
yoshi-code-botb6dc1b92021-03-02 11:49:08 -080088<p class="firstline">Deletes the specified PublicDelegatedPrefix in the given region.</p>
89<p class="toc_element">
yoshi-code-botc3f86752021-06-12 00:20:02 -070090 <code><a href="#get">get(project, region, publicDelegatedPrefix)</a></code></p>
yoshi-code-botb6dc1b92021-03-02 11:49:08 -080091<p class="firstline">Returns the specified PublicDelegatedPrefix resource in the given region.</p>
92<p class="toc_element">
yoshi-code-botc3f86752021-06-12 00:20:02 -070093 <code><a href="#insert">insert(project, region, body=None, requestId=None)</a></code></p>
yoshi-code-botb6dc1b92021-03-02 11:49:08 -080094<p class="firstline">Creates a PublicDelegatedPrefix in the specified project in the given region using the parameters that are included in the request.</p>
95<p class="toc_element">
yoshi-code-botc3f86752021-06-12 00:20:02 -070096 <code><a href="#list">list(project, region, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None)</a></code></p>
yoshi-code-botb6dc1b92021-03-02 11:49:08 -080097<p class="firstline">Lists the PublicDelegatedPrefixes for a project in the given region.</p>
98<p class="toc_element">
99 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
100<p class="firstline">Retrieves the next page of results.</p>
101<p class="toc_element">
yoshi-code-botc3f86752021-06-12 00:20:02 -0700102 <code><a href="#patch">patch(project, region, publicDelegatedPrefix, body=None, requestId=None)</a></code></p>
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800103<p class="firstline">Patches the specified PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.</p>
104<h3>Method Details</h3>
105<div class="method">
yoshi-code-botc3f86752021-06-12 00:20:02 -0700106 <code class="details" id="aggregatedList">aggregatedList(project, filter=None, includeAllScopes=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None)</code>
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800107 <pre>Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes.
108
109Args:
110 project: string, Name of the project scoping this request. (required)
yoshi-code-botc3f86752021-06-12 00:20:02 -0700111 filter: string, A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `&gt;`, or `&lt;`.
112
113For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
114
115You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
116
117To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = &quot;Intel Skylake&quot;) ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = &quot;Intel Skylake&quot;) OR (cpuPlatform = &quot;Intel Broadwell&quot;) AND (scheduling.automaticRestart = true) ```
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800118 includeAllScopes: boolean, Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
119 maxResults: integer, The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
yoshi-code-botc3f86752021-06-12 00:20:02 -0700120 orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
121
122You can also sort results in descending order based on the creation timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
123
124Currently, only sorting by `name` or `creationTimestamp desc` is supported.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800125 pageToken: string, Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
126 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
127
128Returns:
129 An object of the form:
130
131 {
132 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
133 &quot;items&quot;: { # A list of PublicDelegatedPrefixesScopedList resources.
134 &quot;a_key&quot;: { # [Output Only] Name of the scope containing this set of PublicDelegatedPrefixes.
135 &quot;publicDelegatedPrefixes&quot;: [ # [Output Only] A list of PublicDelegatedPrefixes contained in this scope.
136 { # A PublicDelegatedPrefix resource represents an IP block within a PublicAdvertisedPrefix that is configured within a single cloud scope (global or region). IPs in the block can be allocated to resources within that scope. Public delegated prefixes may be further broken up into smaller IP blocks in the same scope as the parent block.
137 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
138 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the resource.
yoshi-code-botc3f86752021-06-12 00:20:02 -0700139 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet.
140 #
141 # To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800142 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource type. The server generates this identifier.
143 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IPv4 address range, in CIDR format, represented by this public delegated prefix.
144 &quot;isLiveMigration&quot;: True or False, # If true, the prefix will be live migrated.
145 &quot;kind&quot;: &quot;compute#publicDelegatedPrefix&quot;, # [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.
146 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
147 &quot;parentPrefix&quot;: &quot;A String&quot;, # The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
148 &quot;publicDelegatedSubPrefixs&quot;: [ # The list of sub public delegated prefixes that exist for this public delegated prefix.
149 { # Represents a sub PublicDelegatedPrefix.
150 &quot;delegateeProject&quot;: &quot;A String&quot;, # Name of the project scoping this PublicDelegatedSubPrefix.
151 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the resource.
152 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IPv4 address range, in CIDR format, represented by this sub public delegated prefix.
153 &quot;isAddress&quot;: True or False, # Whether the sub prefix is delegated to create Address resources in the delegatee project.
154 &quot;name&quot;: &quot;A String&quot;, # The name of the sub public delegated prefix.
155 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.
156 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the sub public delegated prefix.
157 },
158 ],
159 &quot;region&quot;: &quot;A String&quot;, # [Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
160 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
161 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the public delegated prefix.
162 },
163 ],
164 &quot;warning&quot;: { # [Output Only] Informational warning which replaces the list of public delegated prefixes when the list is empty.
165 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
yoshi-code-botc3f86752021-06-12 00:20:02 -0700166 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
167 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800168 {
169 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
170 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
171 },
172 ],
173 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
174 },
175 },
176 },
177 &quot;kind&quot;: &quot;compute#publicDelegatedPrefixAggregatedList&quot;, # [Output Only] Type of the resource. Always compute#publicDelegatedPrefixAggregatedList for aggregated lists of public delegated prefixes.
178 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
179 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource.
180 &quot;unreachables&quot;: [ # [Output Only] Unreachable resources.
181 &quot;A String&quot;,
182 ],
183 &quot;warning&quot;: { # [Output Only] Informational warning message.
184 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
yoshi-code-botc3f86752021-06-12 00:20:02 -0700185 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
186 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800187 {
188 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
189 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
190 },
191 ],
192 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
193 },
194}</pre>
195</div>
196
197<div class="method">
198 <code class="details" id="aggregatedList_next">aggregatedList_next(previous_request, previous_response)</code>
199 <pre>Retrieves the next page of results.
200
201Args:
202 previous_request: The request for the previous page. (required)
203 previous_response: The response from the request for the previous page. (required)
204
205Returns:
206 A request object that you can call &#x27;execute()&#x27; on to request the next
207 page. Returns None if there are no more items in the collection.
208 </pre>
209</div>
210
211<div class="method">
212 <code class="details" id="close">close()</code>
213 <pre>Close httplib2 connections.</pre>
214</div>
215
216<div class="method">
yoshi-code-botc3f86752021-06-12 00:20:02 -0700217 <code class="details" id="delete">delete(project, region, publicDelegatedPrefix, requestId=None)</code>
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800218 <pre>Deletes the specified PublicDelegatedPrefix in the given region.
219
220Args:
221 project: string, Project ID for this request. (required)
222 region: string, Name of the region of this request. (required)
223 publicDelegatedPrefix: string, Name of the PublicDelegatedPrefix resource to delete. (required)
yoshi-code-botc3f86752021-06-12 00:20:02 -0700224 requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
225
226For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
227
228The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800229
230Returns:
231 An object of the form:
232
yoshi-code-botc3f86752021-06-12 00:20:02 -0700233 { # Represents an Operation resource.
234 #
235 # Google Compute Engine has three Operation resources:
236 #
237 # * [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations)
238 #
239 # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
240 #
241 # Operations can be global, regional or zonal.
242 # - For global operations, use the `globalOperations` resource.
243 # - For regional operations, use the `regionOperations` resource.
244 # - For zonal operations, use the `zonalOperations` resource.
245 #
246 # For more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==)
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800247 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
248 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
249 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
250 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
251 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
252 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
253 {
254 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
255 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
256 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
257 },
258 ],
259 },
260 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
261 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
262 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
263 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
264 &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
265 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
266 &quot;operationGroupId&quot;: &quot;A String&quot;, # [Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
267 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
268 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
269 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
270 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
271 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
272 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
273 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
274 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
275 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
276 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `user@example.com`.
277 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
278 {
279 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
yoshi-code-botc3f86752021-06-12 00:20:02 -0700280 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
281 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800282 {
283 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
284 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
285 },
286 ],
287 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
288 },
289 ],
290 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
291}</pre>
292</div>
293
294<div class="method">
yoshi-code-botc3f86752021-06-12 00:20:02 -0700295 <code class="details" id="get">get(project, region, publicDelegatedPrefix)</code>
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800296 <pre>Returns the specified PublicDelegatedPrefix resource in the given region.
297
298Args:
299 project: string, Project ID for this request. (required)
300 region: string, Name of the region of this request. (required)
301 publicDelegatedPrefix: string, Name of the PublicDelegatedPrefix resource to return. (required)
302
303Returns:
304 An object of the form:
305
306 { # A PublicDelegatedPrefix resource represents an IP block within a PublicAdvertisedPrefix that is configured within a single cloud scope (global or region). IPs in the block can be allocated to resources within that scope. Public delegated prefixes may be further broken up into smaller IP blocks in the same scope as the parent block.
307 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
308 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the resource.
yoshi-code-botc3f86752021-06-12 00:20:02 -0700309 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet.
310 #
311 # To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800312 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource type. The server generates this identifier.
313 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IPv4 address range, in CIDR format, represented by this public delegated prefix.
314 &quot;isLiveMigration&quot;: True or False, # If true, the prefix will be live migrated.
315 &quot;kind&quot;: &quot;compute#publicDelegatedPrefix&quot;, # [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.
316 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
317 &quot;parentPrefix&quot;: &quot;A String&quot;, # The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
318 &quot;publicDelegatedSubPrefixs&quot;: [ # The list of sub public delegated prefixes that exist for this public delegated prefix.
319 { # Represents a sub PublicDelegatedPrefix.
320 &quot;delegateeProject&quot;: &quot;A String&quot;, # Name of the project scoping this PublicDelegatedSubPrefix.
321 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the resource.
322 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IPv4 address range, in CIDR format, represented by this sub public delegated prefix.
323 &quot;isAddress&quot;: True or False, # Whether the sub prefix is delegated to create Address resources in the delegatee project.
324 &quot;name&quot;: &quot;A String&quot;, # The name of the sub public delegated prefix.
325 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.
326 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the sub public delegated prefix.
327 },
328 ],
329 &quot;region&quot;: &quot;A String&quot;, # [Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
330 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
331 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the public delegated prefix.
332}</pre>
333</div>
334
335<div class="method">
yoshi-code-botc3f86752021-06-12 00:20:02 -0700336 <code class="details" id="insert">insert(project, region, body=None, requestId=None)</code>
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800337 <pre>Creates a PublicDelegatedPrefix in the specified project in the given region using the parameters that are included in the request.
338
339Args:
340 project: string, Project ID for this request. (required)
341 region: string, Name of the region of this request. (required)
342 body: object, The request body.
343 The object takes the form of:
344
345{ # A PublicDelegatedPrefix resource represents an IP block within a PublicAdvertisedPrefix that is configured within a single cloud scope (global or region). IPs in the block can be allocated to resources within that scope. Public delegated prefixes may be further broken up into smaller IP blocks in the same scope as the parent block.
346 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
347 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the resource.
yoshi-code-botc3f86752021-06-12 00:20:02 -0700348 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet.
349 #
350 # To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800351 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource type. The server generates this identifier.
352 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IPv4 address range, in CIDR format, represented by this public delegated prefix.
353 &quot;isLiveMigration&quot;: True or False, # If true, the prefix will be live migrated.
354 &quot;kind&quot;: &quot;compute#publicDelegatedPrefix&quot;, # [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.
355 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
356 &quot;parentPrefix&quot;: &quot;A String&quot;, # The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
357 &quot;publicDelegatedSubPrefixs&quot;: [ # The list of sub public delegated prefixes that exist for this public delegated prefix.
358 { # Represents a sub PublicDelegatedPrefix.
359 &quot;delegateeProject&quot;: &quot;A String&quot;, # Name of the project scoping this PublicDelegatedSubPrefix.
360 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the resource.
361 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IPv4 address range, in CIDR format, represented by this sub public delegated prefix.
362 &quot;isAddress&quot;: True or False, # Whether the sub prefix is delegated to create Address resources in the delegatee project.
363 &quot;name&quot;: &quot;A String&quot;, # The name of the sub public delegated prefix.
364 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.
365 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the sub public delegated prefix.
366 },
367 ],
368 &quot;region&quot;: &quot;A String&quot;, # [Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
369 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
370 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the public delegated prefix.
371}
372
yoshi-code-botc3f86752021-06-12 00:20:02 -0700373 requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
374
375For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
376
377The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800378
379Returns:
380 An object of the form:
381
yoshi-code-botc3f86752021-06-12 00:20:02 -0700382 { # Represents an Operation resource.
383 #
384 # Google Compute Engine has three Operation resources:
385 #
386 # * [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations)
387 #
388 # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
389 #
390 # Operations can be global, regional or zonal.
391 # - For global operations, use the `globalOperations` resource.
392 # - For regional operations, use the `regionOperations` resource.
393 # - For zonal operations, use the `zonalOperations` resource.
394 #
395 # For more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==)
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800396 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
397 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
398 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
399 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
400 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
401 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
402 {
403 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
404 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
405 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
406 },
407 ],
408 },
409 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
410 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
411 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
412 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
413 &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
414 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
415 &quot;operationGroupId&quot;: &quot;A String&quot;, # [Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
416 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
417 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
418 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
419 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
420 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
421 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
422 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
423 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
424 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
425 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `user@example.com`.
426 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
427 {
428 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
yoshi-code-botc3f86752021-06-12 00:20:02 -0700429 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
430 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800431 {
432 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
433 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
434 },
435 ],
436 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
437 },
438 ],
439 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
440}</pre>
441</div>
442
443<div class="method">
yoshi-code-botc3f86752021-06-12 00:20:02 -0700444 <code class="details" id="list">list(project, region, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None)</code>
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800445 <pre>Lists the PublicDelegatedPrefixes for a project in the given region.
446
447Args:
448 project: string, Project ID for this request. (required)
449 region: string, Name of the region of this request. (required)
yoshi-code-botc3f86752021-06-12 00:20:02 -0700450 filter: string, A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `&gt;`, or `&lt;`.
451
452For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
453
454You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
455
456To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = &quot;Intel Skylake&quot;) ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = &quot;Intel Skylake&quot;) OR (cpuPlatform = &quot;Intel Broadwell&quot;) AND (scheduling.automaticRestart = true) ```
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800457 maxResults: integer, The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
yoshi-code-botc3f86752021-06-12 00:20:02 -0700458 orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
459
460You can also sort results in descending order based on the creation timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
461
462Currently, only sorting by `name` or `creationTimestamp desc` is supported.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800463 pageToken: string, Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
464 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
465
466Returns:
467 An object of the form:
468
469 {
470 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
471 &quot;items&quot;: [ # A list of PublicDelegatedPrefix resources.
472 { # A PublicDelegatedPrefix resource represents an IP block within a PublicAdvertisedPrefix that is configured within a single cloud scope (global or region). IPs in the block can be allocated to resources within that scope. Public delegated prefixes may be further broken up into smaller IP blocks in the same scope as the parent block.
473 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
474 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the resource.
yoshi-code-botc3f86752021-06-12 00:20:02 -0700475 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet.
476 #
477 # To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800478 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource type. The server generates this identifier.
479 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IPv4 address range, in CIDR format, represented by this public delegated prefix.
480 &quot;isLiveMigration&quot;: True or False, # If true, the prefix will be live migrated.
481 &quot;kind&quot;: &quot;compute#publicDelegatedPrefix&quot;, # [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.
482 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
483 &quot;parentPrefix&quot;: &quot;A String&quot;, # The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
484 &quot;publicDelegatedSubPrefixs&quot;: [ # The list of sub public delegated prefixes that exist for this public delegated prefix.
485 { # Represents a sub PublicDelegatedPrefix.
486 &quot;delegateeProject&quot;: &quot;A String&quot;, # Name of the project scoping this PublicDelegatedSubPrefix.
487 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the resource.
488 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IPv4 address range, in CIDR format, represented by this sub public delegated prefix.
489 &quot;isAddress&quot;: True or False, # Whether the sub prefix is delegated to create Address resources in the delegatee project.
490 &quot;name&quot;: &quot;A String&quot;, # The name of the sub public delegated prefix.
491 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.
492 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the sub public delegated prefix.
493 },
494 ],
495 &quot;region&quot;: &quot;A String&quot;, # [Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
496 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
497 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the public delegated prefix.
498 },
499 ],
500 &quot;kind&quot;: &quot;compute#publicDelegatedPrefixList&quot;, # [Output Only] Type of the resource. Always compute#publicDelegatedPrefixList for public delegated prefixes.
501 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
502 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource.
503 &quot;warning&quot;: { # [Output Only] Informational warning message.
504 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
yoshi-code-botc3f86752021-06-12 00:20:02 -0700505 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
506 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800507 {
508 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
509 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
510 },
511 ],
512 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
513 },
514}</pre>
515</div>
516
517<div class="method">
518 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
519 <pre>Retrieves the next page of results.
520
521Args:
522 previous_request: The request for the previous page. (required)
523 previous_response: The response from the request for the previous page. (required)
524
525Returns:
526 A request object that you can call &#x27;execute()&#x27; on to request the next
527 page. Returns None if there are no more items in the collection.
528 </pre>
529</div>
530
531<div class="method">
yoshi-code-botc3f86752021-06-12 00:20:02 -0700532 <code class="details" id="patch">patch(project, region, publicDelegatedPrefix, body=None, requestId=None)</code>
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800533 <pre>Patches the specified PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
534
535Args:
536 project: string, Project ID for this request. (required)
537 region: string, Name of the region for this request. (required)
538 publicDelegatedPrefix: string, Name of the PublicDelegatedPrefix resource to patch. (required)
539 body: object, The request body.
540 The object takes the form of:
541
542{ # A PublicDelegatedPrefix resource represents an IP block within a PublicAdvertisedPrefix that is configured within a single cloud scope (global or region). IPs in the block can be allocated to resources within that scope. Public delegated prefixes may be further broken up into smaller IP blocks in the same scope as the parent block.
543 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp in RFC3339 text format.
544 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the resource.
yoshi-code-botc3f86752021-06-12 00:20:02 -0700545 &quot;fingerprint&quot;: &quot;A String&quot;, # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet.
546 #
547 # To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800548 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource type. The server generates this identifier.
549 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IPv4 address range, in CIDR format, represented by this public delegated prefix.
550 &quot;isLiveMigration&quot;: True or False, # If true, the prefix will be live migrated.
551 &quot;kind&quot;: &quot;compute#publicDelegatedPrefix&quot;, # [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.
552 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
553 &quot;parentPrefix&quot;: &quot;A String&quot;, # The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
554 &quot;publicDelegatedSubPrefixs&quot;: [ # The list of sub public delegated prefixes that exist for this public delegated prefix.
555 { # Represents a sub PublicDelegatedPrefix.
556 &quot;delegateeProject&quot;: &quot;A String&quot;, # Name of the project scoping this PublicDelegatedSubPrefix.
557 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the resource.
558 &quot;ipCidrRange&quot;: &quot;A String&quot;, # The IPv4 address range, in CIDR format, represented by this sub public delegated prefix.
559 &quot;isAddress&quot;: True or False, # Whether the sub prefix is delegated to create Address resources in the delegatee project.
560 &quot;name&quot;: &quot;A String&quot;, # The name of the sub public delegated prefix.
561 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.
562 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the sub public delegated prefix.
563 },
564 ],
565 &quot;region&quot;: &quot;A String&quot;, # [Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
566 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
567 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the public delegated prefix.
568}
569
yoshi-code-botc3f86752021-06-12 00:20:02 -0700570 requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
571
572For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
573
574The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800575
576Returns:
577 An object of the form:
578
yoshi-code-botc3f86752021-06-12 00:20:02 -0700579 { # Represents an Operation resource.
580 #
581 # Google Compute Engine has three Operation resources:
582 #
583 # * [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations)
584 #
585 # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
586 #
587 # Operations can be global, regional or zonal.
588 # - For global operations, use the `globalOperations` resource.
589 # - For regional operations, use the `regionOperations` resource.
590 # - For zonal operations, use the `zonalOperations` resource.
591 #
592 # For more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==)
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800593 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
594 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
595 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
596 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
597 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
598 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
599 {
600 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
601 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
602 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
603 },
604 ],
605 },
606 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
607 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
608 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
609 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
610 &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
611 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
612 &quot;operationGroupId&quot;: &quot;A String&quot;, # [Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
613 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
614 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
615 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
616 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
617 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
618 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
619 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
620 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
621 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
622 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `user@example.com`.
623 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
624 {
625 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
yoshi-code-botc3f86752021-06-12 00:20:02 -0700626 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
627 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800628 {
629 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
630 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
631 },
632 ],
633 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
634 },
635 ],
636 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
637}</pre>
638</div>
639
640</body></html>