Class: Google::Apis::DomainsV1beta1::ConfigureContactSettingsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1beta1::ConfigureContactSettingsRequest
- 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 ConfigureContactSettings
method.
Instance Attribute Summary collapse
-
#contact_notices ⇒ Array<String>
The list of contact notices that the caller acknowledges.
-
#contact_settings ⇒ Google::Apis::DomainsV1beta1::ContactSettings
Defines the contact information associated with a
Registration
. -
#update_mask ⇒ String
Required.
-
#validate_only ⇒ Boolean
(also: #validate_only?)
Validate the request without actually updating the contact settings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConfigureContactSettingsRequest
constructor
A new instance of ConfigureContactSettingsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConfigureContactSettingsRequest
Returns a new instance of ConfigureContactSettingsRequest.
218 219 220 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 218 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contact_notices ⇒ Array<String>
The list of contact notices that the caller acknowledges. The notices required
here depend on the values specified in contact_settings
.
Corresponds to the JSON property contactNotices
195 196 197 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 195 def contact_notices @contact_notices end |
#contact_settings ⇒ Google::Apis::DomainsV1beta1::ContactSettings
Defines the contact information associated with a Registration
. ICANN requires all domain names to have associated contact
information. The registrant_contact
is considered the domain's legal owner,
and often the other contacts are identical.
Corresponds to the JSON property contactSettings
203 204 205 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 203 def contact_settings @contact_settings end |
#update_mask ⇒ String
Required. The field mask describing which fields to update as a comma-
separated list. For example, if only the registrant contact is being updated,
the update_mask
would be "registrant_contact"
.
Corresponds to the JSON property updateMask
210 211 212 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 210 def update_mask @update_mask end |
#validate_only ⇒ Boolean Also known as: validate_only?
Validate the request without actually updating the contact settings.
Corresponds to the JSON property validateOnly
215 216 217 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 215 def validate_only @validate_only end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
223 224 225 226 227 228 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 223 def update!(**args) @contact_notices = args[:contact_notices] if args.key?(:contact_notices) @contact_settings = args[:contact_settings] if args.key?(:contact_settings) @update_mask = args[:update_mask] if args.key?(:update_mask) @validate_only = args[:validate_only] if args.key?(:validate_only) end |