Debian Codegraph @

docs/dyn/compute_alpha.nodeTypes.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.nodeTypes.html">nodeTypes</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 node 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, nodeType, x__xgafv=None)</a></code></p>
88 <p class="firstline">Returns the specified node 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 node 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 node 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 NodeTypesScopedList resources.
208 &quot;a_key&quot;: { # [Output Only] Name of the scope containing this set of node types.
209 &quot;nodeTypes&quot;: [ # [Output Only] A list of node types contained in this scope.
210 { # Represent a sole-tenant Node Type resource.
211 #
212 # Each node within a node group must have a node type. A node type specifies
213 # the total amount of cores and memory for that node. Currently, the only
214 # available node type is n1-node-96-624 node type that has 96
215 # vCPUs and 624 GB of memory, available in multiple zones. For more information
216 # readNode types.
217 &quot;cpuPlatform&quot;: &quot;A String&quot;, # [Output Only] The CPU platform used by this node type.
218 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp inRFC3339
219 # text format.
220 &quot;deprecated&quot;: { # Deprecation status for a public resource. # [Output Only] The deprecation status associated with this node type.
221 &quot;deleted&quot;: &quot;A String&quot;, # An optional RFC3339 timestamp on or after which the state of this
222 # resource is intended to change to DELETED. This is only
223 # informational and the status will not change unless the client explicitly
224 # changes it.
225 &quot;deprecated&quot;: &quot;A String&quot;, # An optional RFC3339 timestamp on or after which the state of this
226 # resource is intended to change to DEPRECATED. This is only
227 # informational and the status will not change unless the client explicitly
228 # changes it.
229 &quot;obsolete&quot;: &quot;A String&quot;, # An optional RFC3339 timestamp on or after which the state of this
230 # resource is intended to change to OBSOLETE. This is only
231 # informational and the status will not change unless the client explicitly
232 # changes it.
233 &quot;replacement&quot;: &quot;A String&quot;, # The URL of the suggested replacement for a deprecated resource.
234 # The suggested replacement resource must be the same kind of resource as the
235 # deprecated resource.
236 &quot;state&quot;: &quot;A String&quot;, # The deprecation state of this resource. This can be ACTIVE,DEPRECATED, OBSOLETE, or DELETED.
237 # 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
238 # warning indicating the deprecated resource and recommending its
239 # replacement. Operations which use OBSOLETE orDELETED resources will be rejected and result in an error.
240 &quot;stateOverride&quot;: { # A rollout policy configuration. # The rollout policy for this deprecation. This policy is only enforced by
241 # image family views. The rollout policy restricts the zones where the
242 # associated resource is considered in a deprecated state. When the rollout
243 # policy does not include the user specified zone, or if the zone is rolled
244 # out, the associated resource is considered in a deprecated state.
245 #
246 # The rollout policy for this deprecation is read-only, except for
247 # allowlisted users. This field might not be configured. To view the latest
248 # non-deprecated image in a specific zone, use theimageFamilyViews.get method.
249 &quot;defaultRolloutTime&quot;: &quot;A String&quot;, # An optional RFC3339 timestamp on or after which the update is
250 # considered rolled out to any zone that is not explicitly stated.
251 &quot;locationRolloutPolicies&quot;: { # Location based rollout policies to apply to the resource.
252 #
253 # Currently only zone names are supported and must be represented
254 # as valid URLs, like: zones/us-central1-a.
255 #
256 # The value expects an RFC3339 timestamp on or after which the update is
257 # considered rolled out to the specified location.
258 &quot;a_key&quot;: &quot;A String&quot;,
259 },
260 },
261 },
262 &quot;description&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the resource.
263 &quot;guestCpus&quot;: 42, # [Output Only] The number of virtual CPUs that are available to the node
264 # type.
265 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is
266 # defined by the server.
267 &quot;kind&quot;: &quot;compute#nodeType&quot;, # Output only. [Output Only] The type of the resource. Alwayscompute#nodeType for node types.
268 &quot;localSsdGb&quot;: 42, # [Output Only] Local SSD available to the node type, defined in GB.
269 &quot;maxVms&quot;: 42, # Output only. [Output Only] Maximum number of VMs that can be created for this node type.
270 &quot;memoryMb&quot;: 42, # [Output Only] The amount of physical memory available to the node type,
271 # defined in MB.
272 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the resource.
273 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
274 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
275 &quot;zone&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the zone where the node type resides,
276 # such as us-central1-a.
277 },
278 ],
279 &quot;warning&quot;: { # [Output Only] An informational warning that appears when the node types
280 # list is empty.
281 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
282 # Engine returns NO_RESULTS_ON_PAGE if there
283 # are no results in the response.
284 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
285 # value format. For example:
286 #
287 # &quot;data&quot;: [
288 # {
289 # &quot;key&quot;: &quot;scope&quot;,
290 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
291 # }
292 {
293 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
294 # returned. For example, for warnings where there are no results in a list
295 # request for a particular zone, this key might be scope and
296 # the key value might be the zone name. Other examples might be a key
297 # indicating a deprecated resource and a suggested replacement, or a
298 # warning about invalid network settings (for example, if an instance
299 # attempts to perform IP forwarding but is not enabled for IP forwarding).
300 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
301 },
302 ],
303 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
304 },
305 },
306 },
307 &quot;kind&quot;: &quot;compute#nodeTypeAggregatedList&quot;, # Output only. [Output Only] Type of resource.Alwayscompute#nodeTypeAggregatedList for aggregated lists of node
308 # types.
309 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for
310 # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
311 # the query parameter pageToken in the next list request.
312 # Subsequent list requests will have their own nextPageToken to
313 # continue paging through the results.
314 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource.
315 &quot;unreachables&quot;: [ # Output only. [Output Only] Unreachable resources.
316 &quot;A String&quot;,
317 ],
318 &quot;warning&quot;: { # [Output Only] Informational warning message.
319 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
320 # Engine returns NO_RESULTS_ON_PAGE if there
321 # are no results in the response.
322 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
323 # value format. For example:
324 #
325 # &quot;data&quot;: [
326 # {
327 # &quot;key&quot;: &quot;scope&quot;,
328 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
329 # }
330 {
331 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
332 # returned. For example, for warnings where there are no results in a list
333 # request for a particular zone, this key might be scope and
334 # the key value might be the zone name. Other examples might be a key
335 # indicating a deprecated resource and a suggested replacement, or a
336 # warning about invalid network settings (for example, if an instance
337 # attempts to perform IP forwarding but is not enabled for IP forwarding).
338 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
339 },
340 ],
341 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
342 },
343 }</pre>
344 </div>
345
346 <div class="method">
347 <code class="details" id="aggregatedList_next">aggregatedList_next()</code>
348 <pre>Retrieves the next page of results.
349
350 Args:
351 previous_request: The request for the previous page. (required)
352 previous_response: The response from the request for the previous page. (required)
353
354 Returns:
355 A request object that you can call &#x27;execute()&#x27; on to request the next
356 page. Returns None if there are no more items in the collection.
357 </pre>
358 </div>
359
360 <div class="method">
361 <code class="details" id="close">close()</code>
362 <pre>Close httplib2 connections.</pre>
363 </div>
364
365 <div class="method">
366 <code class="details" id="get">get(project, zone, nodeType, x__xgafv=None)</code>
367 <pre>Returns the specified node type.
368
369 Args:
370 project: string, Project ID for this request. (required)
371 zone: string, The name of the zone for this request. (required)
372 nodeType: string, Name of the node type to return. (required)
373 x__xgafv: string, V1 error format.
374 Allowed values
375 1 - v1 error format
376 2 - v2 error format
377
378 Returns:
379 An object of the form:
380
381 { # Represent a sole-tenant Node Type resource.
382 #
383 # Each node within a node group must have a node type. A node type specifies
384 # the total amount of cores and memory for that node. Currently, the only
385 # available node type is n1-node-96-624 node type that has 96
386 # vCPUs and 624 GB of memory, available in multiple zones. For more information
387 # readNode types.
388 &quot;cpuPlatform&quot;: &quot;A String&quot;, # [Output Only] The CPU platform used by this node type.
389 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp inRFC3339
390 # text format.
391 &quot;deprecated&quot;: { # Deprecation status for a public resource. # [Output Only] The deprecation status associated with this node type.
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 &quot;stateOverride&quot;: { # A rollout policy configuration. # The rollout policy for this deprecation. This policy is only enforced by
412 # image family views. The rollout policy restricts the zones where the
413 # associated resource is considered in a deprecated state. When the rollout
414 # policy does not include the user specified zone, or if the zone is rolled
415 # out, the associated resource is considered in a deprecated state.
416 #
417 # The rollout policy for this deprecation is read-only, except for
418 # allowlisted users. This field might not be configured. To view the latest
419 # non-deprecated image in a specific zone, use theimageFamilyViews.get method.
420 &quot;defaultRolloutTime&quot;: &quot;A String&quot;, # An optional RFC3339 timestamp on or after which the update is
421 # considered rolled out to any zone that is not explicitly stated.
422 &quot;locationRolloutPolicies&quot;: { # Location based rollout policies to apply to the resource.
423 #
424 # Currently only zone names are supported and must be represented
425 # as valid URLs, like: zones/us-central1-a.
426 #
427 # The value expects an RFC3339 timestamp on or after which the update is
428 # considered rolled out to the specified location.
429 &quot;a_key&quot;: &quot;A String&quot;,
430 },
431 },
432 },
433 &quot;description&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the resource.
434 &quot;guestCpus&quot;: 42, # [Output Only] The number of virtual CPUs that are available to the node
435 # type.
436 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is
437 # defined by the server.
438 &quot;kind&quot;: &quot;compute#nodeType&quot;, # Output only. [Output Only] The type of the resource. Alwayscompute#nodeType for node types.
439 &quot;localSsdGb&quot;: 42, # [Output Only] Local SSD available to the node type, defined in GB.
440 &quot;maxVms&quot;: 42, # Output only. [Output Only] Maximum number of VMs that can be created for this node type.
441 &quot;memoryMb&quot;: 42, # [Output Only] The amount of physical memory available to the node type,
442 # defined in MB.
443 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the resource.
444 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
445 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
446 &quot;zone&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the zone where the node type resides,
447 # such as us-central1-a.
448 }</pre>
449 </div>
450
451 <div class="method">
452 <code class="details" id="list">list(project, zone, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
453 <pre>Retrieves a list of node types available to the specified
454 project.
455
456 Args:
457 project: string, Project ID for this request. (required)
458 zone: string, The name of the zone for this request. (required)
459 filter: string, A filter expression that filters resources listed in the response. Most
460 Compute resources support two types of filter expressions:
461 expressions that support regular expressions and expressions that follow
462 API improvement proposal AIP-160.
463 These two types of filter expressions cannot be mixed in one request.
464
465 If you want to use AIP-160, your expression must specify the field name, an
466 operator, and the value that you want to use for filtering. The value
467 must be a string, a number, or a boolean. The operator
468 must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`.
469
470 For example, if you are filtering Compute Engine instances, you can
471 exclude instances named `example-instance` by specifying
472 `name != example-instance`.
473
474 The `:*` comparison can be used to test whether a key has been defined.
475 For example, to find all objects with `owner` label use:
476 ```
477 labels.owner:*
478 ```
479
480 You can also filter nested fields. For example, you could specify
481 `scheduling.automaticRestart = false` to include instances only
482 if they are not scheduled for automatic restarts. You can use filtering
483 on nested fields to filter based onresource labels.
484
485 To filter on multiple expressions, provide each separate expression within
486 parentheses. For example:
487 ```
488 (scheduling.automaticRestart = true)
489 (cpuPlatform = &quot;Intel Skylake&quot;)
490 ```
491 By default, each expression is an `AND` expression. However, you
492 can include `AND` and `OR` expressions explicitly.
493 For example:
494 ```
495 (cpuPlatform = &quot;Intel Skylake&quot;) OR
496 (cpuPlatform = &quot;Intel Broadwell&quot;) AND
497 (scheduling.automaticRestart = true)
498 ```
499
500 If you want to use a regular expression, use the `eq` (equal) or `ne`
501 (not equal) operator against a single un-parenthesized expression with or
502 without quotes or against multiple parenthesized expressions. Examples:
503
504 `fieldname eq unquoted literal`
505 `fieldname eq &#x27;single quoted literal&#x27;`
506 `fieldname eq &quot;double quoted literal&quot;`
507 `(fieldname1 eq literal) (fieldname2 ne &quot;literal&quot;)`
508
509 The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
510 The literal value must match the entire field.
511
512 For example, to filter for instances that do not end with name &quot;instance&quot;,
513 you would use `name ne .*instance`.
514
515 You cannot combine constraints on multiple fields using regular
516 expressions.
517 maxResults: integer, The maximum number of results per page that should be returned.
518 If the number of available results is larger than `maxResults`,
519 Compute Engine returns a `nextPageToken` that can be used to get
520 the next page of results in subsequent list requests. Acceptable values are
521 `0` to `500`, inclusive. (Default: `500`)
522 orderBy: string, Sorts list results by a certain order. By default, results
523 are returned in alphanumerical order based on the resource name.
524
525 You can also sort results in descending order based on the creation
526 timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts
527 results based on the `creationTimestamp` field in
528 reverse chronological order (newest result first). Use this to sort
529 resources like operations so that the newest operation is returned first.
530
531 Currently, only sorting by `name` or
532 `creationTimestamp desc` is supported.
533 pageToken: string, Specifies a page token to use. Set `pageToken` to the
534 `nextPageToken` returned by a previous list request to get
535 the next page of results.
536 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case
537 of failure. The default value is false.
538
539 For example, when partial success behavior is enabled, aggregatedList for a
540 single zone scope either returns all resources in the zone or no resources,
541 with an error code.
542 x__xgafv: string, V1 error format.
543 Allowed values
544 1 - v1 error format
545 2 - v2 error format
546
547 Returns:
548 An object of the form:
549
550 { # Contains a list of node types.
551 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
552 &quot;items&quot;: [ # A list of NodeType resources.
553 { # Represent a sole-tenant Node Type resource.
554 #
555 # Each node within a node group must have a node type. A node type specifies
556 # the total amount of cores and memory for that node. Currently, the only
557 # available node type is n1-node-96-624 node type that has 96
558 # vCPUs and 624 GB of memory, available in multiple zones. For more information
559 # readNode types.
560 &quot;cpuPlatform&quot;: &quot;A String&quot;, # [Output Only] The CPU platform used by this node type.
561 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] Creation timestamp inRFC3339
562 # text format.
563 &quot;deprecated&quot;: { # Deprecation status for a public resource. # [Output Only] The deprecation status associated with this node type.
564 &quot;deleted&quot;: &quot;A String&quot;, # An optional RFC3339 timestamp on or after which the state of this
565 # resource is intended to change to DELETED. This is only
566 # informational and the status will not change unless the client explicitly
567 # changes it.
568 &quot;deprecated&quot;: &quot;A String&quot;, # An optional RFC3339 timestamp on or after which the state of this
569 # resource is intended to change to DEPRECATED. This is only
570 # informational and the status will not change unless the client explicitly
571 # changes it.
572 &quot;obsolete&quot;: &quot;A String&quot;, # An optional RFC3339 timestamp on or after which the state of this
573 # resource is intended to change to OBSOLETE. This is only
574 # informational and the status will not change unless the client explicitly
575 # changes it.
576 &quot;replacement&quot;: &quot;A String&quot;, # The URL of the suggested replacement for a deprecated resource.
577 # The suggested replacement resource must be the same kind of resource as the
578 # deprecated resource.
579 &quot;state&quot;: &quot;A String&quot;, # The deprecation state of this resource. This can be ACTIVE,DEPRECATED, OBSOLETE, or DELETED.
580 # 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
581 # warning indicating the deprecated resource and recommending its
582 # replacement. Operations which use OBSOLETE orDELETED resources will be rejected and result in an error.
583 &quot;stateOverride&quot;: { # A rollout policy configuration. # The rollout policy for this deprecation. This policy is only enforced by
584 # image family views. The rollout policy restricts the zones where the
585 # associated resource is considered in a deprecated state. When the rollout
586 # policy does not include the user specified zone, or if the zone is rolled
587 # out, the associated resource is considered in a deprecated state.
588 #
589 # The rollout policy for this deprecation is read-only, except for
590 # allowlisted users. This field might not be configured. To view the latest
591 # non-deprecated image in a specific zone, use theimageFamilyViews.get method.
592 &quot;defaultRolloutTime&quot;: &quot;A String&quot;, # An optional RFC3339 timestamp on or after which the update is
593 # considered rolled out to any zone that is not explicitly stated.
594 &quot;locationRolloutPolicies&quot;: { # Location based rollout policies to apply to the resource.
595 #
596 # Currently only zone names are supported and must be represented
597 # as valid URLs, like: zones/us-central1-a.
598 #
599 # The value expects an RFC3339 timestamp on or after which the update is
600 # considered rolled out to the specified location.
601 &quot;a_key&quot;: &quot;A String&quot;,
602 },
603 },
604 },
605 &quot;description&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the resource.
606 &quot;guestCpus&quot;: 42, # [Output Only] The number of virtual CPUs that are available to the node
607 # type.
608 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is
609 # defined by the server.
610 &quot;kind&quot;: &quot;compute#nodeType&quot;, # Output only. [Output Only] The type of the resource. Alwayscompute#nodeType for node types.
611 &quot;localSsdGb&quot;: 42, # [Output Only] Local SSD available to the node type, defined in GB.
612 &quot;maxVms&quot;: 42, # Output only. [Output Only] Maximum number of VMs that can be created for this node type.
613 &quot;memoryMb&quot;: 42, # [Output Only] The amount of physical memory available to the node type,
614 # defined in MB.
615 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the resource.
616 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
617 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource with the resource id.
618 &quot;zone&quot;: &quot;A String&quot;, # Output only. [Output Only] The name of the zone where the node type resides,
619 # such as us-central1-a.
620 },
621 ],
622 &quot;kind&quot;: &quot;compute#nodeTypeList&quot;, # Output only. [Output Only] Type of resource.Always compute#nodeTypeList for
623 # lists of node types.
624 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for
625 # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
626 # the query parameter pageToken in the next list request.
627 # Subsequent list requests will have their own nextPageToken to
628 # continue paging through the results.
629 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource.
630 &quot;warning&quot;: { # [Output Only] Informational warning message.
631 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
632 # Engine returns NO_RESULTS_ON_PAGE if there
633 # are no results in the response.
634 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
635 # value format. For example:
636 #
637 # &quot;data&quot;: [
638 # {
639 # &quot;key&quot;: &quot;scope&quot;,
640 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
641 # }
642 {
643 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
644 # returned. For example, for warnings where there are no results in a list
645 # request for a particular zone, this key might be scope and
646 # the key value might be the zone name. Other examples might be a key
647 # indicating a deprecated resource and a suggested replacement, or a
648 # warning about invalid network settings (for example, if an instance
649 # attempts to perform IP forwarding but is not enabled for IP forwarding).
650 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
651 },
652 ],
653 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
654 },
655 }</pre>
656 </div>
657
658 <div class="method">
659 <code class="details" id="list_next">list_next()</code>
660 <pre>Retrieves the next page of results.
661
662 Args:
663 previous_request: The request for the previous page. (required)
664 previous_response: The response from the request for the previous page. (required)
665
666 Returns:
667 A request object that you can call &#x27;execute()&#x27; on to request the next
668 page. Returns None if there are no more items in the collection.
669 </pre>
670 </div>
671
672 </body></html>