Google Cloud Domains V1 Client - Class Contact (0.5.5)

Reference documentation and code samples for the Google Cloud Domains V1 Client class Contact.

Details required for a contact associated with a Registration.

Generated from protobuf message google.cloud.domains.v1.ContactSettings.Contact

Namespace

Google \ Cloud \ Domains \ V1 \ ContactSettings

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ postal_address Google\Type\PostalAddress

Required. Postal address of the contact.

↳ email string

Required. Email address of the contact.

↳ phone_number string

Required. Phone number of the contact in international format. For example, "+1-800-555-0123".

↳ fax_number string

Fax number of the contact in international format. For example, "+1-800-555-0123".

getPostalAddress

Required. Postal address of the contact.

Returns
Type Description
Google\Type\PostalAddress|null

hasPostalAddress

clearPostalAddress

setPostalAddress

Required. Postal address of the contact.

Parameter
Name Description
var Google\Type\PostalAddress
Returns
Type Description
$this

getEmail

Required. Email address of the contact.

Returns
Type Description
string

setEmail

Required. Email address of the contact.

Parameter
Name Description
var string
Returns
Type Description
$this

getPhoneNumber

Required. Phone number of the contact in international format. For example, "+1-800-555-0123".

Returns
Type Description
string

setPhoneNumber

Required. Phone number of the contact in international format. For example, "+1-800-555-0123".

Parameter
Name Description
var string
Returns
Type Description
$this

getFaxNumber

Fax number of the contact in international format. For example, "+1-800-555-0123".

Returns
Type Description
string

setFaxNumber

Fax number of the contact in international format. For example, "+1-800-555-0123".

Parameter
Name Description
var string
Returns
Type Description
$this