Package com.google.cloud.dns
Class Dns.ProjectOption
- java.lang.Object
-
- com.google.cloud.dns.Dns.ProjectOption
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- Dns
public static class Dns.ProjectOption extends Object
Class for specifying project options.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static Dns.ProjectOption
fields(Dns.ProjectField... fields)
Returns an option to specify the project's fields to be returned by the RPC call.int
hashCode()
String
toString()
-
-
-
Method Detail
-
fields
public static Dns.ProjectOption fields(Dns.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.
ProjectOption.fields
can be used to specify only the fields of interest. Project ID is always returned, even if not specified.Dns.ProjectField
provides a list of fields that can be used.
-
-