Class: Google::Apis::DomainsV1::ContactSettings
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1::ContactSettings
- 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
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
-
#admin_contact ⇒ Google::Apis::DomainsV1::Contact
Details required for a contact associated with a
Registration
. -
#privacy ⇒ String
Required.
-
#registrant_contact ⇒ Google::Apis::DomainsV1::Contact
Details required for a contact associated with a
Registration
. -
#technical_contact ⇒ Google::Apis::DomainsV1::Contact
Details required for a contact associated with a
Registration
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContactSettings
constructor
A new instance of ContactSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContactSettings
Returns a new instance of ContactSettings.
402 403 404 |
# File 'lib/google/apis/domains_v1/classes.rb', line 402 def initialize(**args) update!(**args) end |
Instance Attribute Details
#admin_contact ⇒ Google::Apis::DomainsV1::Contact
Details required for a contact associated with a Registration
.
Corresponds to the JSON property adminContact
385 386 387 |
# File 'lib/google/apis/domains_v1/classes.rb', line 385 def admin_contact @admin_contact end |
#privacy ⇒ String
Required. Privacy setting for the contacts associated with the Registration
.
Corresponds to the JSON property privacy
390 391 392 |
# File 'lib/google/apis/domains_v1/classes.rb', line 390 def privacy @privacy end |
#registrant_contact ⇒ Google::Apis::DomainsV1::Contact
Details required for a contact associated with a Registration
.
Corresponds to the JSON property registrantContact
395 396 397 |
# File 'lib/google/apis/domains_v1/classes.rb', line 395 def registrant_contact @registrant_contact end |
#technical_contact ⇒ Google::Apis::DomainsV1::Contact
Details required for a contact associated with a Registration
.
Corresponds to the JSON property technicalContact
400 401 402 |
# File 'lib/google/apis/domains_v1/classes.rb', line 400 def technical_contact @technical_contact end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
407 408 409 410 411 412 |
# File 'lib/google/apis/domains_v1/classes.rb', line 407 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 |