Class: Google::Apis::DomainsV1beta1::GoogleDomainsDns

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/domains_v1beta1/classes.rb,
lib/google/apis/domains_v1beta1/representations.rb,
lib/google/apis/domains_v1beta1/representations.rb

Overview

Deprecated: For more information, see Cloud Domains feature deprecation. 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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDomainsDns

Returns a new instance of GoogleDomainsDns.



689
690
691
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 689

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ds_recordsArray<Google::Apis::DomainsV1beta1::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. Corresponds to the JSON property dsRecords



673
674
675
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 673

def ds_records
  @ds_records
end

#ds_stateString

Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC. Corresponds to the JSON property dsState

Returns:

  • (String)


679
680
681
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 679

def ds_state
  @ds_state
end

#name_serversArray<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. Corresponds to the JSON property nameServers

Returns:

  • (Array<String>)


687
688
689
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 687

def name_servers
  @name_servers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



694
695
696
697
698
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 694

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