Class: Google::Apis::DomainsV1beta1::ConfigureDnsSettingsRequest

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

Overview

Request for the ConfigureDnsSettings method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfigureDnsSettingsRequest

Returns a new instance of ConfigureDnsSettingsRequest.



258
259
260
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 258

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

Instance Attribute Details

#dns_settingsGoogle::Apis::DomainsV1beta1::DnsSettings

Defines the DNS configuration of a Registration, including name servers, DNSSEC, and glue records. Corresponds to the JSON property dnsSettings



239
240
241
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 239

def dns_settings
  @dns_settings
end

#update_maskString

Required. The field mask describing which fields to update as a comma- separated list. For example, if only the name servers are being updated for an existing Custom DNS configuration, the update_mask would be "custom_dns. name_servers". When changing the DNS provider from one type to another, pass the new provider's field name as part of the field mask. For example, when changing from a Google Domains DNS configuration to a Custom DNS configuration, the update_mask would be "custom_dns". // Corresponds to the JSON property updateMask

Returns:

  • (String)


250
251
252
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 250

def update_mask
  @update_mask
end

#validate_onlyBoolean Also known as: validate_only?

Validate the request without actually updating the DNS settings. Corresponds to the JSON property validateOnly

Returns:

  • (Boolean)


255
256
257
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 255

def validate_only
  @validate_only
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



263
264
265
266
267
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 263

def update!(**args)
  @dns_settings = args[:dns_settings] if args.key?(:dns_settings)
  @update_mask = args[:update_mask] if args.key?(:update_mask)
  @validate_only = args[:validate_only] if args.key?(:validate_only)
end