Class: Google::Apis::DomainsV1alpha2::GoogleDomainsDns
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1alpha2::GoogleDomainsDns
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/domains_v1alpha2/classes.rb,
generated/google/apis/domains_v1alpha2/representations.rb,
generated/google/apis/domains_v1alpha2/representations.rb
Overview
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
-
#ds_records ⇒ Array<Google::Apis::DomainsV1alpha2::DsRecord>
Output only.
-
#ds_state ⇒ String
Required.
-
#name_servers ⇒ Array<String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDomainsDns
constructor
A new instance of GoogleDomainsDns.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDomainsDns
Returns a new instance of GoogleDomainsDns.
622 623 624 |
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 622 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ds_records ⇒ Array<Google::Apis::DomainsV1alpha2::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
606 607 608 |
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 606 def ds_records @ds_records end |
#ds_state ⇒ String
Required. The state of DS records for this domain. Used to enable or disable
automatic DNSSEC.
Corresponds to the JSON property dsState
612 613 614 |
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 612 def ds_state @ds_state end |
#name_servers ⇒ 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.
Corresponds to the JSON property nameServers
620 621 622 |
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 620 def name_servers @name_servers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
627 628 629 630 631 |
# File 'generated/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 |