Overview

Classes

  • Google_Service_PeopleService
  • Google_Service_PeopleService_Address
  • Google_Service_PeopleService_AgeRangeType
  • Google_Service_PeopleService_BatchGetContactGroupsResponse
  • Google_Service_PeopleService_Biography
  • Google_Service_PeopleService_Birthday
  • Google_Service_PeopleService_BraggingRights
  • Google_Service_PeopleService_ContactGroup
  • Google_Service_PeopleService_ContactGroupMembership
  • Google_Service_PeopleService_ContactGroupMetadata
  • Google_Service_PeopleService_ContactGroupResponse
  • Google_Service_PeopleService_ContactGroups_Resource
  • Google_Service_PeopleService_ContactGroupsMembers_Resource
  • Google_Service_PeopleService_CoverPhoto
  • Google_Service_PeopleService_CreateContactGroupRequest
  • Google_Service_PeopleService_Date
  • Google_Service_PeopleService_DeleteContactPhotoResponse
  • Google_Service_PeopleService_DomainMembership
  • Google_Service_PeopleService_EmailAddress
  • Google_Service_PeopleService_Event
  • Google_Service_PeopleService_FieldMetadata
  • Google_Service_PeopleService_Gender
  • Google_Service_PeopleService_GetPeopleResponse
  • Google_Service_PeopleService_ImClient
  • Google_Service_PeopleService_Interest
  • Google_Service_PeopleService_ListConnectionsResponse
  • Google_Service_PeopleService_ListContactGroupsResponse
  • Google_Service_PeopleService_Locale
  • Google_Service_PeopleService_Membership
  • Google_Service_PeopleService_ModifyContactGroupMembersRequest
  • Google_Service_PeopleService_ModifyContactGroupMembersResponse
  • Google_Service_PeopleService_Name
  • Google_Service_PeopleService_Nickname
  • Google_Service_PeopleService_Occupation
  • Google_Service_PeopleService_Organization
  • Google_Service_PeopleService_People_Resource
  • Google_Service_PeopleService_PeopleConnections_Resource
  • Google_Service_PeopleService_PeopleEmpty
  • Google_Service_PeopleService_Person
  • Google_Service_PeopleService_PersonMetadata
  • Google_Service_PeopleService_PersonResponse
  • Google_Service_PeopleService_PhoneNumber
  • Google_Service_PeopleService_Photo
  • Google_Service_PeopleService_ProfileMetadata
  • Google_Service_PeopleService_Relation
  • Google_Service_PeopleService_RelationshipInterest
  • Google_Service_PeopleService_RelationshipStatus
  • Google_Service_PeopleService_Residence
  • Google_Service_PeopleService_SipAddress
  • Google_Service_PeopleService_Skill
  • Google_Service_PeopleService_Source
  • Google_Service_PeopleService_Status
  • Google_Service_PeopleService_Tagline
  • Google_Service_PeopleService_UpdateContactGroupRequest
  • Google_Service_PeopleService_UpdateContactPhotoRequest
  • Google_Service_PeopleService_UpdateContactPhotoResponse
  • Google_Service_PeopleService_Url
  • Google_Service_PeopleService_UserDefined
  • Overview
  • Class
  • Tree

Class Google_Service_PeopleService_PeopleConnections_Resource

The "connections" collection of methods. Typical usage is:

 $peopleService = new Google_Service_PeopleService(...);
 $connections = $peopleService->connections;
Google_Service_Resource
Extended by Google_Service_PeopleService_PeopleConnections_Resource
Located at PeopleService.php
Methods summary
public Google_Service_PeopleService_ListConnectionsResponse
# listPeopleConnections( string $resourceName, array $optParams = array() )

Provides a list of the authenticated user's contacts merged with any connected profiles.

Provides a list of the authenticated user's contacts merged with any connected profiles.

The request throws a 400 error if 'personFields' is not specified. (connections.listPeopleConnections)

Parameters

$resourceName
Required. The resource name to return connections for. Only <code>people/me</code> is valid.
$optParams
Optional parameters.

Returns

Google_Service_PeopleService_ListConnectionsResponse
Google_Service_PeopleService_ListConnectionsResponse

Opt_param

string syncToken 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.
string personFields 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 * braggingRights * coverPhotos * emailAddresses * events * genders * imClients * interests * locales * memberships * metadata * names * nicknames * occupations * organizations * phoneNumbers * photos * relations * relationshipInterests * relationshipStatuses * residences * sipAddresses * skills * taglines * urls * userDefined
string sortOrder Optional. The order in which the connections should be sorted. Defaults to LAST_MODIFIED_ASCENDING.
bool requestSyncToken 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.
string pageToken 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.
int pageSize Optional. The number of connections to include in the response. Valid values are between 1 and 2000, inclusive. Defaults to 100 if not set or set to 0.
string requestMask.includeField 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.
© 2020 Google Inc.
People API documentation generated by ApiGen 2.8.0