Google Cloud Domains V1 Client - Class DnsSettings (1.0.2)

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

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

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

Namespace

Google \ Cloud \ Domains \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ custom_dns DnsSettings\CustomDns

An arbitrary DNS provider identified by its name servers.

↳ google_domains_dns DnsSettings\GoogleDomainsDns

The free DNS zone provided by Google Domains.

↳ glue_records array<DnsSettings\GlueRecord>

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

getCustomDns

An arbitrary DNS provider identified by its name servers.

Returns
Type Description
DnsSettings\CustomDns|null

hasCustomDns

setCustomDns

An arbitrary DNS provider identified by its name servers.

Parameter
Name Description
var DnsSettings\CustomDns
Returns
Type Description
$this

getGoogleDomainsDns

The free DNS zone provided by Google Domains.

Returns
Type Description
DnsSettings\GoogleDomainsDns|null

hasGoogleDomainsDns

setGoogleDomainsDns

The free DNS zone provided by Google Domains.

Parameter
Name Description
var DnsSettings\GoogleDomainsDns
Returns
Type Description
$this

getGlueRecords

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setGlueRecords

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

Parameter
Name Description
var array<DnsSettings\GlueRecord>
Returns
Type Description
$this

getDnsProvider

Returns
Type Description
string