Class: Google::Apis::DomainsV1::DnsSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/domains_v1/classes.rb,
lib/google/apis/domains_v1/representations.rb,
lib/google/apis/domains_v1/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.



482
483
484
# File 'lib/google/apis/domains_v1/classes.rb', line 482

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

Instance Attribute Details

#custom_dnsGoogle::Apis::DomainsV1::CustomDns

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



452
453
454
# File 'lib/google/apis/domains_v1/classes.rb', line 452

def custom_dns
  @custom_dns
end

#glue_recordsArray<Google::Apis::DomainsV1::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_v1/classes.rb', line 457

def glue_records
  @glue_records
end

#google_domains_dnsGoogle::Apis::DomainsV1::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_v1/classes.rb', line 467

def google_domains_dns
  @google_domains_dns
end

#google_domains_redirects_data_availableBoolean Also known as: google_domains_redirects_data_available?

Output only. Indicates if this Registration has configured one of the following deprecated Google Domains DNS features: * Domain forwarding (HTTP 301 and 302 response status codes), * Email forwarding. See https://cloud. google.com/domains/docs/deprecations/feature-deprecations for more details. If any of these features is enabled call the RetrieveGoogleDomainsForwardingConfig method to get details about the feature' s configuration. A forwarding configuration might not work correctly if required DNS records are not present in the domain's authoritative DNS Zone. Corresponds to the JSON property googleDomainsRedirectsDataAvailable

Returns:

  • (Boolean)


479
480
481
# File 'lib/google/apis/domains_v1/classes.rb', line 479

def google_domains_redirects_data_available
  @google_domains_redirects_data_available
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



487
488
489
490
491
492
# File 'lib/google/apis/domains_v1/classes.rb', line 487

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)
  @google_domains_redirects_data_available = args[:google_domains_redirects_data_available] if args.key?(:google_domains_redirects_data_available)
end