public static class Compute.DiskListOption extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static Compute.DiskListOption |
fields(Compute.DiskField... fields)
Returns an option to specify the disk's fields to be returned by the RPC call.
|
static Compute.DiskListOption |
filter(Compute.DiskFilter filter)
Returns an option to specify a filter on the disks being listed.
|
int |
hashCode() |
static Compute.DiskListOption |
pageSize(long pageSize)
Returns an option to specify the maximum number of disks returned per page.
|
static Compute.DiskListOption |
pageToken(String pageToken)
Returns an option to specify the page token from which to start listing disks.
|
String |
toString() |
public static Compute.DiskListOption filter(Compute.DiskFilter filter)
public static Compute.DiskListOption pageSize(long pageSize)
pageSize
must be between 0 and 500 (inclusive). If not specified 500 is used.public static Compute.DiskListOption pageToken(String pageToken)
public static Compute.DiskListOption fields(Compute.DiskField... fields)
DiskListOption.fields
can be used to
specify only the fields of interest. DiskInfo.getDiskId()
, DiskConfiguration.getDiskType()
and either SnapshotDiskConfiguration.getSourceSnapshot()
or ImageDiskConfiguration.getSourceImage()
are always returned, even if not specified.Copyright © 2019 Google LLC. All rights reserved.