public static class Compute.SnapshotListOption extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static Compute.SnapshotListOption |
fields(Compute.SnapshotField... fields)
Returns an option to specify the snapshot's fields to be returned by the RPC call.
|
static Compute.SnapshotListOption |
filter(Compute.SnapshotFilter filter)
Returns an option to specify a filter on the snapshots being listed.
|
int |
hashCode() |
static Compute.SnapshotListOption |
pageSize(long pageSize)
Returns an option to specify the maximum number of snapshots returned per page.
|
static Compute.SnapshotListOption |
pageToken(String pageToken)
Returns an option to specify the page token from which to start listing snapshots.
|
String |
toString() |
public static Compute.SnapshotListOption filter(Compute.SnapshotFilter filter)
public static Compute.SnapshotListOption pageSize(long pageSize)
pageSize
must be between 0 and 500 (inclusive). If not specified 500 is used.public static Compute.SnapshotListOption pageToken(String pageToken)
public static Compute.SnapshotListOption fields(Compute.SnapshotField... fields)
SnapshotListOption.fields
can be used to specify only the fields of interest. SnapshotInfo.getSnapshotId()
is always returned, even if not specified.Copyright © 2019 Google LLC. All rights reserved.