Class Dns.ZoneOption (2.34.0)

public static class Dns.ZoneOption extends Option

Class for specifying zone field options.

Inheritance

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

Static Methods

fields(Dns.ZoneField[] fields)

public static Dns.ZoneOption fields(Dns.ZoneField[] fields)

Returns an option to specify the zones's fields to be returned by the RPC call.

If this option is not provided all zone fields are returned. ZoneOption.fields can be used to specify only the fields of interest. Zone ID is always returned, even if not specified. ZoneField provides a list of fields that can be used.

Parameter
NameDescription
fieldsZoneField[]
Returns
TypeDescription
Dns.ZoneOption