Class Dns.ZoneOption (2.18.0)

publicstaticclass Dns.ZoneOptionextendsOption

Class for specifying zone field options.

Inheritance

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

Inherited Members

com.google.cloud.dns.Option.equals(java.lang.Object)
com.google.cloud.dns.Option.hashCode()
com.google.cloud.dns.Option.toString()

Static Methods

fields(Dns.ZoneField[] fields)

publicstaticDns.ZoneOptionfields(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
Name Description
fields ZoneField[]
Returns
Type Description
Dns.ZoneOption

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.