Reference documentation and code samples for the Google Cloud Channel V1 Client class ContactInfo.
Contact information for a customer account.
Generated from protobuf messagegoogle.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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Channel V1 Client - Class ContactInfo (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-channel/latest/V1.ContactInfo)\n- [2.2.0](/php/docs/reference/cloud-channel/2.2.0/V1.ContactInfo)\n- [2.1.4](/php/docs/reference/cloud-channel/2.1.4/V1.ContactInfo)\n- [2.0.0](/php/docs/reference/cloud-channel/2.0.0/V1.ContactInfo)\n- [1.9.5](/php/docs/reference/cloud-channel/1.9.5/V1.ContactInfo)\n- [1.8.2](/php/docs/reference/cloud-channel/1.8.2/V1.ContactInfo)\n- [1.7.0](/php/docs/reference/cloud-channel/1.7.0/V1.ContactInfo)\n- [1.6.0](/php/docs/reference/cloud-channel/1.6.0/V1.ContactInfo)\n- [1.5.0](/php/docs/reference/cloud-channel/1.5.0/V1.ContactInfo)\n- [1.4.0](/php/docs/reference/cloud-channel/1.4.0/V1.ContactInfo)\n- [1.3.0](/php/docs/reference/cloud-channel/1.3.0/V1.ContactInfo)\n- [1.2.1](/php/docs/reference/cloud-channel/1.2.1/V1.ContactInfo)\n- [1.1.1](/php/docs/reference/cloud-channel/1.1.1/V1.ContactInfo)\n- [1.0.1](/php/docs/reference/cloud-channel/1.0.1/V1.ContactInfo) \nReference documentation and code samples for the Google Cloud Channel V1 Client class ContactInfo.\n\nContact information for a customer account.\n\nGenerated from protobuf message `google.cloud.channel.v1.ContactInfo`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Channel \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getFirstName\n\nThe customer account contact's first name. Optional for Team customers.\n\n### setFirstName\n\nThe customer account contact's first name. Optional for Team customers.\n\n### getLastName\n\nThe customer account contact's last name. Optional for Team customers.\n\n### setLastName\n\nThe customer account contact's last name. Optional for Team customers.\n\n### getDisplayName\n\nOutput only. The customer account contact's display name, formatted as a\ncombination of the customer's first and last name.\n\n### setDisplayName\n\nOutput only. The customer account contact's display name, formatted as a\ncombination of the customer's first and last name.\n\n### getEmail\n\nThe customer account's contact email. Required for entitlements that create\nadmin.google.com accounts, and serves as the customer's username for those\naccounts. Use this email to invite Team customers.\n\n### setEmail\n\nThe customer account's contact email. Required for entitlements that create\nadmin.google.com accounts, and serves as the customer's username for those\naccounts. Use this email to invite Team customers.\n\n### getTitle\n\nOptional. The customer account contact's job title.\n\n### setTitle\n\nOptional. The customer account contact's job title.\n\n### getPhone\n\nThe customer account's contact phone number.\n\n### setPhone\n\nThe customer account's contact phone number."]]