Class: Google::Apis::DomainsV1beta1::DnsSettings
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1beta1::DnsSettings
- 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
Defines the DNS configuration of a Registration, including name servers,
DNSSEC, and glue records.
Instance Attribute Summary collapse
-
#custom_dns ⇒ Google::Apis::DomainsV1beta1::CustomDns
Configuration for an arbitrary DNS provider.
-
#glue_records ⇒ Array<Google::Apis::DomainsV1beta1::GlueRecord>
The list of glue records for this
Registration. -
#google_domains_dns ⇒ Google::Apis::DomainsV1beta1::GoogleDomainsDns
Deprecated: For more information, see Cloud Domains feature deprecation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DnsSettings
constructor
A new instance of DnsSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DnsSettings
Returns a new instance of DnsSettings.
469 470 471 |
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 469 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_dns ⇒ Google::Apis::DomainsV1beta1::CustomDns
Configuration for an arbitrary DNS provider.
Corresponds to the JSON property customDns
452 453 454 |
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 452 def custom_dns @custom_dns end |
#glue_records ⇒ Array<Google::Apis::DomainsV1beta1::GlueRecord>
The list of glue records for this Registration. Commonly empty.
Corresponds to the JSON property glueRecords
457 458 459 |
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 457 def glue_records @glue_records end |
#google_domains_dns ⇒ Google::Apis::DomainsV1beta1::GoogleDomainsDns
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.
Corresponds to the JSON property googleDomainsDns
467 468 469 |
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 467 def google_domains_dns @google_domains_dns end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
474 475 476 477 478 |
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 474 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 |