Google Cloud Channel V1 Client - Class ContactInfo (1.4.0)

Reference documentation and code samples for the Google Cloud Channel V1 Client class ContactInfo.

Contact information for a customer account.

Generated from protobuf message google.cloud.channel.v1.ContactInfo

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ first_name string

The customer account contact's first name. Optional for Team customers.

↳ last_name string

The customer account contact's last name. Optional for Team customers.

↳ display_name string

Output only. The customer account contact's display name, formatted as a combination of the customer's first and last name.

↳ email string

The customer account's contact email. Required for entitlements that create admin.google.com accounts, and serves as the customer's username for those accounts. Use this email to invite Team customers.

↳ title string

Optional. The customer account contact's job title.

↳ phone string

The customer account's contact phone number.

getFirstName

The customer account contact's first name. Optional for Team customers.

Returns
TypeDescription
string

setFirstName

The customer account contact's first name. Optional for Team customers.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLastName

The customer account contact's last name. Optional for Team customers.

Returns
TypeDescription
string

setLastName

The customer account contact's last name. Optional for Team customers.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

Output only. The customer account contact's display name, formatted as a combination of the customer's first and last name.

Returns
TypeDescription
string

setDisplayName

Output only. The customer account contact's display name, formatted as a combination of the customer's first and last name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEmail

The customer account's contact email. Required for entitlements that create admin.google.com accounts, and serves as the customer's username for those accounts. Use this email to invite Team customers.

Returns
TypeDescription
string

setEmail

The customer account's contact email. Required for entitlements that create admin.google.com accounts, and serves as the customer's username for those accounts. Use this email to invite Team customers.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTitle

Optional. The customer account contact's job title.

Returns
TypeDescription
string

setTitle

Optional. The customer account contact's job title.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPhone

The customer account's contact phone number.

Returns
TypeDescription
string

setPhone

The customer account's contact phone number.

Parameter
NameDescription
var string
Returns
TypeDescription
$this