Google Cloud Domains V1beta1 Client - Class Contact (0.3.1)

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

Details required for a contact associated with a Registration.

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

Namespace

Google \ Cloud \ Domains \ V1beta1 \ ContactSettings

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Type\PostalAddress|null

hasPostalAddress

clearPostalAddress

setPostalAddress

Required. Postal address of the contact.

Parameter
NameDescription
var Google\Type\PostalAddress
Returns
TypeDescription
$this

getEmail

Required. Email address of the contact.

Returns
TypeDescription
string

setEmail

Required. Email address of the contact.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPhoneNumber

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

Returns
TypeDescription
string

setPhoneNumber

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFaxNumber

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

Returns
TypeDescription
string

setFaxNumber

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this