Google Cloud Domains V1beta1 Client - Class DnsSettings (0.3.1)

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

Defines the DNS configuration of a Registration, including name servers, DNSSEC, and glue records.

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

Namespace

Google \ Cloud \ Domains \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ custom_dns Google\Cloud\Domains\V1beta1\DnsSettings\CustomDns

An arbitrary DNS provider identified by its name servers.

↳ google_domains_dns Google\Cloud\Domains\V1beta1\DnsSettings\GoogleDomainsDns

The free DNS zone provided by Google Domains.

↳ glue_records array<Google\Cloud\Domains\V1beta1\DnsSettings\GlueRecord>

The list of glue records for this Registration. Commonly empty.

getCustomDns

An arbitrary DNS provider identified by its name servers.

Returns
TypeDescription
Google\Cloud\Domains\V1beta1\DnsSettings\CustomDns|null

hasCustomDns

setCustomDns

An arbitrary DNS provider identified by its name servers.

Parameter
NameDescription
var Google\Cloud\Domains\V1beta1\DnsSettings\CustomDns
Returns
TypeDescription
$this

getGoogleDomainsDns

The free DNS zone provided by Google Domains.

Returns
TypeDescription
Google\Cloud\Domains\V1beta1\DnsSettings\GoogleDomainsDns|null

hasGoogleDomainsDns

setGoogleDomainsDns

The free DNS zone provided by Google Domains.

Parameter
NameDescription
var Google\Cloud\Domains\V1beta1\DnsSettings\GoogleDomainsDns
Returns
TypeDescription
$this

getGlueRecords

The list of glue records for this Registration. Commonly empty.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setGlueRecords

The list of glue records for this Registration. Commonly empty.

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

getDnsProvider

Returns
TypeDescription
string