Debian Codegraph @

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