class Google::Apis::DomainsV1alpha2::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](domains. google/).

Attributes

ds_records[RW]

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. Corresponds to the JSON property `dsRecords` @return [Array<Google::Apis::DomainsV1alpha2::DsRecord>]

ds_state[RW]

Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC. Corresponds to the JSON property `dsState` @return [String]

name_servers[RW]

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. Corresponds to the JSON property `nameServers` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/domains_v1alpha2/classes.rb, line 622
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/domains_v1alpha2/classes.rb, line 627
def update!(**args)
  @ds_records = args[:ds_records] if args.key?(:ds_records)
  @ds_state = args[:ds_state] if args.key?(:ds_state)
  @name_servers = args[:name_servers] if args.key?(:name_servers)
end