Debian Codegraph @

docs/dyn/compute_v1.machineTypes.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_v1.html">Compute Engine API</a> . <a href="compute_v1.machineTypes.html">machineTypes</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#aggregatedList">aggregatedList(project, filter=None, includeAllScopes=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, serviceProjectNumber=None, x__xgafv=None)</a></code></p>
79 <p class="firstline">Retrieves an aggregated list of machine types.</p>
80 <p class="toc_element">
81 <code><a href="#aggregatedList_next">aggregatedList_next()</a></code></p>
82 <p class="firstline">Retrieves the next page of results.</p>
83 <p class="toc_element">
84 <code><a href="#close">close()</a></code></p>
85 <p class="firstline">Close httplib2 connections.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(project, zone, machineType, x__xgafv=None)</a></code></p>
88 <p class="firstline">Returns the specified machine type.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(project, zone, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Retrieves a list of machine types available to the specified</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="aggregatedList">aggregatedList(project, filter=None, includeAllScopes=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, serviceProjectNumber=None, x__xgafv=None)</code>
98 <pre>Retrieves an aggregated list of machine types.
99
100 To prevent failure, Google recommends that you set the
101 `returnPartialSuccess` parameter to `true`.
102
103 Args:
104 project: string, Project ID for this request. (required)
105 filter: string, A filter expression that filters resources listed in the response. Most
106 Compute resources support two types of filter expressions:
107 expressions that support regular expressions and expressions that follow
108 API improvement proposal AIP-160.
109 These two types of filter expressions cannot be mixed in one request.
110
111 If you want to use AIP-160, your expression must specify the field name, an
112 operator, and the value that you want to use for filtering. The value
113 must be a string, a number, or a boolean. The operator
114 must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`.
115
116 For example, if you are filtering Compute Engine instances, you can
117 exclude instances named `example-instance` by specifying
118 `name != example-instance`.
119
120 The `:*` comparison can be used to test whether a key has been defined.
121 For example, to find all objects with `owner` label use:
122 ```
123 labels.owner:*
124 ```
125
126 You can also filter nested fields. For example, you could specify
127 `scheduling.automaticRestart = false` to include instances only
128 if they are not scheduled for automatic restarts. You can use filtering
129 on nested fields to filter based onresource labels.
130
131 To filter on multiple expressions, provide each separate expression within
132 parentheses. For example:
133 ```
134 (scheduling.automaticRestart = true)
135 (cpuPlatform = &quot;Intel Skylake&quot;)
136 ```
137 By default, each expression is an `AND` expression. However, you
138 can include `AND` and `OR` expressions explicitly.
139 For example:
140 ```
141 (cpuPlatform = &quot;Intel Skylake&quot;) OR
142 (cpuPlatform = &quot;Intel Broadwell&quot;) AND
143 (scheduling.automaticRestart = true)
144 ```
145
146 If you want to use a regular expression, use the `eq` (equal) or `ne`
147 (not equal) operator against a single un-parenthesized expression with or
148 without quotes or against multiple parenthesized expressions. Examples:
149
150 `fieldname eq unquoted literal`
151 `fieldname eq &#x27;single quoted literal&#x27;`
152 `fieldname eq &quot;double quoted literal&quot;`
153 `(fieldname1 eq literal) (fieldname2 ne &quot;literal&quot;)`
154
155 The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
156 The literal value must match the entire field.
157
158 For example, to filter for instances that do not end with name &quot;instance&quot;,
159 you would use `name ne .*instance`.
160
161 You cannot combine constraints on multiple fields using regular
162 expressions.
163 includeAllScopes: boolean, Indicates whether every visible scope for each scope type (zone, region,
164 global) should be included in the response. For new resource types added
165 after this field, the flag has no effect as new resource types will always
166 include every visible scope for each scope type in response. For resource
167 types which predate this field, if this flag is omitted or false, only
168 scopes of the scope types where the resource type is expected to be found
169 will be included.
170 maxResults: integer, The maximum number of results per page that should be returned.
171 If the number of available results is larger than `maxResults`,
172 Compute Engine returns a `nextPageToken` that can be used to get
173 the next page of results in subsequent list requests. Acceptable values are
174 `0` to `500`, inclusive. (Default: `500`)
175 orderBy: string, Sorts list results by a certain order. By default, results
176 are returned in alphanumerical order based on the resource name.
177
178 You can also sort results in descending order based on the creation
179 timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts
180 results based on the `creationTimestamp` field in
181 reverse chronological order (newest result first). Use this to sort
182 resources like operations so that the newest operation is returned first.
183
184 Currently, only sorting by `name` or
185 `creationTimestamp desc` is supported.
186 pageToken: string, Specifies a page token to use. Set `pageToken` to the
187 `nextPageToken` returned by a previous list request to get
188 the next page of results.
189 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case
190 of failure. The default value is false.
191
192 For example, when partial success behavior is enabled, aggregatedList for a
193 single zone scope either returns all resources in the zone or no resources,
194 with an error code.
195 serviceProjectNumber: string, The Shared VPC service project id or service project number for which
196 aggregated list request is invoked for subnetworks list-usable api.
197 x__xgafv: string, V1 error format.
198 Allowed values
199 1 - v1 error format
200 2 - v2 error format
201
202 Returns:
203 An object of the form:
204
205 {
206 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
207 &quot;items&quot;: { # A list of MachineTypesScopedList resources.
208 &quot;a_key&quot;: { # [Output Only] Name of the scope containing this set of machine types.
209 &quot;machineTypes&quot;: [ # [Output Only] A list of machine types contained in this scope.
210 { # Represents a Machine Type resource.
211 #
212 # You can use specific machine types for your VM instances based on performance
213 # and pricing requirements. For more information, readMachine Types.
214 &quot;accelerators&quot;: [ # [Output Only] A list of accelerator configurations assigned to this
215 # machine type.
216 {
217 &quot;guestAcceleratorCount&quot;: 42, # Number of accelerator cards exposed to the guest.
218 &quot;guestAcceleratorType&quot;: &quot;A String&quot;, # The accelerator type resource name, not a full URL, e.g.nvidia-tesla-t4.
219 },
220 ],
221 &quot;architecture&quot;: &quot;A String&quot;, # [Output Only] The architecture of the machine type.
222 &quot;bundledLocalSsds&quot;: { # [Output Only] The configuration of bundled local SSD for the machine type.
223 &quot;defaultInterface&quot;: &quot;A String&quot;, # The default disk interface if the interface is not specified.
224 &quot;partitionCount&quot;: 42, # The number of partitions.
225 },
226 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp inRFC3339
227 # text format.
228 &quot;deprecated&quot;: { # Deprecation status for a public resource. # [Output Only] The deprecation status associated with this machine type.
229 # Only applicable if the machine type is unavailable.
230 &quot;deleted&quot;: &quot;A String&quot;, # An optional RFC3339 timestamp on or after which the state of this
231 # resource is intended to change to DELETED. This is only
232 # informational and the status will not change unless the client explicitly
233 # changes it.
234 &quot;deprecated&quot;: &quot;A String&quot;, # An optional RFC3339 timestamp on or after which the state of this
235 # resource is intended to change to DEPRECATED. This is only
236 # informational and the status will not change unless the client explicitly
237 # changes it.
238 &quot;obsolete&quot;: &quot;A String&quot;, # An optional RFC3339 timestamp on or after which the state of this
239 # resource is intended to change to OBSOLETE. This is only
240 # informational and the status will not change unless the client explicitly
241 # changes it.
242 &quot;replacement&quot;: &quot;A String&quot;, # The URL of the suggested replacement for a deprecated resource.
243 # The suggested replacement resource must be the same kind of resource as the
244 # deprecated resource.
245 &quot;state&quot;: &quot;A String&quot;, # The deprecation state of this resource. This can be ACTIVE,DEPRECATED, OBSOLETE, or DELETED.
246 # Operations which communicate the end of life date for an image, can useACTIVE. Operations which create a new resource using aDEPRECATED resource will return successfully, but with a
247 # warning indicating the deprecated resource and recommending its
248 # replacement. Operations which use OBSOLETE orDELETED resources will be rejected and result in an error.
249 },
250 &quot;description&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the resource.
251 &quot;guestCpus&quot;: 42, # [Output Only] The number of virtual CPUs that are available to the
252 # instance.
253 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is
254 # defined by the server.
255 &quot;imageSpaceGb&quot;: 42, # [Deprecated] This property is deprecated and will never be populated with
256 # any relevant values.
257 &quot;isSharedCpu&quot;: True or False, # [Output Only] Whether this machine type has a shared CPU. SeeShared-core machine
258 # types for more information.
259 &quot;kind&quot;: &quot;compute#machineType&quot;, # Output only. [Output Only] The type of the resource. Alwayscompute#machineType for machine types.
260 &quot;maximumPersistentDisks&quot;: 42, # [Output Only] Maximum persistent disks allowed.
261 &quot;maximumPersistentDisksSizeGb&quot;: &quot;A String&quot;, # [Output Only] Maximum total persistent disks size (GB) allowed.
262 &quot;memoryMb&quot;: 42, # [Output Only] The amount of physical memory available to the instance,
263 # defined in MB.
264 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the resource.
265 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
266 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The name of the zone where the machine type resides,
267 # such as us-central1-a.
268 },
269 ],
270 &quot;warning&quot;: { # [Output Only] An informational warning that appears when the machine types
271 # list is empty.
272 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
273 # Engine returns NO_RESULTS_ON_PAGE if there
274 # are no results in the response.
275 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
276 # value format. For example:
277 #
278 # &quot;data&quot;: [
279 # {
280 # &quot;key&quot;: &quot;scope&quot;,
281 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
282 # }
283 {
284 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
285 # returned. For example, for warnings where there are no results in a list
286 # request for a particular zone, this key might be scope and
287 # the key value might be the zone name. Other examples might be a key
288 # indicating a deprecated resource and a suggested replacement, or a
289 # warning about invalid network settings (for example, if an instance
290 # attempts to perform IP forwarding but is not enabled for IP forwarding).
291 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
292 },
293 ],
294 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
295 },
296 },
297 },
298 &quot;kind&quot;: &quot;compute#machineTypeAggregatedList&quot;, # Output only. [Output Only] Type of resource. Alwayscompute#machineTypeAggregatedList for aggregated lists of
299 # machine types.
300 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for
301 # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
302 # the query parameter pageToken in the next list request.
303 # Subsequent list requests will have their own nextPageToken to
304 # continue paging through the results.
305 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource.
306 &quot;unreachables&quot;: [ # Output only. [Output Only] Unreachable resources.
307 &quot;A String&quot;,
308 ],
309 &quot;warning&quot;: { # [Output Only] Informational warning message.
310 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
311 # Engine returns NO_RESULTS_ON_PAGE if there
312 # are no results in the response.
313 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
314 # value format. For example:
315 #
316 # &quot;data&quot;: [
317 # {
318 # &quot;key&quot;: &quot;scope&quot;,
319 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
320 # }
321 {
322 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
323 # returned. For example, for warnings where there are no results in a list
324 # request for a particular zone, this key might be scope and
325 # the key value might be the zone name. Other examples might be a key
326 # indicating a deprecated resource and a suggested replacement, or a
327 # warning about invalid network settings (for example, if an instance
328 # attempts to perform IP forwarding but is not enabled for IP forwarding).
329 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
330 },
331 ],
332 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
333 },
334 }</pre>
335 </div>
336
337 <div class="method">
338 <code class="details" id="aggregatedList_next">aggregatedList_next()</code>
339 <pre>Retrieves the next page of results.
340
341 Args:
342 previous_request: The request for the previous page. (required)
343 previous_response: The response from the request for the previous page. (required)
344
345 Returns:
346 A request object that you can call &#x27;execute()&#x27; on to request the next
347 page. Returns None if there are no more items in the collection.
348 </pre>
349 </div>
350
351 <div class="method">
352 <code class="details" id="close">close()</code>
353 <pre>Close httplib2 connections.</pre>
354 </div>
355
356 <div class="method">
357 <code class="details" id="get">get(project, zone, machineType, x__xgafv=None)</code>
358 <pre>Returns the specified machine type.
359
360 Args:
361 project: string, Project ID for this request. (required)
362 zone: string, The name of the zone for this request. (required)
363 machineType: string, Name of the machine type to return. (required)
364 x__xgafv: string, V1 error format.
365 Allowed values
366 1 - v1 error format
367 2 - v2 error format
368
369 Returns:
370 An object of the form:
371
372 { # Represents a Machine Type resource.
373 #
374 # You can use specific machine types for your VM instances based on performance
375 # and pricing requirements. For more information, readMachine Types.
376 &quot;accelerators&quot;: [ # [Output Only] A list of accelerator configurations assigned to this
377 # machine type.
378 {
379 &quot;guestAcceleratorCount&quot;: 42, # Number of accelerator cards exposed to the guest.
380 &quot;guestAcceleratorType&quot;: &quot;A String&quot;, # The accelerator type resource name, not a full URL, e.g.nvidia-tesla-t4.
381 },
382 ],
383 &quot;architecture&quot;: &quot;A String&quot;, # [Output Only] The architecture of the machine type.
384 &quot;bundledLocalSsds&quot;: { # [Output Only] The configuration of bundled local SSD for the machine type.
385 &quot;defaultInterface&quot;: &quot;A String&quot;, # The default disk interface if the interface is not specified.
386 &quot;partitionCount&quot;: 42, # The number of partitions.
387 },
388 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp inRFC3339
389 # text format.
390 &quot;deprecated&quot;: { # Deprecation status for a public resource. # [Output Only] The deprecation status associated with this machine type.
391 # Only applicable if the machine type is unavailable.
392 &quot;deleted&quot;: &quot;A String&quot;, # An optional RFC3339 timestamp on or after which the state of this
393 # resource is intended to change to DELETED. This is only
394 # informational and the status will not change unless the client explicitly
395 # changes it.
396 &quot;deprecated&quot;: &quot;A String&quot;, # An optional RFC3339 timestamp on or after which the state of this
397 # resource is intended to change to DEPRECATED. This is only
398 # informational and the status will not change unless the client explicitly
399 # changes it.
400 &quot;obsolete&quot;: &quot;A String&quot;, # An optional RFC3339 timestamp on or after which the state of this
401 # resource is intended to change to OBSOLETE. This is only
402 # informational and the status will not change unless the client explicitly
403 # changes it.
404 &quot;replacement&quot;: &quot;A String&quot;, # The URL of the suggested replacement for a deprecated resource.
405 # The suggested replacement resource must be the same kind of resource as the
406 # deprecated resource.
407 &quot;state&quot;: &quot;A String&quot;, # The deprecation state of this resource. This can be ACTIVE,DEPRECATED, OBSOLETE, or DELETED.
408 # Operations which communicate the end of life date for an image, can useACTIVE. Operations which create a new resource using aDEPRECATED resource will return successfully, but with a
409 # warning indicating the deprecated resource and recommending its
410 # replacement. Operations which use OBSOLETE orDELETED resources will be rejected and result in an error.
411 },
412 &quot;description&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the resource.
413 &quot;guestCpus&quot;: 42, # [Output Only] The number of virtual CPUs that are available to the
414 # instance.
415 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is
416 # defined by the server.
417 &quot;imageSpaceGb&quot;: 42, # [Deprecated] This property is deprecated and will never be populated with
418 # any relevant values.
419 &quot;isSharedCpu&quot;: True or False, # [Output Only] Whether this machine type has a shared CPU. SeeShared-core machine
420 # types for more information.
421 &quot;kind&quot;: &quot;compute#machineType&quot;, # Output only. [Output Only] The type of the resource. Alwayscompute#machineType for machine types.
422 &quot;maximumPersistentDisks&quot;: 42, # [Output Only] Maximum persistent disks allowed.
423 &quot;maximumPersistentDisksSizeGb&quot;: &quot;A String&quot;, # [Output Only] Maximum total persistent disks size (GB) allowed.
424 &quot;memoryMb&quot;: 42, # [Output Only] The amount of physical memory available to the instance,
425 # defined in MB.
426 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the resource.
427 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
428 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The name of the zone where the machine type resides,
429 # such as us-central1-a.
430 }</pre>
431 </div>
432
433 <div class="method">
434 <code class="details" id="list">list(project, zone, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
435 <pre>Retrieves a list of machine types available to the specified
436 project.
437
438 Args:
439 project: string, Project ID for this request. (required)
440 zone: string, The name of the zone for this request. (required)
441 filter: string, A filter expression that filters resources listed in the response. Most
442 Compute resources support two types of filter expressions:
443 expressions that support regular expressions and expressions that follow
444 API improvement proposal AIP-160.
445 These two types of filter expressions cannot be mixed in one request.
446
447 If you want to use AIP-160, your expression must specify the field name, an
448 operator, and the value that you want to use for filtering. The value
449 must be a string, a number, or a boolean. The operator
450 must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`.
451
452 For example, if you are filtering Compute Engine instances, you can
453 exclude instances named `example-instance` by specifying
454 `name != example-instance`.
455
456 The `:*` comparison can be used to test whether a key has been defined.
457 For example, to find all objects with `owner` label use:
458 ```
459 labels.owner:*
460 ```
461
462 You can also filter nested fields. For example, you could specify
463 `scheduling.automaticRestart = false` to include instances only
464 if they are not scheduled for automatic restarts. You can use filtering
465 on nested fields to filter based onresource labels.
466
467 To filter on multiple expressions, provide each separate expression within
468 parentheses. For example:
469 ```
470 (scheduling.automaticRestart = true)
471 (cpuPlatform = &quot;Intel Skylake&quot;)
472 ```
473 By default, each expression is an `AND` expression. However, you
474 can include `AND` and `OR` expressions explicitly.
475 For example:
476 ```
477 (cpuPlatform = &quot;Intel Skylake&quot;) OR
478 (cpuPlatform = &quot;Intel Broadwell&quot;) AND
479 (scheduling.automaticRestart = true)
480 ```
481
482 If you want to use a regular expression, use the `eq` (equal) or `ne`
483 (not equal) operator against a single un-parenthesized expression with or
484 without quotes or against multiple parenthesized expressions. Examples:
485
486 `fieldname eq unquoted literal`
487 `fieldname eq &#x27;single quoted literal&#x27;`
488 `fieldname eq &quot;double quoted literal&quot;`
489 `(fieldname1 eq literal) (fieldname2 ne &quot;literal&quot;)`
490
491 The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
492 The literal value must match the entire field.
493
494 For example, to filter for instances that do not end with name &quot;instance&quot;,
495 you would use `name ne .*instance`.
496
497 You cannot combine constraints on multiple fields using regular
498 expressions.
499 maxResults: integer, The maximum number of results per page that should be returned.
500 If the number of available results is larger than `maxResults`,
501 Compute Engine returns a `nextPageToken` that can be used to get
502 the next page of results in subsequent list requests. Acceptable values are
503 `0` to `500`, inclusive. (Default: `500`)
504 orderBy: string, Sorts list results by a certain order. By default, results
505 are returned in alphanumerical order based on the resource name.
506
507 You can also sort results in descending order based on the creation
508 timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts
509 results based on the `creationTimestamp` field in
510 reverse chronological order (newest result first). Use this to sort
511 resources like operations so that the newest operation is returned first.
512
513 Currently, only sorting by `name` or
514 `creationTimestamp desc` is supported.
515 pageToken: string, Specifies a page token to use. Set `pageToken` to the
516 `nextPageToken` returned by a previous list request to get
517 the next page of results.
518 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case
519 of failure. The default value is false.
520
521 For example, when partial success behavior is enabled, aggregatedList for a
522 single zone scope either returns all resources in the zone or no resources,
523 with an error code.
524 x__xgafv: string, V1 error format.
525 Allowed values
526 1 - v1 error format
527 2 - v2 error format
528
529 Returns:
530 An object of the form:
531
532 { # Contains a list of machine types.
533 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
534 &quot;items&quot;: [ # A list of MachineType resources.
535 { # Represents a Machine Type resource.
536 #
537 # You can use specific machine types for your VM instances based on performance
538 # and pricing requirements. For more information, readMachine Types.
539 &quot;accelerators&quot;: [ # [Output Only] A list of accelerator configurations assigned to this
540 # machine type.
541 {
542 &quot;guestAcceleratorCount&quot;: 42, # Number of accelerator cards exposed to the guest.
543 &quot;guestAcceleratorType&quot;: &quot;A String&quot;, # The accelerator type resource name, not a full URL, e.g.nvidia-tesla-t4.
544 },
545 ],
546 &quot;architecture&quot;: &quot;A String&quot;, # [Output Only] The architecture of the machine type.
547 &quot;bundledLocalSsds&quot;: { # [Output Only] The configuration of bundled local SSD for the machine type.
548 &quot;defaultInterface&quot;: &quot;A String&quot;, # The default disk interface if the interface is not specified.
549 &quot;partitionCount&quot;: 42, # The number of partitions.
550 },
551 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp inRFC3339
552 # text format.
553 &quot;deprecated&quot;: { # Deprecation status for a public resource. # [Output Only] The deprecation status associated with this machine type.
554 # Only applicable if the machine type is unavailable.
555 &quot;deleted&quot;: &quot;A String&quot;, # An optional RFC3339 timestamp on or after which the state of this
556 # resource is intended to change to DELETED. This is only
557 # informational and the status will not change unless the client explicitly
558 # changes it.
559 &quot;deprecated&quot;: &quot;A String&quot;, # An optional RFC3339 timestamp on or after which the state of this
560 # resource is intended to change to DEPRECATED. This is only
561 # informational and the status will not change unless the client explicitly
562 # changes it.
563 &quot;obsolete&quot;: &quot;A String&quot;, # An optional RFC3339 timestamp on or after which the state of this
564 # resource is intended to change to OBSOLETE. This is only
565 # informational and the status will not change unless the client explicitly
566 # changes it.
567 &quot;replacement&quot;: &quot;A String&quot;, # The URL of the suggested replacement for a deprecated resource.
568 # The suggested replacement resource must be the same kind of resource as the
569 # deprecated resource.
570 &quot;state&quot;: &quot;A String&quot;, # The deprecation state of this resource. This can be ACTIVE,DEPRECATED, OBSOLETE, or DELETED.
571 # Operations which communicate the end of life date for an image, can useACTIVE. Operations which create a new resource using aDEPRECATED resource will return successfully, but with a
572 # warning indicating the deprecated resource and recommending its
573 # replacement. Operations which use OBSOLETE orDELETED resources will be rejected and result in an error.
574 },
575 &quot;description&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the resource.
576 &quot;guestCpus&quot;: 42, # [Output Only] The number of virtual CPUs that are available to the
577 # instance.
578 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is
579 # defined by the server.
580 &quot;imageSpaceGb&quot;: 42, # [Deprecated] This property is deprecated and will never be populated with
581 # any relevant values.
582 &quot;isSharedCpu&quot;: True or False, # [Output Only] Whether this machine type has a shared CPU. SeeShared-core machine
583 # types for more information.
584 &quot;kind&quot;: &quot;compute#machineType&quot;, # Output only. [Output Only] The type of the resource. Alwayscompute#machineType for machine types.
585 &quot;maximumPersistentDisks&quot;: 42, # [Output Only] Maximum persistent disks allowed.
586 &quot;maximumPersistentDisksSizeGb&quot;: &quot;A String&quot;, # [Output Only] Maximum total persistent disks size (GB) allowed.
587 &quot;memoryMb&quot;: 42, # [Output Only] The amount of physical memory available to the instance,
588 # defined in MB.
589 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the resource.
590 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
591 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The name of the zone where the machine type resides,
592 # such as us-central1-a.
593 },
594 ],
595 &quot;kind&quot;: &quot;compute#machineTypeList&quot;, # Output only. [Output Only] Type of resource. Always compute#machineTypeList
596 # for lists of machine types.
597 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for
598 # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
599 # the query parameter pageToken in the next list request.
600 # Subsequent list requests will have their own nextPageToken to
601 # continue paging through the results.
602 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource.
603 &quot;warning&quot;: { # [Output Only] Informational warning message.
604 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
605 # Engine returns NO_RESULTS_ON_PAGE if there
606 # are no results in the response.
607 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
608 # value format. For example:
609 #
610 # &quot;data&quot;: [
611 # {
612 # &quot;key&quot;: &quot;scope&quot;,
613 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
614 # }
615 {
616 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
617 # returned. For example, for warnings where there are no results in a list
618 # request for a particular zone, this key might be scope and
619 # the key value might be the zone name. Other examples might be a key
620 # indicating a deprecated resource and a suggested replacement, or a
621 # warning about invalid network settings (for example, if an instance
622 # attempts to perform IP forwarding but is not enabled for IP forwarding).
623 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
624 },
625 ],
626 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
627 },
628 }</pre>
629 </div>
630
631 <div class="method">
632 <code class="details" id="list_next">list_next()</code>
633 <pre>Retrieves the next page of results.
634
635 Args:
636 previous_request: The request for the previous page. (required)
637 previous_response: The response from the request for the previous page. (required)
638
639 Returns:
640 A request object that you can call &#x27;execute()&#x27; on to request the next
641 page. Returns None if there are no more items in the collection.
642 </pre>
643 </div>
644
645 </body></html>