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.
288 289 290 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 288 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
269 270 271 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 269 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
280 281 282 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 280 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
285 286 287 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 285 def validate_only @validate_only end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
293 294 295 296 297 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 293 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 |