public static class ResourceManager.ProjectListOption extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Deprecated.
|
static ResourceManager.ProjectListOption |
fields(ResourceManager.ProjectField... fields)
Returns an option to specify the project's fields to be returned by the RPC call.
|
static ResourceManager.ProjectListOption |
filter(String filter)
Returns an option to specify a filter.
|
int |
hashCode()
Deprecated.
|
static ResourceManager.ProjectListOption |
pageSize(int pageSize)
The maximum number of projects to return per RPC.
|
static ResourceManager.ProjectListOption |
pageToken(String pageToken)
Returns an option to specify a page token.
|
String |
toString()
Deprecated.
|
public static ResourceManager.ProjectListOption filter(String filter)
Filter rules are case insensitive. The fields eligible for filtering are:
You can specify multiple filters by adding a space between each filter. Multiple filters are composed using "and".
Some examples of filters:
public static ResourceManager.ProjectListOption pageToken(String pageToken)
The page token (returned from a previous call to list) indicates from where listing should continue.
public static ResourceManager.ProjectListOption pageSize(int pageSize)
The server can return fewer projects 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.
public static ResourceManager.ProjectListOption fields(ResourceManager.ProjectField... fields)
If this option is not provided all project fields are returned. ProjectListOption.fields
can be used to specify only the fields of interest. Project ID is
always returned, even if not specified. ResourceManager.ProjectField
provides a list of fields that
can be used.
Copyright © 2022 Google LLC. All rights reserved.