# Cloud Domains V1 API - Class Google::Cloud::Domains::V1::DnsSettings::GoogleDomainsDns (v1.4.1)

1.4.1 (latest) 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.9.0 0.8.0 0.7.1 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Domains V1 API class Google::Cloud::Domains::V1::DnsSettings::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](https://domains.google/).

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #ds_records

    def ds_records() -> ::Array<::Google::Cloud::Domains::V1::DnsSettings::DsRecord>

**Returns**

- (::Array\<[::Google::Cloud::Domains::V1::DnsSettings::DsRecord](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-DnsSettings-DsRecord)\>) --- 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.

### #ds_state

    def ds_state() -> ::Google::Cloud::Domains::V1::DnsSettings::DsState

**Returns**

- ([::Google::Cloud::Domains::V1::DnsSettings::DsState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-DnsSettings-DsState)) --- Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC.

### #ds_state=

    def ds_state=(value) -> ::Google::Cloud::Domains::V1::DnsSettings::DsState

**Parameter**

- **value** ([::Google::Cloud::Domains::V1::DnsSettings::DsState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-DnsSettings-DsState)) --- Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC.
**Returns**

- ([::Google::Cloud::Domains::V1::DnsSettings::DsState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-domains-v1/latest/Google-Cloud-Domains-V1-DnsSettings-DsState)) --- Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC.

### #name_servers

    def name_servers() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- 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.