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 \ ContactSettingsMethods
__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, |
↳ fax_number |
string
Fax number of the contact in international format. For example, |
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 |
|