Google Cloud Domains V1alpha2 Client - Class CustomDns (0.4.2)

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

Configuration for an arbitrary DNS provider.

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

Namespace

Google \ Cloud \ Domains \ V1alpha2 \ 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\V1alpha2\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\V1alpha2\DnsSettings\DsRecord>
Returns
TypeDescription
$this