Debian Codegraph @

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