Class: Google::Apis::DomainsV1alpha2::DnsSettings

Inherits:
Object
  • Object
show all
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

Defines the DNS configuration of a Registration, including name servers, DNSSEC, and glue records.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DnsSettings

Returns a new instance of DnsSettings.



437
438
439
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 437

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

Instance Attribute Details

#custom_dnsGoogle::Apis::DomainsV1alpha2::CustomDns

Configuration for an arbitrary DNS provider. Corresponds to the JSON property customDns



422
423
424
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 422

def custom_dns
  @custom_dns
end

#glue_recordsArray<Google::Apis::DomainsV1alpha2::GlueRecord>

The list of glue records for this Registration. Commonly empty. Corresponds to the JSON property glueRecords



427
428
429
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 427

def glue_records
  @glue_records
end

#google_domains_dnsGoogle::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. Corresponds to the JSON property googleDomainsDns



435
436
437
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 435

def google_domains_dns
  @google_domains_dns
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



442
443
444
445
446
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 442

def update!(**args)
  @custom_dns = args[:custom_dns] if args.key?(:custom_dns)
  @glue_records = args[:glue_records] if args.key?(:glue_records)
  @google_domains_dns = args[:google_domains_dns] if args.key?(:google_domains_dns)
end