Google Cloud Domains V1 Client - Class DnsSettings (1.0.0)

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 Google\Cloud\Domains\V1\DnsSettings\CustomDns

An arbitrary DNS provider identified by its name servers.

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

The free DNS zone provided by Google Domains.

↳ glue_records array<Google\Cloud\Domains\V1\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
Google\Cloud\Domains\V1\DnsSettings\CustomDns|null

hasCustomDns

setCustomDns

An arbitrary DNS provider identified by its name servers.

Parameter
Name Description
var Google\Cloud\Domains\V1\DnsSettings\CustomDns
Returns
Type Description
$this

getGoogleDomainsDns

The free DNS zone provided by Google Domains.

Returns
Type Description
Google\Cloud\Domains\V1\DnsSettings\GoogleDomainsDns|null

hasGoogleDomainsDns

setGoogleDomainsDns

The free DNS zone provided by Google Domains.

Parameter
Name Description
var Google\Cloud\Domains\V1\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<Google\Cloud\Domains\V1\DnsSettings\GlueRecord>
Returns
Type Description
$this

getDnsProvider

Returns
Type Description
string