public static enum ResourceManager.ProjectField extends Enum<ResourceManager.ProjectField> implements com.google.cloud.FieldSelector
These values can be used to specify the fields to include in a partial response when calling
ResourceManager.get(java.lang.String, com.google.cloud.resourcemanager.ResourceManager.ProjectGetOption...) or ResourceManager.list(com.google.cloud.resourcemanager.ResourceManager.ProjectListOption...). Project ID is always returned,
even if not specified.
| Enum Constant and Description |
|---|
CREATE_TIME |
LABELS |
NAME |
PROJECT_ID |
PROJECT_NUMBER |
STATE |
| Modifier and Type | Method and Description |
|---|---|
String |
getSelector() |
static ResourceManager.ProjectField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceManager.ProjectField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceManager.ProjectField PROJECT_ID
public static final ResourceManager.ProjectField NAME
public static final ResourceManager.ProjectField LABELS
public static final ResourceManager.ProjectField PROJECT_NUMBER
public static final ResourceManager.ProjectField STATE
public static final ResourceManager.ProjectField CREATE_TIME
public static ResourceManager.ProjectField[] values()
for (ResourceManager.ProjectField c : ResourceManager.ProjectField.values()) System.out.println(c);
public static ResourceManager.ProjectField valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getSelector()
getSelector in interface com.google.cloud.FieldSelectorCopyright © 2019 Google LLC. All rights reserved.