Object to represent a person.
JSON representation |
---|
{ "name": string, "obfuscatedId": string, "personNames": [ { object ( |
Fields | |
---|---|
name |
The resource name of the person to provide information about. See |
obfuscatedId |
Obfuscated ID of a person. |
personNames[] |
The person's name |
emailAddresses[] |
The person's email addresses |
phoneNumbers[] |
The person's phone numbers |
photos[] |
A person's read-only photo. A picture shown next to the person's name to help others recognize the person in search results. |
Name
A person's name.
JSON representation |
---|
{ "displayName": string } |
Fields | |
---|---|
displayName |
The read-only display name formatted according to the locale specified by the viewer's account or the |
EmailAddress
A person's email address.
JSON representation |
---|
{ "emailAddress": string, "primary": boolean, "type": string, "customType": string, "emailUrl": string } |
Fields | |
---|---|
emailAddress |
The email address. |
primary |
Indicates if this is the user's primary email. Only one entry can be marked as primary. |
type |
The type of the email account. Acceptable values are: "custom", "home", "other", "work". |
customType |
If the value of type is custom, this property contains the custom type string. |
emailUrl |
The URL to send email. |
PhoneNumber
A person's Phone Number
JSON representation |
---|
{
"phoneNumber": string,
"type": enum ( |
Fields | |
---|---|
phoneNumber |
The phone number of the person. |
type |
|
PhoneNumber.PhoneNumberType
Phone number type enum.
Enums | |
---|---|
OTHER |
|
MOBILE |
|
OFFICE |
Photo
A person's photo.
JSON representation |
---|
{ "url": string } |
Fields | |
---|---|
url |
The URL of the photo. |