Google Cloud Domains V1alpha2 Client - Class ContactSettings (0.3.1)

Reference documentation and code samples for the Google Cloud Domains V1alpha2 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.v1alpha2.ContactSettings

Namespace

Google \ Cloud \ Domains \ V1alpha2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ privacy int

Required. Privacy setting for the contacts associated with the Registration.

↳ registrant_contact Google\Cloud\Domains\V1alpha2\ContactSettings\Contact

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.

↳ admin_contact Google\Cloud\Domains\V1alpha2\ContactSettings\Contact

Required. The administrative contact for the Registration.

↳ technical_contact Google\Cloud\Domains\V1alpha2\ContactSettings\Contact

Required. The technical contact for the Registration.

getPrivacy

Required. Privacy setting for the contacts associated with the Registration.

Returns
TypeDescription
int

setPrivacy

Required. Privacy setting for the contacts associated with the Registration.

Parameter
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
Google\Cloud\Domains\V1alpha2\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
NameDescription
var Google\Cloud\Domains\V1alpha2\ContactSettings\Contact
Returns
TypeDescription
$this

getAdminContact

Required. The administrative contact for the Registration.

Returns
TypeDescription
Google\Cloud\Domains\V1alpha2\ContactSettings\Contact|null

hasAdminContact

clearAdminContact

setAdminContact

Required. The administrative contact for the Registration.

Parameter
NameDescription
var Google\Cloud\Domains\V1alpha2\ContactSettings\Contact
Returns
TypeDescription
$this

getTechnicalContact

Required. The technical contact for the Registration.

Returns
TypeDescription
Google\Cloud\Domains\V1alpha2\ContactSettings\Contact|null

hasTechnicalContact

clearTechnicalContact

setTechnicalContact

Required. The technical contact for the Registration.

Parameter
NameDescription
var Google\Cloud\Domains\V1alpha2\ContactSettings\Contact
Returns
TypeDescription
$this