Class: Google::Apis::DomainsV1alpha2::ContactSettings

Inherits:
Object
  • Object
show all
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

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContactSettings

Returns a new instance of ContactSettings.



377
378
379
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 377

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

Instance Attribute Details

#admin_contactGoogle::Apis::DomainsV1alpha2::Contact

Details required for a contact associated with a Registration. Corresponds to the JSON property adminContact



360
361
362
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 360

def admin_contact
  @admin_contact
end

#privacyString

Required. Privacy setting for the contacts associated with the Registration. Corresponds to the JSON property privacy

Returns:

  • (String)


365
366
367
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 365

def privacy
  @privacy
end

#registrant_contactGoogle::Apis::DomainsV1alpha2::Contact

Details required for a contact associated with a Registration. Corresponds to the JSON property registrantContact



370
371
372
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 370

def registrant_contact
  @registrant_contact
end

#technical_contactGoogle::Apis::DomainsV1alpha2::Contact

Details required for a contact associated with a Registration. Corresponds to the JSON property technicalContact



375
376
377
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 375

def technical_contact
  @technical_contact
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



382
383
384
385
386
387
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 382

def update!(**args)
  @admin_contact = args[:admin_contact] if args.key?(:admin_contact)
  @privacy = args[:privacy] if args.key?(:privacy)
  @registrant_contact = args[:registrant_contact] if args.key?(:registrant_contact)
  @technical_contact = args[:technical_contact] if args.key?(:technical_contact)
end