Class: Google::Apis::DomainsV1alpha2::ConfigureDnsSettingsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1alpha2::ConfigureDnsSettingsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/domains_v1alpha2/classes.rb,
lib/google/apis/domains_v1alpha2/representations.rb,
lib/google/apis/domains_v1alpha2/representations.rb
Overview
Request for the ConfigureDnsSettings method.
Instance Attribute Summary collapse
-
#dns_settings ⇒ Google::Apis::DomainsV1alpha2::DnsSettings
Defines the DNS configuration of a
Registration, including name servers, DNSSEC, and glue records. -
#update_mask ⇒ String
Required.
-
#validate_only ⇒ Boolean
(also: #validate_only?)
Validate the request without actually updating the DNS settings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConfigureDnsSettingsRequest
constructor
A new instance of ConfigureDnsSettingsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConfigureDnsSettingsRequest
Returns a new instance of ConfigureDnsSettingsRequest.
261 262 263 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 261 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dns_settings ⇒ Google::Apis::DomainsV1alpha2::DnsSettings
Defines the DNS configuration of a Registration, including name servers,
DNSSEC, and glue records.
Corresponds to the JSON property dnsSettings
242 243 244 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 242 def dns_settings @dns_settings end |
#update_mask ⇒ String
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 is "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 is "custom_dns". //
Corresponds to the JSON property updateMask
253 254 255 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 253 def update_mask @update_mask end |
#validate_only ⇒ Boolean Also known as: validate_only?
Validate the request without actually updating the DNS settings.
Corresponds to the JSON property validateOnly
258 259 260 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 258 def validate_only @validate_only end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
266 267 268 269 270 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 266 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 |