Google Cloud Channel V1 Client - Class ContactInfo (1.0.1)

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

Generated from protobuf field string first_name = 1;

Returns
Type
Description
string

setFirstName

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

Generated from protobuf field string first_name = 1;

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getLastName

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

Generated from protobuf field string last_name = 2;

Returns
Type
Description
string

setLastName

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

Generated from protobuf field string last_name = 2;

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.

Generated from protobuf field string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

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.

Generated from protobuf field string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

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.

Generated from protobuf field string email = 5;

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.

Generated from protobuf field string email = 5;

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getTitle

Optional. The customer account contact's job title.

Generated from protobuf field string title = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description
string

setTitle

Optional. The customer account contact's job title.

Generated from protobuf field string title = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getPhone

The customer account's contact phone number.

Generated from protobuf field string phone = 7;

Returns
Type
Description
string

setPhone

The customer account's contact phone number.

Generated from protobuf field string phone = 7;

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: