Google Cloud Domains V1beta1 Client - Class Contact (0.4.2)

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
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

hasPostalAddress

clearPostalAddress

setPostalAddress

Required. Postal address of the contact.

Parameter
Name
Description
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
Design a Mobile Site
View Site in Mobile | Classic
Share by: