Class ResourceManager.ListOption (1.57.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
Name Description
pageSize int
Returns
Type Description
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
Name Description
pageToken String
Returns
Type Description
ResourceManager.ListOption