npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@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

Output

  • output object
    • access_token string
    • refresh_token string
    • token_type string
    • scope string
    • expiration string

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

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 to contactgroups.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").

Output

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

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

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 previous ListOtherContacts call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListOtherContacts 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 include next_sync_token, which can be used to get all changes since the last request. For subsequent sync requests use the sync_token param instead. Initial sync requests that specify request_sync_token have an additional rate limit.
    • syncToken string: Optional. A sync token, received from a previous ListOtherContacts call. Provide this to retrieve only the resources changed since the last request. Sync requests that specify sync_token have an additional rate limit. When syncing, all other parameters provided to ListOtherContacts 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").

Output

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 with person.: for example, person.names or person.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, specify people/me. - To get information about a google account, specify people/{account_id}. - To get information about a contact, specify the resource name that identifies the contact as returned by people.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").

Output

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

Output

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 previous ListDirectoryPeople call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListDirectoryPeople 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 include next_sync_token, which can be used to get all changes since the last request. For subsequent sync requests use the sync_token param instead.
    • sources array: Required. Directory sources to return.
    • syncToken string: Optional. A sync token, received from a previous ListDirectoryPeople call. Provide this to retrieve only the resources changed since the last request. When syncing, all other parameters provided to ListDirectoryPeople 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").

Output

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 previous SearchDirectoryPeople call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchDirectoryPeople 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").

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

Output

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, specify people/me. - To get information about a google account, specify people/{account_id}. - To get information about a contact, specify the resource name that identifies the contact as returned by people.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 with person.: for example, person.names or person.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").

Output

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 of contactGroups/{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").

Output

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. Only people/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 previous ListConnections call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListConnections 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 with person.: for example, person.names or person.photos.
    • requestSyncToken boolean: Optional. Whether the response should include next_sync_token on the last page, which can be used to get all changes since the last request. For subsequent sync requests use the sync_token param instead. Initial sync requests that specify request_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 to LAST_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 previous ListConnections call. Provide this to retrieve only the resources changed since the last request. Sync requests that specify sync_token have an additional rate limit. When syncing, all other parameters provided to ListConnections 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").

Output

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

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

Output

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

Output

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

Output

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 of people/{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").

Output

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

Output

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 the Accept-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

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

BatchGetContactGroupsResponse

  • BatchGetContactGroupsResponse object: The response to a batch get contact groups request.
    • responses array: The list of responses for each requested contact group resource.

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.

Birthday

  • Birthday object: A person's birthday. At least one of the date and text fields are specified. The date and text 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 the Accept-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.

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.

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 the Accept-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
    • 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 of contactGroups/{contact_group_id}.

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 of contactGroups/{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.

ContactGroupMetadata

  • ContactGroupMetadata object: The metadata about a contact group.
    • deleted boolean: Output only. True if the contact group resource has been deleted. Populated only for ListContactGroups requests that include a sync token.
    • updateTime string: Output only. The time the group was last updated.

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)

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.

CreateContactGroupRequest

  • CreateContactGroupRequest object: A request to create a new contact group.

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

DeleteContactPhotoResponse

  • DeleteContactPhotoResponse object: The response for deleteing a contact's photo.

DomainMembership

  • DomainMembership object: A G Suite Domain membership.
    • inViewerDomain boolean: True if the person is in the viewer's G Suite domain.

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

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 for Empty 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 the Accept-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 the Accept-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.

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.

FileAs

  • FileAs object: The name that should be used to sort the person in a list.

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 the Accept-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

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.

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 the Accept-Language HTTP header locale.
    • formattedType string: Output only. The type of the IM client translated and formatted in the viewer's account locale or the Accept-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.

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.
    • nextPageToken string: A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
    • nextSyncToken string: A token, which can be sent as sync_token to retrieve changes since the last request. Request must set request_sync_token to return the sync token. When the response is paginated, only the last page will contain nextSyncToken.
    • 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.

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

ListDirectoryPeopleResponse

  • ListDirectoryPeopleResponse object: The response to a request for the authenticated user's domain directory.
    • nextPageToken string: A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
    • nextSyncToken string: A token, which can be sent as sync_token to retrieve changes since the last request. Request must set request_sync_token to return the sync token.
    • people array: The list of people in the domain directory.

ListOtherContactsResponse

  • ListOtherContactsResponse object: The response to a request for the authenticated user's "Other contacts".
    • nextPageToken string: A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
    • nextSyncToken string: A token, which can be sent as sync_token to retrieve changes since the last request. Request must set request_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.

Locale

  • Locale object: A person's locale preference.

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

Membership

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

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 of people/{person_id}. The total number of resource names in resource_names_to_add and resource_names_to_remove must be less than or equal to 1000.
      • items string
    • resourceNamesToRemove array: Optional. The resource names of the contact people to remove in the form of people/{person_id}. The total number of resource names in resource_names_to_add and resource_names_to_remove must be less than or equal to 1000.
      • items string

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
    • notFoundResourceNames array: The contact people resource names that were not found.
      • items string

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 the Accept-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 the Accept-Language HTTP header.
    • familyName string: The family name.
    • givenName string: The given name.
    • honorificPrefix string: The honorific prefixes, such as Mrs. or Dr.
    • honorificSuffix string: The honorific suffixes, such as Jr.
    • 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.

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 the Accept-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

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 with metadata.primary set to true.
    • addresses array: The person's street addresses.
    • ageRange string (values: AGE_RANGE_UNSPECIFIED, LESS_THAN_EIGHTEEN, EIGHTEEN_TO_TWENTY, TWENTY_ONE_OR_OLDER): Output only. DEPRECATED (Please use person.ageRanges instead) The person's age range.
    • ageRanges array: Output only. The person's age ranges.
    • biographies array: The person's biographies. This field is a singleton for contact sources.
    • birthdays array: The person's birthdays. This field is a singleton for contact sources.
    • braggingRights array: DEPRECATED: No data will be returned The person's bragging rights.
    • calendarUrls array: The person's calendar URLs.
    • clientData array: The person's client data.
    • coverPhotos array: Output only. The person's cover photos.
    • emailAddresses array: The person's email addresses.
    • etag string: The HTTP entity tag of the resource. Used for web cache validation.
    • events array: The person's events.
    • externalIds array: The person's external IDs.
    • fileAses array: The person's file-ases.
    • genders array: The person's genders. This field is a singleton for contact sources.
    • imClients array: The person's instant messaging clients.
    • interests array: The person's interests.
    • locales array: The person's locale preferences.
    • locations array: The person's locations.
    • memberships array: The person's group memberships.
    • metadata PersonMetadata
    • miscKeywords array: The person's miscellaneous keywords.
    • names array: The person's names. This field is a singleton for contact sources.
    • nicknames array: The person's nicknames.
    • occupations array: The person's occupations.
    • organizations array: The person's past or current organizations.
    • phoneNumbers array: The person's phone numbers.
    • photos array: Output only. The person's photos.
    • relations array: The person's relations.
    • relationshipInterests array: Output only. DEPRECATED: No data will be returned The person's relationship interests.
    • relationshipStatuses array: Output only. DEPRECATED: No data will be returned The person's relationship statuses.
    • residences array: DEPRECATED: (Please use person.locations instead) The person's residences.
    • 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 of people/{person_id}.