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

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

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.



372
373
374
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 372

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



355
356
357
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 355

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)


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

def privacy
  @privacy
end

#registrant_contactGoogle::Apis::DomainsV1alpha2::Contact

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



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

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



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

def technical_contact
  @technical_contact
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



377
378
379
380
381
382
# File 'generated/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