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 booleanequals(Object obj)static Dns.ProjectOptionfields(Dns.ProjectField... fields)Returns an option to specify the project's fields to be returned by the RPC call.inthashCode()StringtoString()
-
-
-
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.fieldscan be used to specify only the fields of interest. Project ID is always returned, even if not specified.Dns.ProjectFieldprovides a list of fields that can be used.
-
-