Reference documentation and code samples for the Google Cloud Domains V1 Client class 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.
Generated from protobuf message google.cloud.domains.v1.ContactSettings
Namespace
Google \ Cloud \ Domains \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ privacy |
int
Required. Privacy setting for the contacts associated with the |
↳ registrant_contact |
ContactSettings\Contact
Required. The registrant contact for the |
↳ admin_contact |
ContactSettings\Contact
Required. The administrative contact for the |
↳ technical_contact |
ContactSettings\Contact
Required. The technical contact for the |
getPrivacy
Required. Privacy setting for the contacts associated with the Registration.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ContactPrivacy. |
setPrivacy
Required. Privacy setting for the contacts associated with the Registration.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ContactPrivacy. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRegistrantContact
Required. The registrant contact for the Registration.
Caution: Anyone with access to this email address, phone number,
and/or postal address can take control of the domain.
Warning: For new Registrations, the registrant receives an email
confirmation that they must complete within 15 days to avoid domain
suspension.
| Returns | |
|---|---|
| Type | Description |
ContactSettings\Contact|null |
|
hasRegistrantContact
clearRegistrantContact
setRegistrantContact
Required. The registrant contact for the Registration.
Caution: Anyone with access to this email address, phone number,
and/or postal address can take control of the domain.
Warning: For new Registrations, the registrant receives an email
confirmation that they must complete within 15 days to avoid domain
suspension.
| Parameter | |
|---|---|
| Name | Description |
var |
ContactSettings\Contact
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAdminContact
Required. The administrative contact for the Registration.
| Returns | |
|---|---|
| Type | Description |
ContactSettings\Contact|null |
|
hasAdminContact
clearAdminContact
setAdminContact
Required. The administrative contact for the Registration.
| Parameter | |
|---|---|
| Name | Description |
var |
ContactSettings\Contact
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTechnicalContact
Required. The technical contact for the Registration.
| Returns | |
|---|---|
| Type | Description |
ContactSettings\Contact|null |
|
hasTechnicalContact
clearTechnicalContact
setTechnicalContact
Required. The technical contact for the Registration.
| Parameter | |
|---|---|
| Name | Description |
var |
ContactSettings\Contact
|
| Returns | |
|---|---|
| Type | Description |
$this |
|