class Google::Apis::DomainsV1alpha2::ContactSettings

Defines the contact information associated with a `Registration`. [ICANN]( icann.org/) 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.

Attributes

admin_contact[RW]

Details required for a contact associated with a `Registration`. Corresponds to the JSON property `adminContact` @return [Google::Apis::DomainsV1alpha2::Contact]

privacy[RW]

Required. Privacy setting for the contacts associated with the `Registration`. Corresponds to the JSON property `privacy` @return [String]

registrant_contact[RW]

Details required for a contact associated with a `Registration`. Corresponds to the JSON property `registrantContact` @return [Google::Apis::DomainsV1alpha2::Contact]

technical_contact[RW]

Details required for a contact associated with a `Registration`. Corresponds to the JSON property `technicalContact` @return [Google::Apis::DomainsV1alpha2::Contact]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/domains_v1alpha2/classes.rb, line 372
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/domains_v1alpha2/classes.rb, line 377
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