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

Generated from protobuf field string first_name = 1;

Returns
TypeDescription
string

setFirstName

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

Generated from protobuf field string first_name = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLastName

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

Generated from protobuf field string last_name = 2;

Returns
TypeDescription
string

setLastName

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

Generated from protobuf field string last_name = 2;

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.

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

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.

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

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.

Generated from protobuf field string email = 5;

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.

Generated from protobuf field string email = 5;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTitle

Optional. The customer account contact's job title.

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

Returns
TypeDescription
string

setTitle

Optional. The customer account contact's job title.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPhone

The customer account's contact phone number.

Generated from protobuf field string phone = 7;

Returns
TypeDescription
string

setPhone

The customer account's contact phone number.

Generated from protobuf field string phone = 7;

Parameter
NameDescription
var string
Returns
TypeDescription
$this