Debian Codegraph @

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