Reference documentation and code samples for the Google Cloud Domains V1 Client class GoogleDomainsDns.
Configuration for using the free DNS zone provided by Google Domains as a
Registration's dns_provider. You cannot configure the DNS zone itself
using the API. To configure the DNS zone, go to
Google Domains.
Generated from protobuf message google.cloud.domains.v1.DnsSettings.GoogleDomainsDns
Namespace
Google \ Cloud \ Domains \ V1 \ DnsSettingsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name_servers |
array
Output only. 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. This field is automatically populated with the name servers assigned to the Google Domains DNS zone. |
↳ ds_state |
int
Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC. |
↳ ds_records |
array<Google\Cloud\Domains\V1\DnsSettings\DsRecord>
Output only. The list of DS records published for this domain. The list is automatically populated when |
getNameServers
Output only. 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. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setNameServers
Output only. 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. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDsState
Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC.
| Returns | |
|---|---|
| Type | Description |
int |
|
setDsState
Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDsRecords
Output only. The list of DS records published for this domain. The list is
automatically populated when ds_state is DS_RECORDS_PUBLISHED,
otherwise it remains empty.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setDsRecords
Output only. The list of DS records published for this domain. The list is
automatically populated when ds_state is DS_RECORDS_PUBLISHED,
otherwise it remains empty.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\Domains\V1\DnsSettings\DsRecord>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|