public static enum Dns.ProjectField extends Enum<Dns.ProjectField> implements com.google.cloud.FieldSelector
These values can be used to specify the fields to include in a partial response when calling
Dns.getProject(ProjectOption...)
. Project ID is always returned, even if not specified.
Enum Constant and Description |
---|
PROJECT_ID |
PROJECT_NUMBER |
QUOTA |
Modifier and Type | Method and Description |
---|---|
String |
getSelector() |
static Dns.ProjectField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dns.ProjectField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dns.ProjectField PROJECT_ID
public static final Dns.ProjectField PROJECT_NUMBER
public static final Dns.ProjectField QUOTA
public static Dns.ProjectField[] values()
for (Dns.ProjectField c : Dns.ProjectField.values()) System.out.println(c);
public static Dns.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.FieldSelector
Copyright © 2019 Google LLC. All rights reserved.