Class ResourceManager.ProjectGetOption (1.25.0)

public static class ResourceManager.ProjectGetOption extends Option

Class for specifying project get options.

Inheritance

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

Static Methods

fields(ResourceManager.ProjectField[] fields)

public static ResourceManager.ProjectGetOption fields(ResourceManager.ProjectField[] fields)

Returns an option to specify the project's fields to be returned by the RPC call.

If this option is not provided all project fields are returned. ProjectGetOption.fields can be used to specify only the fields of interest. Project ID is always returned, even if not specified. ProjectField provides a list of fields that can be used.

Parameter
NameDescription
fieldsProjectField[]
Returns
TypeDescription
ResourceManager.ProjectGetOption