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