Google Cloud Domains V1alpha2 Client - Class ContactSettings (0.5.5)

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
Name Description
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
Type Description
int

setPrivacy

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

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

getAdminContact

Required. The administrative contact for the Registration.

Returns
Type Description
Google\Cloud\Domains\V1alpha2\ContactSettings\Contact|null

hasAdminContact

clearAdminContact

setAdminContact

Required. The administrative contact for the Registration.

Parameter
Name Description
var Google\Cloud\Domains\V1alpha2\ContactSettings\Contact
Returns
Type Description
$this

getTechnicalContact

Required. The technical contact for the Registration.

Returns
Type Description
Google\Cloud\Domains\V1alpha2\ContactSettings\Contact|null

hasTechnicalContact

clearTechnicalContact

setTechnicalContact

Required. The technical contact for the Registration.

Parameter
Name Description
var Google\Cloud\Domains\V1alpha2\ContactSettings\Contact
Returns
Type Description
$this