Class: Google::Apis::DomainsV1alpha2::ConfigureContactSettingsRequest

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

Overview

Request for the ConfigureContactSettings method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfigureContactSettingsRequest

Returns a new instance of ConfigureContactSettingsRequest.



218
219
220
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 218

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

Instance Attribute Details

#contact_noticesArray<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

Returns:

  • (Array<String>)


195
196
197
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 195

def contact_notices
  @contact_notices
end

#contact_settingsGoogle::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



203
204
205
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 203

def contact_settings
  @contact_settings
end

#update_maskString

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

Returns:

  • (String)


210
211
212
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 210

def update_mask
  @update_mask
end

#validate_onlyBoolean Also known as: validate_only?

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

Returns:

  • (Boolean)


215
216
217
# File 'generated/google/apis/domains_v1alpha2/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_v1alpha2/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