Debian Codegraph @

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