Debian Codegraph @

docs/dyn/compute_beta.globalVmExtensionPolicies.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.globalVmExtensionPolicies.html">globalVmExtensionPolicies</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#aggregatedList">aggregatedList(project, filter=None, includeAllScopes=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, serviceProjectNumber=None, x__xgafv=None)</a></code></p>
79 <p class="firstline">Retrieves the list of all VM Extension Policy resources</p>
80 <p class="toc_element">
81 <code><a href="#aggregatedList_next">aggregatedList_next()</a></code></p>
82 <p class="firstline">Retrieves the next page of results.</p>
83 <p class="toc_element">
84 <code><a href="#close">close()</a></code></p>
85 <p class="firstline">Close httplib2 connections.</p>
86 <p class="toc_element">
87 <code><a href="#delete">delete(project, globalVmExtensionPolicy, body=None, requestId=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Purge scoped resources (zonal policies) from a global VM extension</p>
89 <p class="toc_element">
90 <code><a href="#get">get(project, globalVmExtensionPolicy, x__xgafv=None)</a></code></p>
91 <p class="firstline">Gets details of a global VM extension policy.</p>
92 <p class="toc_element">
93 <code><a href="#insert">insert(project, body=None, requestId=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Creates a new project level GlobalVmExtensionPolicy.</p>
95 <p class="toc_element">
96 <code><a href="#list">list(project, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Lists global VM extension policies.</p>
98 <p class="toc_element">
99 <code><a href="#list_next">list_next()</a></code></p>
100 <p class="firstline">Retrieves the next page of results.</p>
101 <p class="toc_element">
102 <code><a href="#update">update(project, globalVmExtensionPolicy, body=None, requestId=None, x__xgafv=None)</a></code></p>
103 <p class="firstline">Updates a global VM extension policy.</p>
104 <h3>Method Details</h3>
105 <div class="method">
106 <code class="details" id="aggregatedList">aggregatedList(project, filter=None, includeAllScopes=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, serviceProjectNumber=None, x__xgafv=None)</code>
107 <pre>Retrieves the list of all VM Extension Policy resources
108 available to the specified project.
109
110 To prevent failure, it&#x27;s recommended that you set the
111 `returnPartialSuccess` parameter to `true`.
112
113 Args:
114 project: string, Name of the project scoping this request. (required)
115 filter: string, A filter expression that filters resources listed in the response. Most
116 Compute resources support two types of filter expressions:
117 expressions that support regular expressions and expressions that follow
118 API improvement proposal AIP-160.
119 These two types of filter expressions cannot be mixed in one request.
120
121 If you want to use AIP-160, your expression must specify the field name, an
122 operator, and the value that you want to use for filtering. The value
123 must be a string, a number, or a boolean. The operator
124 must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`.
125
126 For example, if you are filtering Compute Engine instances, you can
127 exclude instances named `example-instance` by specifying
128 `name != example-instance`.
129
130 The `:*` comparison can be used to test whether a key has been defined.
131 For example, to find all objects with `owner` label use:
132 ```
133 labels.owner:*
134 ```
135
136 You can also filter nested fields. For example, you could specify
137 `scheduling.automaticRestart = false` to include instances only
138 if they are not scheduled for automatic restarts. You can use filtering
139 on nested fields to filter based onresource labels.
140
141 To filter on multiple expressions, provide each separate expression within
142 parentheses. For example:
143 ```
144 (scheduling.automaticRestart = true)
145 (cpuPlatform = &quot;Intel Skylake&quot;)
146 ```
147 By default, each expression is an `AND` expression. However, you
148 can include `AND` and `OR` expressions explicitly.
149 For example:
150 ```
151 (cpuPlatform = &quot;Intel Skylake&quot;) OR
152 (cpuPlatform = &quot;Intel Broadwell&quot;) AND
153 (scheduling.automaticRestart = true)
154 ```
155
156 If you want to use a regular expression, use the `eq` (equal) or `ne`
157 (not equal) operator against a single un-parenthesized expression with or
158 without quotes or against multiple parenthesized expressions. Examples:
159
160 `fieldname eq unquoted literal`
161 `fieldname eq &#x27;single quoted literal&#x27;`
162 `fieldname eq &quot;double quoted literal&quot;`
163 `(fieldname1 eq literal) (fieldname2 ne &quot;literal&quot;)`
164
165 The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
166 The literal value must match the entire field.
167
168 For example, to filter for instances that do not end with name &quot;instance&quot;,
169 you would use `name ne .*instance`.
170
171 You cannot combine constraints on multiple fields using regular
172 expressions.
173 includeAllScopes: boolean, Indicates whether every visible scope for each scope type (zone, region,
174 global) should be included in the response. For new resource types added
175 after this field, the flag has no effect as new resource types will always
176 include every visible scope for each scope type in response. For resource
177 types which predate this field, if this flag is omitted or false, only
178 scopes of the scope types where the resource type is expected to be found
179 will be included.
180 maxResults: integer, The maximum number of results per page that should be returned.
181 If the number of available results is larger than `maxResults`,
182 Compute Engine returns a `nextPageToken` that can be used to get
183 the next page of results in subsequent list requests. Acceptable values are
184 `0` to `500`, inclusive. (Default: `500`)
185 orderBy: string, Sorts list results by a certain order. By default, results
186 are returned in alphanumerical order based on the resource name.
187
188 You can also sort results in descending order based on the creation
189 timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts
190 results based on the `creationTimestamp` field in
191 reverse chronological order (newest result first). Use this to sort
192 resources like operations so that the newest operation is returned first.
193
194 Currently, only sorting by `name` or
195 `creationTimestamp desc` is supported.
196 pageToken: string, Specifies a page token to use. Set `pageToken` to the
197 `nextPageToken` returned by a previous list request to get
198 the next page of results.
199 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case
200 of failure. The default value is false.
201
202 For example, when partial success behavior is enabled, aggregatedList for a
203 single zone scope either returns all resources in the zone or no resources,
204 with an error code.
205 serviceProjectNumber: string, The Shared VPC service project id or service project number for which
206 aggregated list request is invoked for subnetworks list-usable api.
207 x__xgafv: string, V1 error format.
208 Allowed values
209 1 - v1 error format
210 2 - v2 error format
211
212 Returns:
213 An object of the form:
214
215 { # Response for the aggregated list of VM extension policies.
216 &quot;etag&quot;: &quot;A String&quot;,
217 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
218 &quot;items&quot;: { # A list of VmExtensionPoliciesScopedList resources.
219 &quot;a_key&quot;: { # Name of the scope containing this set of VmExtensionPolicies.
220 &quot;vmExtensionPolicies&quot;: [ # List of VmExtensionPolicy resources contained in this scope.
221 { # Represents a VM extension policy.
222 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
223 # text format.
224 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource.
225 &quot;extensionPolicies&quot;: { # Required. A map of extension names (for example, &quot;ops-agent&quot;) to their corresponding
226 # policy configurations.
227 &quot;a_key&quot;: { # Configuration for a specific VM extension.
228 &quot;pinnedVersion&quot;: &quot;A String&quot;, # Optional. The specific version of the extension to install. If not set, the latest
229 # version is used.
230 &quot;stringConfig&quot;: &quot;A String&quot;, # Optional. String-based configuration data for the extension.
231 },
232 },
233 &quot;globalResourceLink&quot;: &quot;A String&quot;, # Optional. Output only. [Output Only] Link to the global policy that manages this zone policy, if
234 # applicable.
235 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
236 # defined by the server.
237 &quot;instanceSelectors&quot;: [ # Optional. Selectors to target VMs for this policy. VMs are selected if they match
238 # *any* of the provided selectors (logical OR). If this list is empty, the
239 # policy applies to all VMs.
240 { # Defines how to select VMs to apply a zone VM extension policy.
241 &quot;labelSelector&quot;: { # A LabelSelector is applied to a VM only if it matches all the specified # Optional. LabelSelector selects VMs based on their labels.
242 # labels.
243 &quot;inclusionLabels&quot;: { # Optional. A map of key-value pairs representing VM labels.
244 # VMs must have all of the labels specified in this map to be selected
245 # (logical AND).
246 #
247 # e.g. If the `inclusion_labels` are {(&quot;key1&quot;, &quot;value1&quot;), (&quot;key2&quot;,
248 # &quot;value2&quot;)}, the VM labels must contain both (&quot;key1&quot;, &quot;value1&quot;) and
249 # (&quot;key2&quot;, &quot;value2&quot;) to be selected. If the VM labels are (&quot;key1&quot;,
250 # &quot;value1&quot;) and (&quot;something&quot;, &quot;else&quot;), it will not be selected.
251 #
252 # If the map is empty, it&#x27;s considered a match.
253 &quot;a_key&quot;: &quot;A String&quot;,
254 },
255 },
256 },
257 ],
258 &quot;kind&quot;: &quot;compute#vmExtensionPolicy&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#vmExtensionPolicy.
259 &quot;managedByGlobal&quot;: True or False, # Optional. Output only. [Output Only] Indicates if this policy is managed by a global policy.
260 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
261 # The name must be 1-63 characters long, and comply withRFC1035.
262 # Specifically, the name must be 1-63 characters long and match the regular
263 # expression `[a-z]([-a-z0-9]*[a-z0-9])?`
264 # which means the first character must be a lowercase letter, and all
265 # following characters must be a dash, lowercase letter, or digit, except
266 # the last character, which cannot be a dash.
267 &quot;priority&quot;: 42, # Optional. Priority of this policy. Used to resolve conflicts when multiple policies
268 # apply to the same extension.
269 # The policy priority is an integer from 0 to 65535, inclusive. Lower
270 # integers indicate higher priorities. If you do not specify a priority when
271 # creating a rule, it is assigned a priority of 1000. If priorities are
272 # equal, the policy with the most recent creation timestamp takes precedence.
273 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined fully-qualified URL for this resource.
274 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource&#x27;s resource id.
275 &quot;state&quot;: &quot;A String&quot;, # Optional. Output only. [Output Only] Current state of the policy: ACTIVE or DELETING.
276 &quot;updateTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Update timestamp inRFC3339
277 # text format.
278 },
279 ],
280 &quot;warning&quot;: { # Informational warning which replaces the list of
281 # backend services when the list is empty.
282 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
283 # Engine returns NO_RESULTS_ON_PAGE if there
284 # are no results in the response.
285 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
286 # value format. For example:
287 #
288 # &quot;data&quot;: [
289 # {
290 # &quot;key&quot;: &quot;scope&quot;,
291 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
292 # }
293 {
294 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
295 # returned. For example, for warnings where there are no results in a list
296 # request for a particular zone, this key might be scope and
297 # the key value might be the zone name. Other examples might be a key
298 # indicating a deprecated resource and a suggested replacement, or a
299 # warning about invalid network settings (for example, if an instance
300 # attempts to perform IP forwarding but is not enabled for IP forwarding).
301 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
302 },
303 ],
304 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
305 },
306 },
307 },
308 &quot;kind&quot;: &quot;compute#VmExtensionPolicyAggregatedList&quot;, # Output only. [Output Only] Type of resource. Alwayscompute#VmExtensionPolicyAggregatedList for lists of
309 # VmExtensionPolicies.
310 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for
311 # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
312 # the query parameter pageToken in the next list request.
313 # Subsequent list requests will have their own nextPageToken to
314 # continue paging through the results.
315 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource.
316 &quot;unreachables&quot;: [ # Output only. [Output Only] Unreachable resources.
317 &quot;A String&quot;,
318 ],
319 &quot;warning&quot;: { # [Output Only] Informational warning message.
320 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
321 # Engine returns NO_RESULTS_ON_PAGE if there
322 # are no results in the response.
323 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
324 # value format. For example:
325 #
326 # &quot;data&quot;: [
327 # {
328 # &quot;key&quot;: &quot;scope&quot;,
329 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
330 # }
331 {
332 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
333 # returned. For example, for warnings where there are no results in a list
334 # request for a particular zone, this key might be scope and
335 # the key value might be the zone name. Other examples might be a key
336 # indicating a deprecated resource and a suggested replacement, or a
337 # warning about invalid network settings (for example, if an instance
338 # attempts to perform IP forwarding but is not enabled for IP forwarding).
339 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
340 },
341 ],
342 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
343 },
344 }</pre>
345 </div>
346
347 <div class="method">
348 <code class="details" id="aggregatedList_next">aggregatedList_next()</code>
349 <pre>Retrieves the next page of results.
350
351 Args:
352 previous_request: The request for the previous page. (required)
353 previous_response: The response from the request for the previous page. (required)
354
355 Returns:
356 A request object that you can call &#x27;execute()&#x27; on to request the next
357 page. Returns None if there are no more items in the collection.
358 </pre>
359 </div>
360
361 <div class="method">
362 <code class="details" id="close">close()</code>
363 <pre>Close httplib2 connections.</pre>
364 </div>
365
366 <div class="method">
367 <code class="details" id="delete">delete(project, globalVmExtensionPolicy, body=None, requestId=None, x__xgafv=None)</code>
368 <pre>Purge scoped resources (zonal policies) from a global VM extension
369 policy, and then delete the global VM extension policy. Purge of the scoped
370 resources is a pre-condition of the global VM extension policy deletion.
371 The deletion of the global VM extension policy happens after the purge
372 rollout is done, so it&#x27;s not a part of the LRO. It&#x27;s an automatic process
373 that triggers in the backend.
374
375 Args:
376 project: string, Project ID for this request. (required)
377 globalVmExtensionPolicy: string, Name of the global VM extension policy to purge scoped resources for. (required)
378 body: object, The request body.
379 The object takes the form of:
380
381 {
382 &quot;conflictBehavior&quot;: &quot;A String&quot;, # Optional. Specifies the behavior of the rollout if a conflict is detected in a
383 # project during a rollout. This only applies to `insert` and `update`
384 # methods.
385 #
386 # A conflict occurs in the following cases:
387 #
388 # * `insert` method: If the zonal policy already exists when the insert
389 # happens.
390 # * `update` method: If the zonal policy was modified by a zonal API call
391 # outside of this rollout.
392 #
393 # Possible values are the following:
394 #
395 # * `&quot;&quot;` (empty string): If a conflict occurs, the local value is not
396 # overwritten. This is the default behavior.
397 # * `&quot;overwrite&quot;`: If a conflict occurs, the local value is overwritten
398 # with the rollout value.
399 &quot;name&quot;: &quot;A String&quot;, # Optional. The name of the rollout plan.
400 # Ex.
401 # projects//locations/global/rolloutPlans/.
402 &quot;predefinedRolloutPlan&quot;: &quot;A String&quot;, # Optional. Specifies the predefined rollout plan for the policy. Valid values
403 # are `SLOW_ROLLOUT` and `FAST_ROLLOUT`. The recommended value is
404 # `SLOW_ROLLOUT` for progressive rollout. For more information, see Rollout
405 # plans for global policies.
406 &quot;retryUuid&quot;: &quot;A String&quot;, # Optional. The UUID that identifies a policy rollout retry attempt for update and
407 # delete operations. Set this field only when retrying a rollout for an
408 # existing extension policy.
409 #
410 # * `update` method: Lets you retry policy rollout without changes.
411 # An error occurs if you set retry_uuid but the policy is modified.
412 # * `delete` method: Lets you retry policy deletion rollout if the
413 # previous deletion rollout is not finished and the policy is in the
414 # DELETING state. If you set this field when the policy is not in the
415 # DELETING state, an error occurs.
416 }
417
418 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
419 that if you must retry your request, the server will know to ignore the
420 request if it has already been completed.
421
422 For example, consider a situation where you make an initial request and
423 the request times out. If you make the request again with the same
424 request ID, the server can check if original operation with the same
425 request ID was received, and if so, will ignore the second request. This
426 prevents clients from accidentally creating duplicate commitments.
427
428 The request ID must be
429 a valid UUID with the exception that zero UUID is not supported
430 (00000000-0000-0000-0000-000000000000).
431 x__xgafv: string, V1 error format.
432 Allowed values
433 1 - v1 error format
434 2 - v2 error format
435
436 Returns:
437 An object of the form:
438
439 { # Represents an Operation resource.
440 #
441 # Google Compute Engine has three Operation resources:
442 #
443 # * [Global](/compute/docs/reference/rest/beta/globalOperations)
444 # * [Regional](/compute/docs/reference/rest/beta/regionOperations)
445 # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations)
446 #
447 # You can use an operation resource to manage asynchronous API requests.
448 # For more information, readHandling
449 # API responses.
450 #
451 # Operations can be global, regional or zonal.
452 #
453 # - For global operations, use the `globalOperations`
454 # resource.
455 # - For regional operations, use the
456 # `regionOperations` resource.
457 # - For zonal operations, use
458 # the `zoneOperations` resource.
459 #
460 #
461 #
462 # For more information, read
463 # Global, Regional, and Zonal Resources.
464 #
465 # Note that completed Operation resources have a limited
466 # retention period.
467 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
468 # Not present otherwise.
469 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
470 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
471 # set when the operation is created.
472 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
473 # text format.
474 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
475 # this field will be populated.
476 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
477 # operation.
478 {
479 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
480 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
481 # details. There is a set of defined message types to use for providing
482 # details.The syntax depends on the error code. For example,
483 # QuotaExceededInfo will have details when the error code is
484 # QUOTA_EXCEEDED.
485 {
486 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
487 #
488 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
489 # is not enabled:
490 #
491 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
492 # &quot;domain&quot;: &quot;googleapis.com&quot;
493 # &quot;metadata&quot;: {
494 # &quot;resource&quot;: &quot;projects/123&quot;,
495 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
496 # }
497 # }
498 #
499 # This response indicates that the pubsub.googleapis.com API is not enabled.
500 #
501 # Example of an error that is returned when attempting to create a Spanner
502 # instance in a region that is out of stock:
503 #
504 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
505 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
506 # &quot;metadata&quot;: {
507 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
508 # }
509 # }
510 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
511 # is typically the registered service name of the tool or product that
512 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
513 # generated by some common infrastructure, the error domain must be a
514 # globally unique value that identifies the infrastructure. For Google API
515 # infrastructure, the error domain is &quot;googleapis.com&quot;.
516 &quot;metadatas&quot;: { # Additional structured details about this error.
517 #
518 # Keys must match a regular expression of `a-z+` but should
519 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
520 # length. When identifying the current value of an exceeded limit, the units
521 # should be contained in the key, not the value. For example, rather than
522 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
523 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
524 # instances that can be created in a single (batch) request.
525 &quot;a_key&quot;: &quot;A String&quot;,
526 },
527 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
528 # proximate cause of the error. Error reasons are unique within a particular
529 # domain of errors. This should be at most 63 characters and match a
530 # regular expression of `A-Z+[A-Z0-9]`, which represents
531 # UPPER_SNAKE_CASE.
532 },
533 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
534 #
535 # For example, if a quota check failed with an error indicating the calling
536 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
537 # directly to the right place in the developer console to flip the bit.
538 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
539 { # Describes a URL link.
540 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
541 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
542 },
543 ],
544 },
545 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
546 # which can be attached to an RPC error.
547 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
548 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
549 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
550 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
551 },
552 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
553 &quot;dimensions&quot;: { # The map holding related quota dimensions.
554 &quot;a_key&quot;: &quot;A String&quot;,
555 },
556 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
557 # type or metric.
558 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
559 # or metric.
560 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
561 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
562 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
563 },
564 },
565 ],
566 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
567 # This property is optional.
568 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
569 },
570 ],
571 },
572 &quot;getVersionOperationMetadata&quot;: {
573 &quot;inlineSbomInfo&quot;: {
574 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
575 # appropriate identifiers.
576 &quot;a_key&quot;: &quot;A String&quot;,
577 },
578 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
579 # identifiers.
580 &quot;a_key&quot;: &quot;A String&quot;,
581 },
582 },
583 },
584 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
585 # message that was returned, such as `NOT FOUND`.
586 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
587 # status code that was returned. For example, a `404` means the
588 # resource was not found.
589 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
590 # defined by the server.
591 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
592 # This value is inRFC3339
593 # text format.
594 &quot;instancesBulkInsertOperationMetadata&quot;: {
595 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
596 # Example key: zones/us-central1-a
597 &quot;a_key&quot;: {
598 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
599 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
600 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
601 # error.
602 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
603 # if the flow is rolling forward or rolling back.
604 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
605 },
606 },
607 },
608 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
609 # Operation resources.
610 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
611 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
612 # 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`,
614 # `update`, or `delete`, and so on.
615 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
616 # There is no requirement that this be linear or support any granularity of
617 # operations. This should not be used to guess when the operation will be
618 # complete. This number should monotonically increase as the operation
619 # progresses.
620 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
621 # applicable when performing regional operations.
622 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
623 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
624 # this field will contain information on all underlying zonal actions and
625 # their state.
626 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
627 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
628 # Example key: zones/us-central1-a
629 &quot;a_key&quot;: {
630 &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
631 # populated.
632 # different programming environments, including REST APIs and RPC APIs. It is
633 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
634 # three pieces of data: error code, error message, and error details.
635 #
636 # You can find out more about this error model and how to work with it in the
637 # [API Design Guide](https://cloud.google.com/apis/design/errors).
638 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
639 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
640 # message types for APIs to use.
641 {
642 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
643 },
644 ],
645 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
646 # user-facing error message should be localized and sent in the
647 # google.rpc.Status.details field, or localized by the client.
648 },
649 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
650 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
651 },
652 },
653 },
654 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
655 # This value is inRFC3339
656 # text format.
657 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
658 # following:
659 # `PENDING`, `RUNNING`, or `DONE`.
660 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
661 # operation.
662 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
663 # of the target resource.
664 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
665 # operations related to creating a snapshot, this points to the disk
666 # that the snapshot was created from.
667 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
668 # `[email protected]` or
669 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
670 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
671 # operation, this field will be populated.
672 {
673 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
674 # Engine returns NO_RESULTS_ON_PAGE if there
675 # are no results in the response.
676 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
677 # value format. For example:
678 #
679 # &quot;data&quot;: [
680 # {
681 # &quot;key&quot;: &quot;scope&quot;,
682 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
683 # }
684 {
685 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
686 # returned. For example, for warnings where there are no results in a list
687 # request for a particular zone, this key might be scope and
688 # the key value might be the zone name. Other examples might be a key
689 # indicating a deprecated resource and a suggested replacement, or a
690 # warning about invalid network settings (for example, if an instance
691 # attempts to perform IP forwarding but is not enabled for IP forwarding).
692 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
693 },
694 ],
695 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
696 },
697 ],
698 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
699 # applicable when performing per-zone operations.
700 }</pre>
701 </div>
702
703 <div class="method">
704 <code class="details" id="get">get(project, globalVmExtensionPolicy, x__xgafv=None)</code>
705 <pre>Gets details of a global VM extension policy.
706
707 Args:
708 project: string, Project ID for this request. (required)
709 globalVmExtensionPolicy: string, Name of the GlobalVmExtensionPolicy resource to return. (required)
710 x__xgafv: string, V1 error format.
711 Allowed values
712 1 - v1 error format
713 2 - v2 error format
714
715 Returns:
716 An object of the form:
717
718 { # Message describing GlobalVmExtensionPolicy object.
719 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
720 # text format.
721 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
722 # create the resource.
723 &quot;extensionPolicies&quot;: { # Required. Map from extension (eg: &quot;cloudops&quot;) to its policy configuration.
724 # The key is the name of the extension.
725 &quot;a_key&quot;: { # Policy for a single extension.
726 &quot;pinnedVersion&quot;: &quot;A String&quot;, # Optional. The version pinning for the extension.
727 # If empty, the extension will be installed with the latest version
728 # released by the extension producer.
729 &quot;stringConfig&quot;: &quot;A String&quot;, # Optional. String configuration. Any string payload that the extension
730 # understands.
731 },
732 },
733 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
734 # defined by the server.
735 &quot;instanceSelectors&quot;: [ # Optional. Selector to target VMs for a policy.
736 # There is a logical &quot;AND&quot; between instance_selectors.
737 { # Selector to target VMs for a zone VM extension policy.
738 &quot;labelSelector&quot;: { # A LabelSelector is applicable for a VM only if it matches all labels in # Optional. Labels within the LabelSelector are OR&#x27;d.
739 # the LabelSelector.
740 &quot;inclusionLabels&quot;: { # Optional. Labels as key value pairs.
741 # A VM should contain all the pairs specified in this map to be selected;
742 # Labels within the LabelSelector are OR&#x27;ed.
743 &quot;a_key&quot;: &quot;A String&quot;,
744 },
745 },
746 },
747 ],
748 &quot;kind&quot;: &quot;compute#globalVmExtensionPolicy&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#globalVmExtensionPolicy for globalVmExtensionPolicies.
749 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
750 # The name must be 1-63 characters long, and comply withRFC1035.
751 # Specifically, the name must be 1-63 characters long and match the regular
752 # expression `[a-z]([-a-z0-9]*[a-z0-9])?`
753 # which means the first character must be a lowercase letter, and all
754 # following characters must be a dash, lowercase letter, or digit, except
755 # the last character, which cannot be a dash.
756 &quot;priority&quot;: 42, # Optional. Used to resolve conflicts when multiple policies are active for the same
757 # extension. Defaults to 0.
758 #
759 # Larger the number, higher the priority. When the priority is the same,
760 # the policy with the newer create time has higher priority.
761 &quot;rolloutOperation&quot;: { # Represents the rollout operation # Required. The rollout strategy and status.
762 &quot;rolloutInput&quot;: { # Required. The rollout input which defines the rollout plan.
763 &quot;conflictBehavior&quot;: &quot;A String&quot;, # Optional. Specifies the behavior of the rollout if a conflict is detected in a
764 # project during a rollout. This only applies to `insert` and `update`
765 # methods.
766 #
767 # A conflict occurs in the following cases:
768 #
769 # * `insert` method: If the zonal policy already exists when the insert
770 # happens.
771 # * `update` method: If the zonal policy was modified by a zonal API call
772 # outside of this rollout.
773 #
774 # Possible values are the following:
775 #
776 # * `&quot;&quot;` (empty string): If a conflict occurs, the local value is not
777 # overwritten. This is the default behavior.
778 # * `&quot;overwrite&quot;`: If a conflict occurs, the local value is overwritten
779 # with the rollout value.
780 &quot;name&quot;: &quot;A String&quot;, # Optional. The name of the rollout plan.
781 # Ex.
782 # projects//locations/global/rolloutPlans/.
783 &quot;predefinedRolloutPlan&quot;: &quot;A String&quot;, # Optional. Specifies the predefined rollout plan for the policy. Valid values
784 # are `SLOW_ROLLOUT` and `FAST_ROLLOUT`. The recommended value is
785 # `SLOW_ROLLOUT` for progressive rollout. For more information, see Rollout
786 # plans for global policies.
787 &quot;retryUuid&quot;: &quot;A String&quot;, # Optional. The UUID that identifies a policy rollout retry attempt for update and
788 # delete operations. Set this field only when retrying a rollout for an
789 # existing extension policy.
790 #
791 # * `update` method: Lets you retry policy rollout without changes.
792 # An error occurs if you set retry_uuid but the policy is modified.
793 # * `delete` method: Lets you retry policy deletion rollout if the
794 # previous deletion rollout is not finished and the policy is in the
795 # DELETING state. If you set this field when the policy is not in the
796 # DELETING state, an error occurs.
797 },
798 &quot;rolloutStatus&quot;: { # Output only. [Output Only] The rollout status of the policy.
799 &quot;currentRollouts&quot;: [ # Output only. [Output Only] The current rollouts for the latest version of the
800 # resource. There should be only one current rollout, but for
801 # scalability, we make it repeated.
802 {
803 &quot;locationRolloutStatus&quot;: { # Output only. [Output Only] The rollout status for each location. The list of the
804 # locations is the same as the list of locations in the rollout plan.
805 &quot;a_key&quot;: {
806 &quot;state&quot;: &quot;A String&quot;, # Output only. [Output Only] The state of the location rollout.
807 },
808 },
809 &quot;rollout&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the rollout.
810 # Ex. projects//locations/global/rollouts/.
811 &quot;rolloutPlan&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the rollout plan.
812 # Ex.
813 # projects//locations/global/rolloutPlans/.
814 &quot;state&quot;: &quot;A String&quot;, # Output only. [Output Only] The overall state of the rollout.
815 },
816 ],
817 &quot;previousRollout&quot;: { # Output only. [Output Only] The last completed rollout resource. This field will not
818 # be populated until the first rollout is completed.
819 &quot;locationRolloutStatus&quot;: { # Output only. [Output Only] The rollout status for each location. The list of the
820 # locations is the same as the list of locations in the rollout plan.
821 &quot;a_key&quot;: {
822 &quot;state&quot;: &quot;A String&quot;, # Output only. [Output Only] The state of the location rollout.
823 },
824 },
825 &quot;rollout&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the rollout.
826 # Ex. projects//locations/global/rollouts/.
827 &quot;rolloutPlan&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the rollout plan.
828 # Ex.
829 # projects//locations/global/rolloutPlans/.
830 &quot;state&quot;: &quot;A String&quot;, # Output only. [Output Only] The overall state of the rollout.
831 },
832 },
833 },
834 &quot;scopedResourceStatus&quot;: &quot;A String&quot;, # Output only. [Output Only] The scoped resource status. It&#x27;s only for tracking the
835 # purging status of the policy.
836 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined fully-qualified URL for this resource.
837 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource&#x27;s resource id.
838 &quot;updateTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Update timestamp inRFC3339
839 # text format.
840 }</pre>
841 </div>
842
843 <div class="method">
844 <code class="details" id="insert">insert(project, body=None, requestId=None, x__xgafv=None)</code>
845 <pre>Creates a new project level GlobalVmExtensionPolicy.
846
847 Args:
848 project: string, Project ID for this request. (required)
849 body: object, The request body.
850 The object takes the form of:
851
852 { # Message describing GlobalVmExtensionPolicy object.
853 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
854 # text format.
855 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
856 # create the resource.
857 &quot;extensionPolicies&quot;: { # Required. Map from extension (eg: &quot;cloudops&quot;) to its policy configuration.
858 # The key is the name of the extension.
859 &quot;a_key&quot;: { # Policy for a single extension.
860 &quot;pinnedVersion&quot;: &quot;A String&quot;, # Optional. The version pinning for the extension.
861 # If empty, the extension will be installed with the latest version
862 # released by the extension producer.
863 &quot;stringConfig&quot;: &quot;A String&quot;, # Optional. String configuration. Any string payload that the extension
864 # understands.
865 },
866 },
867 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
868 # defined by the server.
869 &quot;instanceSelectors&quot;: [ # Optional. Selector to target VMs for a policy.
870 # There is a logical &quot;AND&quot; between instance_selectors.
871 { # Selector to target VMs for a zone VM extension policy.
872 &quot;labelSelector&quot;: { # A LabelSelector is applicable for a VM only if it matches all labels in # Optional. Labels within the LabelSelector are OR&#x27;d.
873 # the LabelSelector.
874 &quot;inclusionLabels&quot;: { # Optional. Labels as key value pairs.
875 # A VM should contain all the pairs specified in this map to be selected;
876 # Labels within the LabelSelector are OR&#x27;ed.
877 &quot;a_key&quot;: &quot;A String&quot;,
878 },
879 },
880 },
881 ],
882 &quot;kind&quot;: &quot;compute#globalVmExtensionPolicy&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#globalVmExtensionPolicy for globalVmExtensionPolicies.
883 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
884 # The name must be 1-63 characters long, and comply withRFC1035.
885 # Specifically, the name must be 1-63 characters long and match the regular
886 # expression `[a-z]([-a-z0-9]*[a-z0-9])?`
887 # which means the first character must be a lowercase letter, and all
888 # following characters must be a dash, lowercase letter, or digit, except
889 # the last character, which cannot be a dash.
890 &quot;priority&quot;: 42, # Optional. Used to resolve conflicts when multiple policies are active for the same
891 # extension. Defaults to 0.
892 #
893 # Larger the number, higher the priority. When the priority is the same,
894 # the policy with the newer create time has higher priority.
895 &quot;rolloutOperation&quot;: { # Represents the rollout operation # Required. The rollout strategy and status.
896 &quot;rolloutInput&quot;: { # Required. The rollout input which defines the rollout plan.
897 &quot;conflictBehavior&quot;: &quot;A String&quot;, # Optional. Specifies the behavior of the rollout if a conflict is detected in a
898 # project during a rollout. This only applies to `insert` and `update`
899 # methods.
900 #
901 # A conflict occurs in the following cases:
902 #
903 # * `insert` method: If the zonal policy already exists when the insert
904 # happens.
905 # * `update` method: If the zonal policy was modified by a zonal API call
906 # outside of this rollout.
907 #
908 # Possible values are the following:
909 #
910 # * `&quot;&quot;` (empty string): If a conflict occurs, the local value is not
911 # overwritten. This is the default behavior.
912 # * `&quot;overwrite&quot;`: If a conflict occurs, the local value is overwritten
913 # with the rollout value.
914 &quot;name&quot;: &quot;A String&quot;, # Optional. The name of the rollout plan.
915 # Ex.
916 # projects//locations/global/rolloutPlans/.
917 &quot;predefinedRolloutPlan&quot;: &quot;A String&quot;, # Optional. Specifies the predefined rollout plan for the policy. Valid values
918 # are `SLOW_ROLLOUT` and `FAST_ROLLOUT`. The recommended value is
919 # `SLOW_ROLLOUT` for progressive rollout. For more information, see Rollout
920 # plans for global policies.
921 &quot;retryUuid&quot;: &quot;A String&quot;, # Optional. The UUID that identifies a policy rollout retry attempt for update and
922 # delete operations. Set this field only when retrying a rollout for an
923 # existing extension policy.
924 #
925 # * `update` method: Lets you retry policy rollout without changes.
926 # An error occurs if you set retry_uuid but the policy is modified.
927 # * `delete` method: Lets you retry policy deletion rollout if the
928 # previous deletion rollout is not finished and the policy is in the
929 # DELETING state. If you set this field when the policy is not in the
930 # DELETING state, an error occurs.
931 },
932 &quot;rolloutStatus&quot;: { # Output only. [Output Only] The rollout status of the policy.
933 &quot;currentRollouts&quot;: [ # Output only. [Output Only] The current rollouts for the latest version of the
934 # resource. There should be only one current rollout, but for
935 # scalability, we make it repeated.
936 {
937 &quot;locationRolloutStatus&quot;: { # Output only. [Output Only] The rollout status for each location. The list of the
938 # locations is the same as the list of locations in the rollout plan.
939 &quot;a_key&quot;: {
940 &quot;state&quot;: &quot;A String&quot;, # Output only. [Output Only] The state of the location rollout.
941 },
942 },
943 &quot;rollout&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the rollout.
944 # Ex. projects//locations/global/rollouts/.
945 &quot;rolloutPlan&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the rollout plan.
946 # Ex.
947 # projects//locations/global/rolloutPlans/.
948 &quot;state&quot;: &quot;A String&quot;, # Output only. [Output Only] The overall state of the rollout.
949 },
950 ],
951 &quot;previousRollout&quot;: { # Output only. [Output Only] The last completed rollout resource. This field will not
952 # be populated until the first rollout is completed.
953 &quot;locationRolloutStatus&quot;: { # Output only. [Output Only] The rollout status for each location. The list of the
954 # locations is the same as the list of locations in the rollout plan.
955 &quot;a_key&quot;: {
956 &quot;state&quot;: &quot;A String&quot;, # Output only. [Output Only] The state of the location rollout.
957 },
958 },
959 &quot;rollout&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the rollout.
960 # Ex. projects//locations/global/rollouts/.
961 &quot;rolloutPlan&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the rollout plan.
962 # Ex.
963 # projects//locations/global/rolloutPlans/.
964 &quot;state&quot;: &quot;A String&quot;, # Output only. [Output Only] The overall state of the rollout.
965 },
966 },
967 },
968 &quot;scopedResourceStatus&quot;: &quot;A String&quot;, # Output only. [Output Only] The scoped resource status. It&#x27;s only for tracking the
969 # purging status of the policy.
970 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined fully-qualified URL for this resource.
971 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource&#x27;s resource id.
972 &quot;updateTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Update timestamp inRFC3339
973 # text format.
974 }
975
976 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
977 that if you must retry your request, the server will know to ignore the
978 request if it has already been completed.
979
980 For example, consider a situation where you make an initial request and
981 the request times out. If you make the request again with the same
982 request ID, the server can check if original operation with the same
983 request ID was received, and if so, will ignore the second request. This
984 prevents clients from accidentally creating duplicate commitments.
985
986 The request ID must be
987 a valid UUID with the exception that zero UUID is not supported
988 (00000000-0000-0000-0000-000000000000).
989 x__xgafv: string, V1 error format.
990 Allowed values
991 1 - v1 error format
992 2 - v2 error format
993
994 Returns:
995 An object of the form:
996
997 { # Represents an Operation resource.
998 #
999 # Google Compute Engine has three Operation resources:
1000 #
1001 # * [Global](/compute/docs/reference/rest/beta/globalOperations)
1002 # * [Regional](/compute/docs/reference/rest/beta/regionOperations)
1003 # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations)
1004 #
1005 # You can use an operation resource to manage asynchronous API requests.
1006 # For more information, readHandling
1007 # API responses.
1008 #
1009 # Operations can be global, regional or zonal.
1010 #
1011 # - For global operations, use the `globalOperations`
1012 # resource.
1013 # - For regional operations, use the
1014 # `regionOperations` resource.
1015 # - For zonal operations, use
1016 # the `zoneOperations` resource.
1017 #
1018 #
1019 #
1020 # For more information, read
1021 # Global, Regional, and Zonal Resources.
1022 #
1023 # Note that completed Operation resources have a limited
1024 # retention period.
1025 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
1026 # Not present otherwise.
1027 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
1028 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
1029 # set when the operation is created.
1030 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
1031 # text format.
1032 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
1033 # this field will be populated.
1034 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
1035 # operation.
1036 {
1037 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
1038 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
1039 # details. There is a set of defined message types to use for providing
1040 # details.The syntax depends on the error code. For example,
1041 # QuotaExceededInfo will have details when the error code is
1042 # QUOTA_EXCEEDED.
1043 {
1044 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
1045 #
1046 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
1047 # is not enabled:
1048 #
1049 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
1050 # &quot;domain&quot;: &quot;googleapis.com&quot;
1051 # &quot;metadata&quot;: {
1052 # &quot;resource&quot;: &quot;projects/123&quot;,
1053 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
1054 # }
1055 # }
1056 #
1057 # This response indicates that the pubsub.googleapis.com API is not enabled.
1058 #
1059 # Example of an error that is returned when attempting to create a Spanner
1060 # instance in a region that is out of stock:
1061 #
1062 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
1063 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
1064 # &quot;metadata&quot;: {
1065 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
1066 # }
1067 # }
1068 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
1069 # is typically the registered service name of the tool or product that
1070 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
1071 # generated by some common infrastructure, the error domain must be a
1072 # globally unique value that identifies the infrastructure. For Google API
1073 # infrastructure, the error domain is &quot;googleapis.com&quot;.
1074 &quot;metadatas&quot;: { # Additional structured details about this error.
1075 #
1076 # Keys must match a regular expression of `a-z+` but should
1077 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
1078 # length. When identifying the current value of an exceeded limit, the units
1079 # should be contained in the key, not the value. For example, rather than
1080 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
1081 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
1082 # instances that can be created in a single (batch) request.
1083 &quot;a_key&quot;: &quot;A String&quot;,
1084 },
1085 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
1086 # proximate cause of the error. Error reasons are unique within a particular
1087 # domain of errors. This should be at most 63 characters and match a
1088 # regular expression of `A-Z+[A-Z0-9]`, which represents
1089 # UPPER_SNAKE_CASE.
1090 },
1091 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
1092 #
1093 # For example, if a quota check failed with an error indicating the calling
1094 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
1095 # directly to the right place in the developer console to flip the bit.
1096 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
1097 { # Describes a URL link.
1098 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
1099 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
1100 },
1101 ],
1102 },
1103 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
1104 # which can be attached to an RPC error.
1105 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
1106 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
1107 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
1108 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
1109 },
1110 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
1111 &quot;dimensions&quot;: { # The map holding related quota dimensions.
1112 &quot;a_key&quot;: &quot;A String&quot;,
1113 },
1114 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
1115 # type or metric.
1116 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
1117 # or metric.
1118 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
1119 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
1120 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
1121 },
1122 },
1123 ],
1124 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
1125 # This property is optional.
1126 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
1127 },
1128 ],
1129 },
1130 &quot;getVersionOperationMetadata&quot;: {
1131 &quot;inlineSbomInfo&quot;: {
1132 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
1133 # appropriate identifiers.
1134 &quot;a_key&quot;: &quot;A String&quot;,
1135 },
1136 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
1137 # identifiers.
1138 &quot;a_key&quot;: &quot;A String&quot;,
1139 },
1140 },
1141 },
1142 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
1143 # message that was returned, such as `NOT FOUND`.
1144 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
1145 # status code that was returned. For example, a `404` means the
1146 # resource was not found.
1147 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
1148 # defined by the server.
1149 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
1150 # This value is inRFC3339
1151 # text format.
1152 &quot;instancesBulkInsertOperationMetadata&quot;: {
1153 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
1154 # Example key: zones/us-central1-a
1155 &quot;a_key&quot;: {
1156 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
1157 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
1158 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
1159 # error.
1160 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
1161 # if the flow is rolling forward or rolling back.
1162 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
1163 },
1164 },
1165 },
1166 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
1167 # Operation resources.
1168 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
1169 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
1170 # group of operations results from a `bulkInsert` API request.
1171 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
1172 # `update`, or `delete`, and so on.
1173 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
1174 # There is no requirement that this be linear or support any granularity of
1175 # operations. This should not be used to guess when the operation will be
1176 # complete. This number should monotonically increase as the operation
1177 # progresses.
1178 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
1179 # applicable when performing regional operations.
1180 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
1181 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
1182 # this field will contain information on all underlying zonal actions and
1183 # their state.
1184 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
1185 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
1186 # Example key: zones/us-central1-a
1187 &quot;a_key&quot;: {
1188 &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
1189 # populated.
1190 # different programming environments, including REST APIs and RPC APIs. It is
1191 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1192 # three pieces of data: error code, error message, and error details.
1193 #
1194 # You can find out more about this error model and how to work with it in the
1195 # [API Design Guide](https://cloud.google.com/apis/design/errors).
1196 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1197 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
1198 # message types for APIs to use.
1199 {
1200 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1201 },
1202 ],
1203 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
1204 # user-facing error message should be localized and sent in the
1205 # google.rpc.Status.details field, or localized by the client.
1206 },
1207 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
1208 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
1209 },
1210 },
1211 },
1212 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
1213 # This value is inRFC3339
1214 # text format.
1215 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
1216 # following:
1217 # `PENDING`, `RUNNING`, or `DONE`.
1218 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
1219 # operation.
1220 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
1221 # of the target resource.
1222 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
1223 # operations related to creating a snapshot, this points to the disk
1224 # that the snapshot was created from.
1225 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
1226 # `[email protected]` or
1227 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
1228 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
1229 # operation, this field will be populated.
1230 {
1231 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1232 # Engine returns NO_RESULTS_ON_PAGE if there
1233 # are no results in the response.
1234 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1235 # value format. For example:
1236 #
1237 # &quot;data&quot;: [
1238 # {
1239 # &quot;key&quot;: &quot;scope&quot;,
1240 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1241 # }
1242 {
1243 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1244 # returned. For example, for warnings where there are no results in a list
1245 # request for a particular zone, this key might be scope and
1246 # the key value might be the zone name. Other examples might be a key
1247 # indicating a deprecated resource and a suggested replacement, or a
1248 # warning about invalid network settings (for example, if an instance
1249 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1250 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1251 },
1252 ],
1253 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1254 },
1255 ],
1256 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
1257 # applicable when performing per-zone operations.
1258 }</pre>
1259 </div>
1260
1261 <div class="method">
1262 <code class="details" id="list">list(project, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
1263 <pre>Lists global VM extension policies.
1264
1265 Args:
1266 project: string, Project ID for this request. (required)
1267 filter: string, A filter expression that filters resources listed in the response. Most
1268 Compute resources support two types of filter expressions:
1269 expressions that support regular expressions and expressions that follow
1270 API improvement proposal AIP-160.
1271 These two types of filter expressions cannot be mixed in one request.
1272
1273 If you want to use AIP-160, your expression must specify the field name, an
1274 operator, and the value that you want to use for filtering. The value
1275 must be a string, a number, or a boolean. The operator
1276 must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`.
1277
1278 For example, if you are filtering Compute Engine instances, you can
1279 exclude instances named `example-instance` by specifying
1280 `name != example-instance`.
1281
1282 The `:*` comparison can be used to test whether a key has been defined.
1283 For example, to find all objects with `owner` label use:
1284 ```
1285 labels.owner:*
1286 ```
1287
1288 You can also filter nested fields. For example, you could specify
1289 `scheduling.automaticRestart = false` to include instances only
1290 if they are not scheduled for automatic restarts. You can use filtering
1291 on nested fields to filter based onresource labels.
1292
1293 To filter on multiple expressions, provide each separate expression within
1294 parentheses. For example:
1295 ```
1296 (scheduling.automaticRestart = true)
1297 (cpuPlatform = &quot;Intel Skylake&quot;)
1298 ```
1299 By default, each expression is an `AND` expression. However, you
1300 can include `AND` and `OR` expressions explicitly.
1301 For example:
1302 ```
1303 (cpuPlatform = &quot;Intel Skylake&quot;) OR
1304 (cpuPlatform = &quot;Intel Broadwell&quot;) AND
1305 (scheduling.automaticRestart = true)
1306 ```
1307
1308 If you want to use a regular expression, use the `eq` (equal) or `ne`
1309 (not equal) operator against a single un-parenthesized expression with or
1310 without quotes or against multiple parenthesized expressions. Examples:
1311
1312 `fieldname eq unquoted literal`
1313 `fieldname eq &#x27;single quoted literal&#x27;`
1314 `fieldname eq &quot;double quoted literal&quot;`
1315 `(fieldname1 eq literal) (fieldname2 ne &quot;literal&quot;)`
1316
1317 The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
1318 The literal value must match the entire field.
1319
1320 For example, to filter for instances that do not end with name &quot;instance&quot;,
1321 you would use `name ne .*instance`.
1322
1323 You cannot combine constraints on multiple fields using regular
1324 expressions.
1325 maxResults: integer, The maximum number of results per page that should be returned.
1326 If the number of available results is larger than `maxResults`,
1327 Compute Engine returns a `nextPageToken` that can be used to get
1328 the next page of results in subsequent list requests. Acceptable values are
1329 `0` to `500`, inclusive. (Default: `500`)
1330 orderBy: string, Sorts list results by a certain order. By default, results
1331 are returned in alphanumerical order based on the resource name.
1332
1333 You can also sort results in descending order based on the creation
1334 timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts
1335 results based on the `creationTimestamp` field in
1336 reverse chronological order (newest result first). Use this to sort
1337 resources like operations so that the newest operation is returned first.
1338
1339 Currently, only sorting by `name` or
1340 `creationTimestamp desc` is supported.
1341 pageToken: string, Specifies a page token to use. Set `pageToken` to the
1342 `nextPageToken` returned by a previous list request to get
1343 the next page of results.
1344 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case
1345 of failure. The default value is false.
1346
1347 For example, when partial success behavior is enabled, aggregatedList for a
1348 single zone scope either returns all resources in the zone or no resources,
1349 with an error code.
1350 x__xgafv: string, V1 error format.
1351 Allowed values
1352 1 - v1 error format
1353 2 - v2 error format
1354
1355 Returns:
1356 An object of the form:
1357
1358 { # Response to list global VM extension policy resources.
1359 &quot;etag&quot;: &quot;A String&quot;,
1360 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
1361 &quot;items&quot;: [ # A list of GlobalVmExtensionPolicy resources.
1362 { # Message describing GlobalVmExtensionPolicy object.
1363 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
1364 # text format.
1365 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
1366 # create the resource.
1367 &quot;extensionPolicies&quot;: { # Required. Map from extension (eg: &quot;cloudops&quot;) to its policy configuration.
1368 # The key is the name of the extension.
1369 &quot;a_key&quot;: { # Policy for a single extension.
1370 &quot;pinnedVersion&quot;: &quot;A String&quot;, # Optional. The version pinning for the extension.
1371 # If empty, the extension will be installed with the latest version
1372 # released by the extension producer.
1373 &quot;stringConfig&quot;: &quot;A String&quot;, # Optional. String configuration. Any string payload that the extension
1374 # understands.
1375 },
1376 },
1377 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
1378 # defined by the server.
1379 &quot;instanceSelectors&quot;: [ # Optional. Selector to target VMs for a policy.
1380 # There is a logical &quot;AND&quot; between instance_selectors.
1381 { # Selector to target VMs for a zone VM extension policy.
1382 &quot;labelSelector&quot;: { # A LabelSelector is applicable for a VM only if it matches all labels in # Optional. Labels within the LabelSelector are OR&#x27;d.
1383 # the LabelSelector.
1384 &quot;inclusionLabels&quot;: { # Optional. Labels as key value pairs.
1385 # A VM should contain all the pairs specified in this map to be selected;
1386 # Labels within the LabelSelector are OR&#x27;ed.
1387 &quot;a_key&quot;: &quot;A String&quot;,
1388 },
1389 },
1390 },
1391 ],
1392 &quot;kind&quot;: &quot;compute#globalVmExtensionPolicy&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#globalVmExtensionPolicy for globalVmExtensionPolicies.
1393 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
1394 # The name must be 1-63 characters long, and comply withRFC1035.
1395 # Specifically, the name must be 1-63 characters long and match the regular
1396 # expression `[a-z]([-a-z0-9]*[a-z0-9])?`
1397 # which means the first character must be a lowercase letter, and all
1398 # following characters must be a dash, lowercase letter, or digit, except
1399 # the last character, which cannot be a dash.
1400 &quot;priority&quot;: 42, # Optional. Used to resolve conflicts when multiple policies are active for the same
1401 # extension. Defaults to 0.
1402 #
1403 # Larger the number, higher the priority. When the priority is the same,
1404 # the policy with the newer create time has higher priority.
1405 &quot;rolloutOperation&quot;: { # Represents the rollout operation # Required. The rollout strategy and status.
1406 &quot;rolloutInput&quot;: { # Required. The rollout input which defines the rollout plan.
1407 &quot;conflictBehavior&quot;: &quot;A String&quot;, # Optional. Specifies the behavior of the rollout if a conflict is detected in a
1408 # project during a rollout. This only applies to `insert` and `update`
1409 # methods.
1410 #
1411 # A conflict occurs in the following cases:
1412 #
1413 # * `insert` method: If the zonal policy already exists when the insert
1414 # happens.
1415 # * `update` method: If the zonal policy was modified by a zonal API call
1416 # outside of this rollout.
1417 #
1418 # Possible values are the following:
1419 #
1420 # * `&quot;&quot;` (empty string): If a conflict occurs, the local value is not
1421 # overwritten. This is the default behavior.
1422 # * `&quot;overwrite&quot;`: If a conflict occurs, the local value is overwritten
1423 # with the rollout value.
1424 &quot;name&quot;: &quot;A String&quot;, # Optional. The name of the rollout plan.
1425 # Ex.
1426 # projects//locations/global/rolloutPlans/.
1427 &quot;predefinedRolloutPlan&quot;: &quot;A String&quot;, # Optional. Specifies the predefined rollout plan for the policy. Valid values
1428 # are `SLOW_ROLLOUT` and `FAST_ROLLOUT`. The recommended value is
1429 # `SLOW_ROLLOUT` for progressive rollout. For more information, see Rollout
1430 # plans for global policies.
1431 &quot;retryUuid&quot;: &quot;A String&quot;, # Optional. The UUID that identifies a policy rollout retry attempt for update and
1432 # delete operations. Set this field only when retrying a rollout for an
1433 # existing extension policy.
1434 #
1435 # * `update` method: Lets you retry policy rollout without changes.
1436 # An error occurs if you set retry_uuid but the policy is modified.
1437 # * `delete` method: Lets you retry policy deletion rollout if the
1438 # previous deletion rollout is not finished and the policy is in the
1439 # DELETING state. If you set this field when the policy is not in the
1440 # DELETING state, an error occurs.
1441 },
1442 &quot;rolloutStatus&quot;: { # Output only. [Output Only] The rollout status of the policy.
1443 &quot;currentRollouts&quot;: [ # Output only. [Output Only] The current rollouts for the latest version of the
1444 # resource. There should be only one current rollout, but for
1445 # scalability, we make it repeated.
1446 {
1447 &quot;locationRolloutStatus&quot;: { # Output only. [Output Only] The rollout status for each location. The list of the
1448 # locations is the same as the list of locations in the rollout plan.
1449 &quot;a_key&quot;: {
1450 &quot;state&quot;: &quot;A String&quot;, # Output only. [Output Only] The state of the location rollout.
1451 },
1452 },
1453 &quot;rollout&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the rollout.
1454 # Ex. projects//locations/global/rollouts/.
1455 &quot;rolloutPlan&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the rollout plan.
1456 # Ex.
1457 # projects//locations/global/rolloutPlans/.
1458 &quot;state&quot;: &quot;A String&quot;, # Output only. [Output Only] The overall state of the rollout.
1459 },
1460 ],
1461 &quot;previousRollout&quot;: { # Output only. [Output Only] The last completed rollout resource. This field will not
1462 # be populated until the first rollout is completed.
1463 &quot;locationRolloutStatus&quot;: { # Output only. [Output Only] The rollout status for each location. The list of the
1464 # locations is the same as the list of locations in the rollout plan.
1465 &quot;a_key&quot;: {
1466 &quot;state&quot;: &quot;A String&quot;, # Output only. [Output Only] The state of the location rollout.
1467 },
1468 },
1469 &quot;rollout&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the rollout.
1470 # Ex. projects//locations/global/rollouts/.
1471 &quot;rolloutPlan&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the rollout plan.
1472 # Ex.
1473 # projects//locations/global/rolloutPlans/.
1474 &quot;state&quot;: &quot;A String&quot;, # Output only. [Output Only] The overall state of the rollout.
1475 },
1476 },
1477 },
1478 &quot;scopedResourceStatus&quot;: &quot;A String&quot;, # Output only. [Output Only] The scoped resource status. It&#x27;s only for tracking the
1479 # purging status of the policy.
1480 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined fully-qualified URL for this resource.
1481 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource&#x27;s resource id.
1482 &quot;updateTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Update timestamp inRFC3339
1483 # text format.
1484 },
1485 ],
1486 &quot;kind&quot;: &quot;compute#globalVmExtensionPolicyList&quot;, # Output only. Type of resource.
1487 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for
1488 # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
1489 # the query parameter pageToken in the next list request.
1490 # Subsequent list requests will have their own nextPageToken to
1491 # continue paging through the results.
1492 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource.
1493 &quot;unreachables&quot;: [ # Output only. [Output Only] Unreachable resources.
1494 &quot;A String&quot;,
1495 ],
1496 &quot;warning&quot;: { # [Output Only] Informational warning message.
1497 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1498 # Engine returns NO_RESULTS_ON_PAGE if there
1499 # are no results in the response.
1500 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1501 # value format. For example:
1502 #
1503 # &quot;data&quot;: [
1504 # {
1505 # &quot;key&quot;: &quot;scope&quot;,
1506 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1507 # }
1508 {
1509 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1510 # returned. For example, for warnings where there are no results in a list
1511 # request for a particular zone, this key might be scope and
1512 # the key value might be the zone name. Other examples might be a key
1513 # indicating a deprecated resource and a suggested replacement, or a
1514 # warning about invalid network settings (for example, if an instance
1515 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1516 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1517 },
1518 ],
1519 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1520 },
1521 }</pre>
1522 </div>
1523
1524 <div class="method">
1525 <code class="details" id="list_next">list_next()</code>
1526 <pre>Retrieves the next page of results.
1527
1528 Args:
1529 previous_request: The request for the previous page. (required)
1530 previous_response: The response from the request for the previous page. (required)
1531
1532 Returns:
1533 A request object that you can call &#x27;execute()&#x27; on to request the next
1534 page. Returns None if there are no more items in the collection.
1535 </pre>
1536 </div>
1537
1538 <div class="method">
1539 <code class="details" id="update">update(project, globalVmExtensionPolicy, body=None, requestId=None, x__xgafv=None)</code>
1540 <pre>Updates a global VM extension policy.
1541
1542 Args:
1543 project: string, Project ID for this request. (required)
1544 globalVmExtensionPolicy: string, Name of the global VM extension policy to update. (required)
1545 body: object, The request body.
1546 The object takes the form of:
1547
1548 { # Message describing GlobalVmExtensionPolicy object.
1549 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
1550 # text format.
1551 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
1552 # create the resource.
1553 &quot;extensionPolicies&quot;: { # Required. Map from extension (eg: &quot;cloudops&quot;) to its policy configuration.
1554 # The key is the name of the extension.
1555 &quot;a_key&quot;: { # Policy for a single extension.
1556 &quot;pinnedVersion&quot;: &quot;A String&quot;, # Optional. The version pinning for the extension.
1557 # If empty, the extension will be installed with the latest version
1558 # released by the extension producer.
1559 &quot;stringConfig&quot;: &quot;A String&quot;, # Optional. String configuration. Any string payload that the extension
1560 # understands.
1561 },
1562 },
1563 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
1564 # defined by the server.
1565 &quot;instanceSelectors&quot;: [ # Optional. Selector to target VMs for a policy.
1566 # There is a logical &quot;AND&quot; between instance_selectors.
1567 { # Selector to target VMs for a zone VM extension policy.
1568 &quot;labelSelector&quot;: { # A LabelSelector is applicable for a VM only if it matches all labels in # Optional. Labels within the LabelSelector are OR&#x27;d.
1569 # the LabelSelector.
1570 &quot;inclusionLabels&quot;: { # Optional. Labels as key value pairs.
1571 # A VM should contain all the pairs specified in this map to be selected;
1572 # Labels within the LabelSelector are OR&#x27;ed.
1573 &quot;a_key&quot;: &quot;A String&quot;,
1574 },
1575 },
1576 },
1577 ],
1578 &quot;kind&quot;: &quot;compute#globalVmExtensionPolicy&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#globalVmExtensionPolicy for globalVmExtensionPolicies.
1579 &quot;name&quot;: &quot;A String&quot;, # Name of the resource. Provided by the client when the resource is created.
1580 # The name must be 1-63 characters long, and comply withRFC1035.
1581 # Specifically, the name must be 1-63 characters long and match the regular
1582 # expression `[a-z]([-a-z0-9]*[a-z0-9])?`
1583 # which means the first character must be a lowercase letter, and all
1584 # following characters must be a dash, lowercase letter, or digit, except
1585 # the last character, which cannot be a dash.
1586 &quot;priority&quot;: 42, # Optional. Used to resolve conflicts when multiple policies are active for the same
1587 # extension. Defaults to 0.
1588 #
1589 # Larger the number, higher the priority. When the priority is the same,
1590 # the policy with the newer create time has higher priority.
1591 &quot;rolloutOperation&quot;: { # Represents the rollout operation # Required. The rollout strategy and status.
1592 &quot;rolloutInput&quot;: { # Required. The rollout input which defines the rollout plan.
1593 &quot;conflictBehavior&quot;: &quot;A String&quot;, # Optional. Specifies the behavior of the rollout if a conflict is detected in a
1594 # project during a rollout. This only applies to `insert` and `update`
1595 # methods.
1596 #
1597 # A conflict occurs in the following cases:
1598 #
1599 # * `insert` method: If the zonal policy already exists when the insert
1600 # happens.
1601 # * `update` method: If the zonal policy was modified by a zonal API call
1602 # outside of this rollout.
1603 #
1604 # Possible values are the following:
1605 #
1606 # * `&quot;&quot;` (empty string): If a conflict occurs, the local value is not
1607 # overwritten. This is the default behavior.
1608 # * `&quot;overwrite&quot;`: If a conflict occurs, the local value is overwritten
1609 # with the rollout value.
1610 &quot;name&quot;: &quot;A String&quot;, # Optional. The name of the rollout plan.
1611 # Ex.
1612 # projects//locations/global/rolloutPlans/.
1613 &quot;predefinedRolloutPlan&quot;: &quot;A String&quot;, # Optional. Specifies the predefined rollout plan for the policy. Valid values
1614 # are `SLOW_ROLLOUT` and `FAST_ROLLOUT`. The recommended value is
1615 # `SLOW_ROLLOUT` for progressive rollout. For more information, see Rollout
1616 # plans for global policies.
1617 &quot;retryUuid&quot;: &quot;A String&quot;, # Optional. The UUID that identifies a policy rollout retry attempt for update and
1618 # delete operations. Set this field only when retrying a rollout for an
1619 # existing extension policy.
1620 #
1621 # * `update` method: Lets you retry policy rollout without changes.
1622 # An error occurs if you set retry_uuid but the policy is modified.
1623 # * `delete` method: Lets you retry policy deletion rollout if the
1624 # previous deletion rollout is not finished and the policy is in the
1625 # DELETING state. If you set this field when the policy is not in the
1626 # DELETING state, an error occurs.
1627 },
1628 &quot;rolloutStatus&quot;: { # Output only. [Output Only] The rollout status of the policy.
1629 &quot;currentRollouts&quot;: [ # Output only. [Output Only] The current rollouts for the latest version of the
1630 # resource. There should be only one current rollout, but for
1631 # scalability, we make it repeated.
1632 {
1633 &quot;locationRolloutStatus&quot;: { # Output only. [Output Only] The rollout status for each location. The list of the
1634 # locations is the same as the list of locations in the rollout plan.
1635 &quot;a_key&quot;: {
1636 &quot;state&quot;: &quot;A String&quot;, # Output only. [Output Only] The state of the location rollout.
1637 },
1638 },
1639 &quot;rollout&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the rollout.
1640 # Ex. projects//locations/global/rollouts/.
1641 &quot;rolloutPlan&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the rollout plan.
1642 # Ex.
1643 # projects//locations/global/rolloutPlans/.
1644 &quot;state&quot;: &quot;A String&quot;, # Output only. [Output Only] The overall state of the rollout.
1645 },
1646 ],
1647 &quot;previousRollout&quot;: { # Output only. [Output Only] The last completed rollout resource. This field will not
1648 # be populated until the first rollout is completed.
1649 &quot;locationRolloutStatus&quot;: { # Output only. [Output Only] The rollout status for each location. The list of the
1650 # locations is the same as the list of locations in the rollout plan.
1651 &quot;a_key&quot;: {
1652 &quot;state&quot;: &quot;A String&quot;, # Output only. [Output Only] The state of the location rollout.
1653 },
1654 },
1655 &quot;rollout&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the rollout.
1656 # Ex. projects//locations/global/rollouts/.
1657 &quot;rolloutPlan&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the rollout plan.
1658 # Ex.
1659 # projects//locations/global/rolloutPlans/.
1660 &quot;state&quot;: &quot;A String&quot;, # Output only. [Output Only] The overall state of the rollout.
1661 },
1662 },
1663 },
1664 &quot;scopedResourceStatus&quot;: &quot;A String&quot;, # Output only. [Output Only] The scoped resource status. It&#x27;s only for tracking the
1665 # purging status of the policy.
1666 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined fully-qualified URL for this resource.
1667 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource&#x27;s resource id.
1668 &quot;updateTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Update timestamp inRFC3339
1669 # text format.
1670 }
1671
1672 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
1673 that if you must retry your request, the server will know to ignore the
1674 request if it has already been completed.
1675
1676 For example, consider a situation where you make an initial request and
1677 the request times out. If you make the request again with the same
1678 request ID, the server can check if original operation with the same
1679 request ID was received, and if so, will ignore the second request. This
1680 prevents clients from accidentally creating duplicate commitments.
1681
1682 The request ID must be
1683 a valid UUID with the exception that zero UUID is not supported
1684 (00000000-0000-0000-0000-000000000000).
1685 x__xgafv: string, V1 error format.
1686 Allowed values
1687 1 - v1 error format
1688 2 - v2 error format
1689
1690 Returns:
1691 An object of the form:
1692
1693 { # Represents an Operation resource.
1694 #
1695 # Google Compute Engine has three Operation resources:
1696 #
1697 # * [Global](/compute/docs/reference/rest/beta/globalOperations)
1698 # * [Regional](/compute/docs/reference/rest/beta/regionOperations)
1699 # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations)
1700 #
1701 # You can use an operation resource to manage asynchronous API requests.
1702 # For more information, readHandling
1703 # API responses.
1704 #
1705 # Operations can be global, regional or zonal.
1706 #
1707 # - For global operations, use the `globalOperations`
1708 # resource.
1709 # - For regional operations, use the
1710 # `regionOperations` resource.
1711 # - For zonal operations, use
1712 # the `zoneOperations` resource.
1713 #
1714 #
1715 #
1716 # For more information, read
1717 # Global, Regional, and Zonal Resources.
1718 #
1719 # Note that completed Operation resources have a limited
1720 # retention period.
1721 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
1722 # Not present otherwise.
1723 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
1724 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
1725 # set when the operation is created.
1726 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
1727 # text format.
1728 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
1729 # this field will be populated.
1730 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
1731 # operation.
1732 {
1733 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
1734 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
1735 # details. There is a set of defined message types to use for providing
1736 # details.The syntax depends on the error code. For example,
1737 # QuotaExceededInfo will have details when the error code is
1738 # QUOTA_EXCEEDED.
1739 {
1740 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
1741 #
1742 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
1743 # is not enabled:
1744 #
1745 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
1746 # &quot;domain&quot;: &quot;googleapis.com&quot;
1747 # &quot;metadata&quot;: {
1748 # &quot;resource&quot;: &quot;projects/123&quot;,
1749 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
1750 # }
1751 # }
1752 #
1753 # This response indicates that the pubsub.googleapis.com API is not enabled.
1754 #
1755 # Example of an error that is returned when attempting to create a Spanner
1756 # instance in a region that is out of stock:
1757 #
1758 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
1759 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
1760 # &quot;metadata&quot;: {
1761 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
1762 # }
1763 # }
1764 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
1765 # is typically the registered service name of the tool or product that
1766 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
1767 # generated by some common infrastructure, the error domain must be a
1768 # globally unique value that identifies the infrastructure. For Google API
1769 # infrastructure, the error domain is &quot;googleapis.com&quot;.
1770 &quot;metadatas&quot;: { # Additional structured details about this error.
1771 #
1772 # Keys must match a regular expression of `a-z+` but should
1773 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
1774 # length. When identifying the current value of an exceeded limit, the units
1775 # should be contained in the key, not the value. For example, rather than
1776 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
1777 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
1778 # instances that can be created in a single (batch) request.
1779 &quot;a_key&quot;: &quot;A String&quot;,
1780 },
1781 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
1782 # proximate cause of the error. Error reasons are unique within a particular
1783 # domain of errors. This should be at most 63 characters and match a
1784 # regular expression of `A-Z+[A-Z0-9]`, which represents
1785 # UPPER_SNAKE_CASE.
1786 },
1787 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
1788 #
1789 # For example, if a quota check failed with an error indicating the calling
1790 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
1791 # directly to the right place in the developer console to flip the bit.
1792 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
1793 { # Describes a URL link.
1794 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
1795 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
1796 },
1797 ],
1798 },
1799 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
1800 # which can be attached to an RPC error.
1801 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
1802 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
1803 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
1804 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
1805 },
1806 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
1807 &quot;dimensions&quot;: { # The map holding related quota dimensions.
1808 &quot;a_key&quot;: &quot;A String&quot;,
1809 },
1810 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
1811 # type or metric.
1812 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
1813 # or metric.
1814 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
1815 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
1816 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
1817 },
1818 },
1819 ],
1820 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
1821 # This property is optional.
1822 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
1823 },
1824 ],
1825 },
1826 &quot;getVersionOperationMetadata&quot;: {
1827 &quot;inlineSbomInfo&quot;: {
1828 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
1829 # appropriate identifiers.
1830 &quot;a_key&quot;: &quot;A String&quot;,
1831 },
1832 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
1833 # identifiers.
1834 &quot;a_key&quot;: &quot;A String&quot;,
1835 },
1836 },
1837 },
1838 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
1839 # message that was returned, such as `NOT FOUND`.
1840 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
1841 # status code that was returned. For example, a `404` means the
1842 # resource was not found.
1843 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
1844 # defined by the server.
1845 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
1846 # This value is inRFC3339
1847 # text format.
1848 &quot;instancesBulkInsertOperationMetadata&quot;: {
1849 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
1850 # Example key: zones/us-central1-a
1851 &quot;a_key&quot;: {
1852 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
1853 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
1854 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
1855 # error.
1856 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
1857 # if the flow is rolling forward or rolling back.
1858 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
1859 },
1860 },
1861 },
1862 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
1863 # Operation resources.
1864 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
1865 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
1866 # group of operations results from a `bulkInsert` API request.
1867 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
1868 # `update`, or `delete`, and so on.
1869 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
1870 # There is no requirement that this be linear or support any granularity of
1871 # operations. This should not be used to guess when the operation will be
1872 # complete. This number should monotonically increase as the operation
1873 # progresses.
1874 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
1875 # applicable when performing regional operations.
1876 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
1877 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
1878 # this field will contain information on all underlying zonal actions and
1879 # their state.
1880 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
1881 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
1882 # Example key: zones/us-central1-a
1883 &quot;a_key&quot;: {
1884 &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
1885 # populated.
1886 # different programming environments, including REST APIs and RPC APIs. It is
1887 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1888 # three pieces of data: error code, error message, and error details.
1889 #
1890 # You can find out more about this error model and how to work with it in the
1891 # [API Design Guide](https://cloud.google.com/apis/design/errors).
1892 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1893 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
1894 # message types for APIs to use.
1895 {
1896 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1897 },
1898 ],
1899 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
1900 # user-facing error message should be localized and sent in the
1901 # google.rpc.Status.details field, or localized by the client.
1902 },
1903 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
1904 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
1905 },
1906 },
1907 },
1908 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
1909 # This value is inRFC3339
1910 # text format.
1911 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
1912 # following:
1913 # `PENDING`, `RUNNING`, or `DONE`.
1914 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
1915 # operation.
1916 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
1917 # of the target resource.
1918 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
1919 # operations related to creating a snapshot, this points to the disk
1920 # that the snapshot was created from.
1921 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
1922 # `[email protected]` or
1923 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
1924 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
1925 # operation, this field will be populated.
1926 {
1927 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1928 # Engine returns NO_RESULTS_ON_PAGE if there
1929 # are no results in the response.
1930 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1931 # value format. For example:
1932 #
1933 # &quot;data&quot;: [
1934 # {
1935 # &quot;key&quot;: &quot;scope&quot;,
1936 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1937 # }
1938 {
1939 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1940 # returned. For example, for warnings where there are no results in a list
1941 # request for a particular zone, this key might be scope and
1942 # the key value might be the zone name. Other examples might be a key
1943 # indicating a deprecated resource and a suggested replacement, or a
1944 # warning about invalid network settings (for example, if an instance
1945 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1946 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1947 },
1948 ],
1949 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1950 },
1951 ],
1952 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
1953 # applicable when performing per-zone operations.
1954 }</pre>
1955 </div>
1956
1957 </body></html>