Class: Google::Apis::DomainsV1::ConfigureContactSettingsRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/domains_v1/classes.rb,
lib/google/apis/domains_v1/representations.rb,
lib/google/apis/domains_v1/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.



248
249
250
# File 'lib/google/apis/domains_v1/classes.rb', line 248

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

Instance Attribute Details

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

Returns:

  • (Array<String>)


225
226
227
# File 'lib/google/apis/domains_v1/classes.rb', line 225

def contact_notices
  @contact_notices
end

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



233
234
235
# File 'lib/google/apis/domains_v1/classes.rb', line 233

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 is "registrant_contact". Corresponds to the JSON property updateMask

Returns:

  • (String)


240
241
242
# File 'lib/google/apis/domains_v1/classes.rb', line 240

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)


245
246
247
# File 'lib/google/apis/domains_v1/classes.rb', line 245

def validate_only
  @validate_only
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



253
254
255
256
257
258
# File 'lib/google/apis/domains_v1/classes.rb', line 253

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