Class: Google::Apis::DomainsV1alpha2::ConfigureContactSettingsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1alpha2::ConfigureContactSettingsRequest
- 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 ConfigureContactSettings
method.
Instance Attribute Summary collapse
-
#contact_notices ⇒ Array<String>
The list of contact notices that the caller acknowledges.
-
#contact_settings ⇒ Google::Apis::DomainsV1alpha2::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.
223 224 225 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 223 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contact_notices ⇒ Array<String>
The list of contact notices that the caller acknowledges. The notices needed
here depend on the values specified in contact_settings
.
Corresponds to the JSON property contactNotices
200 201 202 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 200 def contact_notices @contact_notices end |
#contact_settings ⇒ Google::Apis::DomainsV1alpha2::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
208 209 210 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 208 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
is "registrant_contact"
.
Corresponds to the JSON property updateMask
215 216 217 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 215 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
220 221 222 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 220 def validate_only @validate_only end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
228 229 230 231 232 233 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 228 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 |