Google Cloud Domains V1beta1 Client - Class CustomDns (0.3.1)

Reference documentation and code samples for the Google Cloud Domains V1beta1 Client class CustomDns.

Configuration for an arbitrary DNS provider.

Generated from protobuf message google.cloud.domains.v1beta1.DnsSettings.CustomDns

Namespace

Google \ Cloud \ Domains \ V1beta1 \ DnsSettings

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name_servers array

Required. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format.

↳ ds_records array<Google\Cloud\Domains\V1beta1\DnsSettings\DsRecord>

The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.

getNameServers

Required. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNameServers

Required. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getDsRecords

The list of DS records for this domain, which are used to enable DNSSEC.

The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDsRecords

The list of DS records for this domain, which are used to enable DNSSEC.

The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.

Parameter
NameDescription
var array<Google\Cloud\Domains\V1beta1\DnsSettings\DsRecord>
Returns
TypeDescription
$this