Google Cloud Channel V1 Client - Class ContactInfo (2.0.0-RC1)

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

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setFirstName

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

Parameter
Name Description
var string
Returns
Type Description
$this

getLastName

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

Returns
Type Description
string

setLastName

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

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

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

Returns
Type Description
string

setDisplayName

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

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getTitle

Optional. The customer account contact's job title.

Returns
Type Description
string

setTitle

Optional. The customer account contact's job title.

Parameter
Name Description
var string
Returns
Type Description
$this

getPhone

The customer account's contact phone number.

Returns
Type Description
string

setPhone

The customer account's contact phone number.

Parameter
Name Description
var string
Returns
Type Description
$this