Class Dns.ProjectOption (2.21.0)

public static class Dns.ProjectOption extends Option

Class for specifying project options.

Inheritance

Object > com.google.cloud.dns.Option > Dns.ProjectOption

Static Methods

fields(Dns.ProjectField[] 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. ProjectField provides a list of fields that can be used.

Parameter
NameDescription
fieldsProjectField[]
Returns
TypeDescription
Dns.ProjectOption