public static class Compute.DiskOption extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static Compute.DiskOption |
fields(Compute.DiskField... fields)
Returns an option to specify the disk's fields to be returned by the RPC call.
|
int |
hashCode() |
String |
toString() |
public static Compute.DiskOption fields(Compute.DiskField... fields)
DiskOption.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.