Class ResourceManager.ListOption (1.37.0)

public static class ResourceManager.ListOption extends Option

Class for specifying project list options.

Inheritance

Object > com.google.cloud.resourcemanager.Option > ResourceManager.ListOption

Static Methods

pageSize(int pageSize)

public static ResourceManager.ListOption pageSize(int pageSize)

The maximum number of records to return per RPC.

The server can return fewer records than requested. When there are more results than the page size, the server will return a page token that can be used to fetch other results.

Parameter
NameDescription
pageSizeint
Returns
TypeDescription
ResourceManager.ListOption

pageToken(String pageToken)

public static ResourceManager.ListOption pageToken(String pageToken)

Returns an option to specify a page token.

The page token (returned from a previous call to list) indicates from where listing should continue.

Parameter
NameDescription
pageTokenString
Returns
TypeDescription
ResourceManager.ListOption