@datafire/google_people
v6.0.0
Published
DataFire integration for People API
Downloads
7
Readme
@datafire/google_people
Client library for People API
Installation and Usage
npm install --save @datafire/google_people
let google_people = require('@datafire/google_people').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Description
Provides access to information about profiles and contacts.
Actions
oauthCallback
Exchange the code passed to your redirect URI for an access_token
google_people.oauthCallback({
"code": ""
}, context)
Input
- input
object
- code required
string
- code required
Output
- output
object
- access_token
string
- refresh_token
string
- token_type
string
- scope
string
- expiration
string
- access_token
oauthRefresh
Exchange a refresh_token for an access_token
google_people.oauthRefresh(null, context)
Input
This action has no parameters
Output
- output
object
- access_token
string
- refresh_token
string
- token_type
string
- scope
string
- expiration
string
- access_token
people.contactGroups.list
List all contact groups owned by the authenticated user. Members of the contact groups are not populated.
google_people.people.contactGroups.list({}, context)
Input
- input
object
- pageSize
integer
: Optional. The maximum number of resources to return. Valid values are between 1 and 1000, inclusive. Defaults to 30 if not set or set to 0. - pageToken
string
: Optional. The next_page_token value returned from a previous call to ListContactGroups. Requests the next page of resources. - syncToken
string
: Optional. A sync token, returned by a previous call tocontactgroups.list
. Only resources changed since the sync token was created will be returned. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- pageSize
Output
- output ListContactGroupsResponse
people.contactGroups.create
Create a new contact group owned by the authenticated user.
google_people.people.contactGroups.create({}, context)
Input
- input
object
- body CreateContactGroupRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
Output
- output ContactGroup
people.contactGroups.batchGet
Get a list of contact groups owned by the authenticated user by specifying a list of contact group resource names.
google_people.people.contactGroups.batchGet({}, context)
Input
- input
object
- maxMembers
integer
: Optional. Specifies the maximum number of members to return for each group. Defaults to 0 if not set, which will return zero members. - resourceNames
array
: Required. The resource names of the contact groups to get. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- maxMembers
Output
people.otherContacts.list
List all "Other contacts", that is contacts that are not in a contact group. "Other contacts" are typically auto created contacts from interactions.
google_people.people.otherContacts.list({}, context)
Input
- input
object
- pageSize
integer
: Optional. The number of "Other contacts" to include in the response. Valid values are between 1 and 1000, inclusive. Defaults to 100 if not set or set to 0. - pageToken
string
: Optional. A page token, received from a previousListOtherContacts
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toListOtherContacts
must match the call that provided the page token. - readMask
string
: Required. A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas. Valid values are: * emailAddresses * names * phoneNumbers - requestSyncToken
boolean
: Optional. Whether the response should includenext_sync_token
, which can be used to get all changes since the last request. For subsequent sync requests use thesync_token
param instead. Initial sync requests that specifyrequest_sync_token
have an additional rate limit. - syncToken
string
: Optional. A sync token, received from a previousListOtherContacts
call. Provide this to retrieve only the resources changed since the last request. Sync requests that specifysync_token
have an additional rate limit. When syncing, all other parameters provided toListOtherContacts
must match the call that provided the sync token. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- pageSize
Output
- output ListOtherContactsResponse
people.people.getBatchGet
Provides information about a list of specific people by specifying a list of requested resource names. Use people/me
to indicate the authenticated user. The request returns a 400 error if 'personFields' is not specified.
google_people.people.people.getBatchGet({}, context)
Input
- input
object
- personFields
string
: Required. A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas. Valid values are: * addresses * ageRanges * biographies * birthdays * calendarUrls * clientData * coverPhotos * emailAddresses * events * externalIds * genders * imClients * interests * locales * locations * memberships * metadata * miscKeywords * names * nicknames * occupations * organizations * phoneNumbers * photos * relations * sipAddresses * skills * urls * userDefined - requestMask.includeField
string
: Required. Comma-separated list of person fields to be included in the response. Each path should start withperson.
: for example,person.names
orperson.photos
. - resourceNames
array
: Required. The resource names of the people to provide information about. It's repeatable. The URL query parameter should be resourceNames=&resourceNames=&... - To get information about the authenticated user, specifypeople/me
. - To get information about a google account, specifypeople/{account_id}
. - To get information about a contact, specify the resource name that identifies the contact as returned bypeople.connections.list
. You can include up to 50 resource names in one request. - sources
array
: Optional. A mask of what source types to return. Defaults to READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE if not set. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- personFields
Output
- output GetPeopleResponse
people.people.createContact
Create a new contact and return the person resource for that contact. The request returns a 400 error if more than one field is specified on a field that is a singleton for contact sources: * biographies * birthdays * genders * names
google_people.people.people.createContact({}, context)
Input
- input
object
- personFields
string
: Required. A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas. Defaults to all fields if not set. Valid values are: * addresses * ageRanges * biographies * birthdays * calendarUrls * clientData * coverPhotos * emailAddresses * events * externalIds * genders * imClients * interests * locales * locations * memberships * metadata * miscKeywords * names * nicknames * occupations * organizations * phoneNumbers * photos * relations * sipAddresses * skills * urls * userDefined - sources
array
: Optional. A mask of what source types to return. Defaults to READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE if not set. - body Person
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- personFields
Output
- output Person
people.people.listDirectoryPeople
Provides a list of domain profiles and domain contacts in the authenticated user's domain directory.
google_people.people.people.listDirectoryPeople({}, context)
Input
- input
object
- mergeSources
array
: Optional. Additional data to merge into the directory sources if they are connected through verified join keys such as email addresses or phone numbers. - pageSize
integer
: Optional. The number of people to include in the response. Valid values are between 1 and 1000, inclusive. Defaults to 100 if not set or set to 0. - pageToken
string
: Optional. A page token, received from a previousListDirectoryPeople
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toListDirectoryPeople
must match the call that provided the page token. - readMask
string
: Required. A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas. Valid values are: * addresses * ageRanges * biographies * birthdays * calendarUrls * clientData * coverPhotos * emailAddresses * events * externalIds * genders * imClients * interests * locales * locations * memberships * metadata * miscKeywords * names * nicknames * occupations * organizations * phoneNumbers * photos * relations * sipAddresses * skills * urls * userDefined - requestSyncToken
boolean
: Optional. Whether the response should includenext_sync_token
, which can be used to get all changes since the last request. For subsequent sync requests use thesync_token
param instead. - sources
array
: Required. Directory sources to return. - syncToken
string
: Optional. A sync token, received from a previousListDirectoryPeople
call. Provide this to retrieve only the resources changed since the last request. When syncing, all other parameters provided toListDirectoryPeople
must match the call that provided the sync token. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- mergeSources
Output
- output ListDirectoryPeopleResponse
people.people.searchDirectoryPeople
Provides a list of domain profiles and domain contacts in the authenticated user's domain directory that match the search query.
google_people.people.people.searchDirectoryPeople({}, context)
Input
- input
object
- mergeSources
array
: Optional. Additional data to merge into the directory sources if they are connected through verified join keys such as email addresses or phone numbers. - pageSize
integer
: Optional. The number of people to include in the response. Valid values are between 1 and 500, inclusive. Defaults to 100 if not set or set to 0. - pageToken
string
: Optional. A page token, received from a previousSearchDirectoryPeople
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toSearchDirectoryPeople
must match the call that provided the page token. - query
string
: Required. Prefix query that matches fields in the person. Does NOT use the read_mask for determining what fields to match. - readMask
string
: Required. A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas. Valid values are: * addresses * ageRanges * biographies * birthdays * calendarUrls * clientData * coverPhotos * emailAddresses * events * externalIds * genders * imClients * interests * locales * locations * memberships * metadata * miscKeywords * names * nicknames * occupations * organizations * phoneNumbers * photos * relations * sipAddresses * skills * urls * userDefined - sources
array
: Required. Directory sources to return. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- mergeSources
Output
people.contactGroups.delete
Delete an existing contact group owned by the authenticated user by specifying a contact group resource name.
google_people.people.contactGroups.delete({
"resourceName": ""
}, context)
Input
- input
object
- resourceName required
string
: Required. The resource name of the contact group to delete. - deleteContacts
boolean
: Optional. Set to true to also delete the contacts in the specified group. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- resourceName required
Output
- output Empty
people.people.get
Provides information about a person by specifying a resource name. Use people/me
to indicate the authenticated user. The request returns a 400 error if 'personFields' is not specified.
google_people.people.people.get({
"resourceName": ""
}, context)
Input
- input
object
- resourceName required
string
: Required. The resource name of the person to provide information about. - To get information about the authenticated user, specifypeople/me
. - To get information about a google account, specifypeople/{account_id}
. - To get information about a contact, specify the resource name that identifies the contact as returned bypeople.connections.list
. - personFields
string
: Required. A field mask to restrict which fields on the person are returned. Multiple fields can be specified by separating them with commas. Valid values are: * addresses * ageRanges * biographies * birthdays * calendarUrls * clientData * coverPhotos * emailAddresses * events * externalIds * genders * imClients * interests * locales * locations * memberships * metadata * miscKeywords * names * nicknames * occupations * organizations * phoneNumbers * photos * relations * sipAddresses * skills * urls * userDefined - requestMask.includeField
string
: Required. Comma-separated list of person fields to be included in the response. Each path should start withperson.
: for example,person.names
orperson.photos
. - sources
array
: Optional. A mask of what source types to return. Defaults to READ_SOURCE_TYPE_PROFILE and READ_SOURCE_TYPE_CONTACT if not set. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- resourceName required
Output
- output Person
people.contactGroups.update
Update the name of an existing contact group owned by the authenticated user.
google_people.people.contactGroups.update({
"resourceName": ""
}, context)
Input
- input
object
- resourceName required
string
: The resource name for the contact group, assigned by the server. An ASCII string, in the form ofcontactGroups/{contact_group_id}
. - body UpdateContactGroupRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- resourceName required
Output
- output ContactGroup
people.people.connections.list
Provides a list of the authenticated user's contacts. The request returns a 400 error if personFields
is not specified. The request returns a 410 error if sync_token
is specified and is expired. Sync tokens expire after 7 days. A request without sync_token
should be made and all contacts should be synced.
google_people.people.people.connections.list({
"resourceName": ""
}, context)
Input
- input
object
- resourceName required
string
: Required. The resource name to return connections for. Onlypeople/me
is valid. - pageSize
integer
: Optional. The number of connections to include in the response. Valid values are between 1 and 1000, inclusive. Defaults to 100 if not set or set to 0. - pageToken
string
: Optional. A page token, received from a previousListConnections
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toListConnections
must match the call that provided the page token. - personFields
string
: Required. A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas. Valid values are: * addresses * ageRanges * biographies * birthdays * calendarUrls * clientData * coverPhotos * emailAddresses * events * externalIds * genders * imClients * interests * locales * locations * memberships * metadata * miscKeywords * names * nicknames * occupations * organizations * phoneNumbers * photos * relations * sipAddresses * skills * urls * userDefined - requestMask.includeField
string
: Required. Comma-separated list of person fields to be included in the response. Each path should start withperson.
: for example,person.names
orperson.photos
. - requestSyncToken
boolean
: Optional. Whether the response should includenext_sync_token
on the last page, which can be used to get all changes since the last request. For subsequent sync requests use thesync_token
param instead. Initial sync requests that specifyrequest_sync_token
have an additional rate limit. - sortOrder
string
(values: LAST_MODIFIED_ASCENDING, LAST_MODIFIED_DESCENDING, FIRST_NAME_ASCENDING, LAST_NAME_ASCENDING): Optional. The order in which the connections should be sorted. Defaults toLAST_MODIFIED_ASCENDING
. - sources
array
: Optional. A mask of what source types to return. Defaults to READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE if not set. - syncToken
string
: Optional. A sync token, received from a previousListConnections
call. Provide this to retrieve only the resources changed since the last request. Sync requests that specifysync_token
have an additional rate limit. When syncing, all other parameters provided toListConnections
must match the call that provided the sync token. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- resourceName required
Output
- output ListConnectionsResponse
people.contactGroups.members.modify
Modify the members of a contact group owned by the authenticated user. The only system contact groups that can have members added are contactGroups/myContacts
and contactGroups/starred
. Other system contact groups are deprecated and can only have contacts removed.
google_people.people.contactGroups.members.modify({
"resourceName": ""
}, context)
Input
- input
object
- resourceName required
string
: Required. The resource name of the contact group to modify. - body ModifyContactGroupMembersRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- resourceName required
Output
people.otherContacts.copyOtherContactToMyContactsGroup
Copies an "Other contact" to a new contact in the user's "myContacts" group
google_people.people.otherContacts.copyOtherContactToMyContactsGroup({
"resourceName": ""
}, context)
Input
- input
object
- resourceName required
string
: Required. The resource name of the "Other contact" to copy. - body CopyOtherContactToMyContactsGroupRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- resourceName required
Output
- output Person
people.people.deleteContact
Delete a contact person. Any non-contact data will not be deleted.
google_people.people.people.deleteContact({
"resourceName": ""
}, context)
Input
- input
object
- resourceName required
string
: Required. The resource name of the contact to delete. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- resourceName required
Output
- output Empty
people.people.deleteContactPhoto
Delete a contact's photo.
google_people.people.people.deleteContactPhoto({
"resourceName": ""
}, context)
Input
- input
object
- resourceName required
string
: Required. The resource name of the contact whose photo will be deleted. - personFields
string
: Optional. A field mask to restrict which fields on the person are returned. Multiple fields can be specified by separating them with commas. Defaults to empty if not set, which will skip the post mutate get. Valid values are: * addresses * ageRanges * biographies * birthdays * calendarUrls * clientData * coverPhotos * emailAddresses * events * externalIds * genders * imClients * interests * locales * locations * memberships * metadata * miscKeywords * names * nicknames * occupations * organizations * phoneNumbers * photos * relations * sipAddresses * skills * urls * userDefined - sources
array
: Optional. A mask of what source types to return. Defaults to READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE if not set. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- resourceName required
Output
- output DeleteContactPhotoResponse
people.people.updateContact
Update contact data for an existing contact person. Any non-contact data will not be modified. Any non-contact data in the person to update will be ignored. All fields specified in the update_mask
will be replaced. The server returns a 400 error if person.metadata.sources
is not specified for the contact to be updated or if there is no contact source. The server returns a 400 error with reason "failedPrecondition"
if person.metadata.sources.etag
is different than the contact's etag, which indicates the contact has changed since its data was read. Clients should get the latest person and merge their updates into the latest person. The server returns a 400 error if memberships
are being updated and there are no contact group memberships specified on the person. The server returns a 400 error if more than one field is specified on a field that is a singleton for contact sources: * biographies * birthdays * genders * names
google_people.people.people.updateContact({
"resourceName": ""
}, context)
Input
- input
object
- resourceName required
string
: The resource name for the person, assigned by the server. An ASCII string with a max length of 27 characters, in the form ofpeople/{person_id}
. - personFields
string
: Optional. A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas. Defaults to all fields if not set. Valid values are: * addresses * ageRanges * biographies * birthdays * calendarUrls * clientData * coverPhotos * emailAddresses * events * externalIds * genders * imClients * interests * locales * locations * memberships * metadata * miscKeywords * names * nicknames * occupations * organizations * phoneNumbers * photos * relations * sipAddresses * skills * urls * userDefined - sources
array
: Optional. A mask of what source types to return. Defaults to READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE if not set. - updatePersonFields
string
: Required. A field mask to restrict which fields on the person are updated. Multiple fields can be specified by separating them with commas. All updated fields will be replaced. Valid values are: * addresses * biographies * birthdays * calendarUrls * clientData * emailAddresses * events * externalIds * genders * imClients * interests * locales * locations * memberships * miscKeywords * names * nicknames * occupations * organizations * phoneNumbers * relations * sipAddresses * urls * userDefined - body Person
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- resourceName required
Output
- output Person
people.people.updateContactPhoto
Update a contact's photo.
google_people.people.people.updateContactPhoto({
"resourceName": ""
}, context)
Input
- input
object
- resourceName required
string
: Required. Person resource name - body UpdateContactPhotoRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- resourceName required
Output
- output UpdateContactPhotoResponse
Definitions
Address
- Address
object
: A person's physical address. May be a P.O. box or street address. All fields are optional.- city
string
: The city of the address. - country
string
: The country of the address. - countryCode
string
: The ISO 3166-1 alpha-2 country code of the address. - extendedAddress
string
: The extended address of the address; for example, the apartment number. - formattedType
string
: Output only. The type of the address translated and formatted in the viewer's account locale or theAccept-Language
HTTP header locale. - formattedValue
string
: The unstructured value of the address. If this is not set by the user it will be automatically constructed from structured values. - metadata FieldMetadata
- poBox
string
: The P.O. box of the address. - postalCode
string
: The postal code of the address. - region
string
: The region of the address; for example, the state or province. - streetAddress
string
: The street address. - type
string
: The type of the address. The type can be custom or one of these predefined values: *home
*work
*other
- city
AgeRangeType
- AgeRangeType
object
: A person's age range.- ageRange
string
(values: AGE_RANGE_UNSPECIFIED, LESS_THAN_EIGHTEEN, EIGHTEEN_TO_TWENTY, TWENTY_ONE_OR_OLDER): The age range. - metadata FieldMetadata
- ageRange
BatchGetContactGroupsResponse
- BatchGetContactGroupsResponse
object
: The response to a batch get contact groups request.- responses
array
: The list of responses for each requested contact group resource.- items ContactGroupResponse
- responses
Biography
- Biography
object
: A person's short biography.- contentType
string
(values: CONTENT_TYPE_UNSPECIFIED, TEXT_PLAIN, TEXT_HTML): The content type of the biography. - metadata FieldMetadata
- value
string
: The short biography.
- contentType
Birthday
- Birthday
object
: A person's birthday. At least one of thedate
andtext
fields are specified. Thedate
andtext
fields typically represent the same date, but are not guaranteed to.- date Date
- metadata FieldMetadata
- text
string
: A free-form string representing the user's birthday.
BraggingRights
- BraggingRights
object
: DEPRECATED: No data will be returned A person's bragging rights.- metadata FieldMetadata
- value
string
: The bragging rights; for example,climbed mount everest
.
CalendarUrl
- CalendarUrl
object
: A person's calendar URL.- formattedType
string
: Output only. The type of the calendar URL translated and formatted in the viewer's account locale or theAccept-Language
HTTP header locale. - metadata FieldMetadata
- type
string
: The type of the calendar URL. The type can be custom or one of these predefined values: *home
*freeBusy
*work
- url
string
: The calendar URL.
- formattedType
ClientData
- ClientData
object
: Arbitrary client data that is populated by clients. Duplicate keys and values are allowed.- key
string
: The client specified key of the client data. - metadata FieldMetadata
- value
string
: The client specified value of the client data.
- key
ContactGroup
- ContactGroup
object
: A contact group.- etag
string
: The HTTP entity tag of the resource. Used for web cache validation. - formattedName
string
: Output only. The name translated and formatted in the viewer's account locale or theAccept-Language
HTTP header locale for system groups names. Group names set by the owner are the same as name. - groupType
string
(values: GROUP_TYPE_UNSPECIFIED, USER_CONTACT_GROUP, SYSTEM_CONTACT_GROUP): Output only. The contact group type. - memberCount
integer
: Output only. The total number of contacts in the group irrespective of max members in specified in the request. - memberResourceNames
array
: Output only. The list of contact person resource names that are members of the contact group. The field is not populated for LIST requests and can only be updated through the ModifyContactGroupMembers.- items
string
- items
- metadata ContactGroupMetadata
- name
string
: The contact group name set by the group owner or a system provided name for system groups. - resourceName
string
: The resource name for the contact group, assigned by the server. An ASCII string, in the form ofcontactGroups/{contact_group_id}
.
- etag
ContactGroupMembership
- ContactGroupMembership
object
: A Google contact group membership.- contactGroupId
string
: Output only. The contact group ID for the contact group membership. - contactGroupResourceName
string
: The resource name for the contact group, assigned by the server. An ASCII string, in the form ofcontactGroups/{contact_group_id}
. Only contact_group_resource_name can be used for modifying memberships. Any contact group membership can be removed, but only user group or "myContacts" or "starred" system groups memberships can be added. A contact must always have at least one contact group membership.
- contactGroupId
ContactGroupMetadata
- ContactGroupMetadata
object
: The metadata about a contact group.- deleted
boolean
: Output only. True if the contact group resource has been deleted. Populated only forListContactGroups
requests that include a sync token. - updateTime
string
: Output only. The time the group was last updated.
- deleted
ContactGroupResponse
- ContactGroupResponse
object
: The response for a specific contact group.- contactGroup ContactGroup
- requestedResourceName
string
: The original requested resource name. - status Status
CopyOtherContactToMyContactsGroupRequest
- CopyOtherContactToMyContactsGroupRequest
object
: A request to copy an "Other contact" to my contacts group.- copyMask
string
: Required. A field mask to restrict which fields are copied into the new contact. Valid values are: * emailAddresses * names * phoneNumbers - readMask
string
: Optional. A field mask to restrict which fields on the person are returned. Multiple fields can be specified by separating them with commas. Defaults to the copy mask with metadata and membership fields if not set. Valid values are: * addresses * ageRanges * biographies * birthdays * calendarUrls * clientData * coverPhotos * emailAddresses * events * externalIds * genders * imClients * interests * locales * locations * memberships * metadata * miscKeywords * names * nicknames * occupations * organizations * phoneNumbers * photos * relations * sipAddresses * skills * urls * userDefined - sources
array
: Optional. A mask of what source types to return. Defaults to READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE if not set.- items
string
(values: READ_SOURCE_TYPE_UNSPECIFIED, READ_SOURCE_TYPE_PROFILE, READ_SOURCE_TYPE_CONTACT, READ_SOURCE_TYPE_DOMAIN_CONTACT)
- items
- copyMask
CoverPhoto
- CoverPhoto
object
: A person's cover photo. A large image shown on the person's profile page that represents who they are or what they care about.- metadata FieldMetadata
- url
string
: The URL of the cover photo.
CreateContactGroupRequest
- CreateContactGroupRequest
object
: A request to create a new contact group.- contactGroup ContactGroup
Date
- Date
object
: Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay andgoogle.protobuf.Timestamp
.- day
integer
: Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. - month
integer
: Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. - year
integer
: Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
- day
DeleteContactPhotoResponse
- DeleteContactPhotoResponse
object
: The response for deleteing a contact's photo.- person Person
DomainMembership
- DomainMembership
object
: A G Suite Domain membership.- inViewerDomain
boolean
: True if the person is in the viewer's G Suite domain.
- inViewerDomain
EmailAddress
- EmailAddress
object
: A person's email address.- displayName
string
: The display name of the email. - formattedType
string
: Output only. The type of the email address translated and formatted in the viewer's account locale or theAccept-Language
HTTP header locale. - metadata FieldMetadata
- type
string
: The type of the email address. The type can be custom or one of these predefined values: *home
*work
*other
- value
string
: The email address.
- displayName
Empty
- Empty
object
: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation forEmpty
is empty JSON object{}
.
Event
- Event
object
: An event related to the person.- date Date
- formattedType
string
: Output only. The type of the event translated and formatted in the viewer's account locale or theAccept-Language
HTTP header locale. - metadata FieldMetadata
- type
string
: The type of the event. The type can be custom or one of these predefined values: *anniversary
*other
ExternalId
- ExternalId
object
: An identifier from an external entity related to the person.- formattedType
string
: Output only. The type of the event translated and formatted in the viewer's account locale or theAccept-Language
HTTP header locale. - metadata FieldMetadata
- type
string
: The type of the external ID. The type can be custom or one of these predefined values: *account
*customer
*loginId
*network
*organization
- value
string
: The value of the external ID.
- formattedType
FieldMetadata
- FieldMetadata
object
: Metadata about a field.- primary
boolean
: True if the field is the primary field; false if the field is a secondary field. - source Source
- verified
boolean
: Output only. True if the field is verified; false if the field is unverified. A verified field is typically a name, email address, phone number, or website that has been confirmed to be owned by the person.
- primary
FileAs
- FileAs
object
: The name that should be used to sort the person in a list.- metadata FieldMetadata
- value
string
: The file-as value
Gender
- Gender
object
: A person's gender.- addressMeAs
string
: The type of pronouns that should be used to address the person. The value can be custom or one of these predefined values: *male
*female
*other
- formattedValue
string
: Output only. The value of the gender translated and formatted in the viewer's account locale or theAccept-Language
HTTP header locale. Unspecified or custom value are not localized. - metadata FieldMetadata
- value
string
: The gender for the person. The gender can be custom or one of these predefined values: *male
*female
*unspecified
- addressMeAs
GetPeopleResponse
- GetPeopleResponse
object
: The response to a get request for a list of people by resource name.- responses
array
: The response for each requested resource name.- items PersonResponse
- responses
ImClient
- ImClient
object
: A person's instant messaging client.- formattedProtocol
string
: Output only. The protocol of the IM client formatted in the viewer's account locale or theAccept-Language
HTTP header locale. - formattedType
string
: Output only. The type of the IM client translated and formatted in the viewer's account locale or theAccept-Language
HTTP header locale. - metadata FieldMetadata
- protocol
string
: The protocol of the IM client. The protocol can be custom or one of these predefined values: *aim
*msn
*yahoo
*skype
*qq
*googleTalk
*icq
*jabber
*netMeeting
- type
string
: The type of the IM client. The type can be custom or one of these predefined values: *home
*work
*other
- username
string
: The user name used in the IM client.
- formattedProtocol
Interest
- Interest
object
: One of the person's interests.- metadata FieldMetadata
- value
string
: The interest; for example,stargazing
.
ListConnectionsResponse
- ListConnectionsResponse
object
: The response to a request for the authenticated user's connections.- connections
array
: The list of people that the requestor is connected to.- items Person
- nextPageToken
string
: A token, which can be sent aspage_token
to retrieve the next page. If this field is omitted, there are no subsequent pages. - nextSyncToken
string
: A token, which can be sent assync_token
to retrieve changes since the last request. Request must setrequest_sync_token
to return the sync token. When the response is paginated, only the last page will containnextSyncToken
. - totalItems
integer
: The total number of items in the list without pagination. - totalPeople
integer
: DEPRECATED (Please use totalItems) The total number of people in the list without pagination.
- connections
ListContactGroupsResponse
- ListContactGroupsResponse
object
: The response to a list contact groups request.- contactGroups
array
: The list of contact groups. Members of the contact groups are not populated.- items ContactGroup
- nextPageToken
string
: The token that can be used to retrieve the next page of results. - nextSyncToken
string
: The token that can be used to retrieve changes since the last request. - totalItems
integer
: The total number of items in the list without pagination.
- contactGroups
ListDirectoryPeopleResponse
- ListDirectoryPeopleResponse
object
: The response to a request for the authenticated user's domain directory.- nextPageToken
string
: A token, which can be sent aspage_token
to retrieve the next page. If this field is omitted, there are no subsequent pages. - nextSyncToken
string
: A token, which can be sent assync_token
to retrieve changes since the last request. Request must setrequest_sync_token
to return the sync token. - people
array
: The list of people in the domain directory.- items Person
- nextPageToken
ListOtherContactsResponse
- ListOtherContactsResponse
object
: The response to a request for the authenticated user's "Other contacts".- nextPageToken
string
: A token, which can be sent aspage_token
to retrieve the next page. If this field is omitted, there are no subsequent pages. - nextSyncToken
string
: A token, which can be sent assync_token
to retrieve changes since the last request. Request must setrequest_sync_token
to return the sync token. - otherContacts
array
: The list of "Other contacts" returned as Person resources. "Other contacts" support a limited subset of fields. See ListOtherContactsRequest.request_mask for more detailed information.- items Person
- nextPageToken
Locale
- Locale
object
: A person's locale preference.- metadata FieldMetadata
- value
string
: The well-formed IETF BCP 47 language tag representing the locale.
Location
- Location
object
: A person's location.- buildingId
string
: The building identifier. - current
boolean
: Whether the location is the current location. - deskCode
string
: The individual desk location. - floor
string
: The floor name or number. - floorSection
string
: The floor section infloor_name
. - metadata FieldMetadata
- type
string
: The type of the location. The type can be custom or one of these predefined values: *desk
*grewUp
- value
string
: The free-form value of the location.
- buildingId
Membership
- Membership
object
: A person's membership in a group. Only contact group memberships can be modified.- contactGroupMembership ContactGroupMembership
- domainMembership DomainMembership
- metadata FieldMetadata
MiscKeyword
- MiscKeyword
object
: A person's miscellaneous keyword.- formattedType
string
: Output only. The type of the miscellaneous keyword translated and formatted in the viewer's account locale or theAccept-Language
HTTP header locale. - metadata FieldMetadata
- type
string
(values: TYPE_UNSPECIFIED, OUTLOOK_BILLING_INFORMATION, OUTLOOK_DIRECTORY_SERVER, OUTLOOK_KEYWORD, OUTLOOK_MILEAGE, OUTLOOK_PRIORITY, OUTLOOK_SENSITIVITY, OUTLOOK_SUBJECT, OUTLOOK_USER, HOME, WORK, OTHER): The miscellaneous keyword type. - value
string
: The value of the miscellaneous keyword.
- formattedType
ModifyContactGroupMembersRequest
- ModifyContactGroupMembersRequest
object
: A request to modify an existing contact group's members. Contacts can be removed from any group but they can only be added to a user group or "myContacts" or "starred" system groups.- resourceNamesToAdd
array
: Optional. The resource names of the contact people to add in the form ofpeople/{person_id}
. The total number of resource names inresource_names_to_add
andresource_names_to_remove
must be less than or equal to 1000.- items
string
- items
- resourceNamesToRemove
array
: Optional. The resource names of the contact people to remove in the form ofpeople/{person_id}
. The total number of resource names inresource_names_to_add
andresource_names_to_remove
must be less than or equal to 1000.- items
string
- items
- resourceNamesToAdd
ModifyContactGroupMembersResponse
- ModifyContactGroupMembersResponse
object
: The response to a modify contact group members request.- canNotRemoveLastContactGroupResourceNames
array
: The contact people resource names that cannot be removed from their last contact group.- items
string
- items
- notFoundResourceNames
array
: The contact people resource names that were not found.- items
string
- items
- canNotRemoveLastContactGroupResourceNames
Name
- Name
object
: A person's name. If the name is a mononym, the family name is empty.- displayName
string
: Output only. The display name formatted according to the locale specified by the viewer's account or theAccept-Language
HTTP header. - displayNameLastFirst
string
: Output only. The display name with the last name first formatted according to the locale specified by the viewer's account or theAccept-Language
HTTP header. - familyName
string
: The family name. - givenName
string
: The given name. - honorificPrefix
string
: The honorific prefixes, such asMrs.
orDr.
- honorificSuffix
string
: The honorific suffixes, such asJr.
- metadata FieldMetadata
- middleName
string
: The middle name(s). - phoneticFamilyName
string
: The family name spelled as it sounds. - phoneticFullName
string
: The full name spelled as it sounds. - phoneticGivenName
string
: The given name spelled as it sounds. - phoneticHonorificPrefix
string
: The honorific prefixes spelled as they sound. - phoneticHonorificSuffix
string
: The honorific suffixes spelled as they sound. - phoneticMiddleName
string
: The middle name(s) spelled as they sound. - unstructuredName
string
: The free form name value.
- displayName
Nickname
- Nickname
object
: A person's nickname.- metadata FieldMetadata
- type
string
(values: DEFAULT, MAIDEN_NAME, INITIALS, GPLUS, OTHER_NAME, ALTERNATE_NAME, SHORT_NAME): The type of the nickname. - value
string
: The nickname.
Occupation
- Occupation
object
: A person's occupation.- metadata FieldMetadata
- value
string
: The occupation; for example,carpenter
.
Organization
- Organization
object
: A person's past or current organization. Overlapping date ranges are permitted.- current
boolean
: True if the organization is the person's current organization; false if the organization is a past organization. - department
string
: The person's department at the organization. - domain
string
: The domain name associated with the organization; for example,google.com
. - endDate Date
- formattedType
string
: Output only. The type of the organization translated and formatted in the viewer's account locale or theAccept-Language
HTTP header locale. - jobDescription
string
: The person's job description at the organization. - location
string
: The location of the organization office the person works at. - metadata FieldMetadata
- name
string
: The name of the organization. - phoneticName
string
: The phonetic name of the organization. - startDate Date
- symbol
string
: The symbol associated with the organization; for example, a stock ticker symbol, abbreviation, or acronym. - title
string
: The person's job title at the organization. - type
string
: The type of the organization. The type can be custom or one of these predefined values: *work
*school
- current
Person
- Person
object
: Information about a person merged from various data sources such as the authenticated user's contacts and profile data. Most fields can have multiple items. The items in a field have no guaranteed order, but each non-empty field is guaranteed to have exactly one field withmetadata.primary
set to true.- addresses
array
: The person's street addresses.- items Address
- ageRange
string
(values: AGE_RANGE_UNSPECIFIED, LESS_THAN_EIGHTEEN, EIGHTEEN_TO_TWENTY, TWENTY_ONE_OR_OLDER): Output only. DEPRECATED (Please useperson.ageRanges
instead) The person's age range. - ageRanges
array
: Output only. The person's age ranges.- items AgeRangeType
- biographies
array
: The person's biographies. This field is a singleton for contact sources.- items Biography
- birthdays
array
: The person's birthdays. This field is a singleton for contact sources.- items Birthday
- braggingRights
array
: DEPRECATED: No data will be returned The person's bragging rights.- items BraggingRights
- calendarUrls
array
: The person's calendar URLs.- items CalendarUrl
- clientData
array
: The person's client data.- items ClientData
- coverPhotos
array
: Output only. The person's cover photos.- items CoverPhoto
- emailAddresses
array
: The person's email addresses.- items EmailAddress
- etag
string
: The HTTP entity tag of the resource. Used for web cache validation. - events
array
: The person's events.- items Event
- externalIds
array
: The person's external IDs.- items ExternalId
- fileAses
array
: The person's file-ases.- items FileAs
- genders
array
: The person's genders. This field is a singleton for contact sources.- items Gender
- imClients
array
: The person's instant messaging clients.- items ImClient
- interests
array
: The person's interests.- items Interest
- locales
array
: The person's locale preferences.- items Locale
- locations
array
: The person's locations.- items Location
- memberships
array
: The person's group memberships.- items Membership
- metadata PersonMetadata
- miscKeywords
array
: The person's miscellaneous keywords.- items MiscKeyword
- names
array
: The person's names. This field is a singleton for contact sources.- items Name
- nicknames
array
: The person's nicknames.- items Nickname
- occupations
array
: The person's occupations.- items Occupation
- organizations
array
: The person's past or current organizations.- items Organization
- phoneNumbers
array
: The person's phone numbers.- items PhoneNumber
- photos
array
: Output only. The person's photos.- items Photo
- relations
array
: The person's relations.- items Relation
- relationshipInterests
array
: Output only. DEPRECATED: No data will be returned The person's relationship interests.- items RelationshipInterest
- relationshipStatuses
array
: Output only. DEPRECATED: No data will be returned The person's relationship statuses.- items RelationshipStatus
- residences
array
: DEPRECATED: (Please useperson.locations
instead) The person's residences.- items Residence
- resourceName
string
: The resource name for the person, assigned by the server. An ASCII string with a max length of 27 characters, in the form ofpeople/{person_id}
.
- addresses