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_ContactGroups_Resource

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

 $peopleService = new Google_Service_PeopleService(...);
 $contactGroups = $peopleService->contactGroups;
Google_Service_Resource
Extended by Google_Service_PeopleService_ContactGroups_Resource
Located at PeopleService.php
Methods summary
public Google_Service_PeopleService_BatchGetContactGroupsResponse
# batchGet( array $optParams = array() )

Get a list of contact groups owned by the authenticated user by specifying a list of contact group resource names. (contactGroups.batchGet)

Get a list of contact groups owned by the authenticated user by specifying a list of contact group resource names. (contactGroups.batchGet)

Parameters

$optParams
Optional parameters.

Returns

Google_Service_PeopleService_BatchGetContactGroupsResponse
Google_Service_PeopleService_BatchGetContactGroupsResponse

Opt_param

int maxMembers Optional. Specifies the maximum number of members to return for each group. Defaults to 0 if not set, which will return zero members.
string resourceNames Required. The resource names of the contact groups to get.
public Google_Service_PeopleService_ContactGroup
# create( Google_Service_PeopleService_CreateContactGroupRequest $postBody, array $optParams = array() )

Create a new contact group owned by the authenticated user. (contactGroups.create)

Create a new contact group owned by the authenticated user. (contactGroups.create)

Parameters

$postBody
$optParams
Optional parameters.

Returns

Google_Service_PeopleService_ContactGroup
Google_Service_PeopleService_ContactGroup
public Google_Service_PeopleService_PeopleEmpty
# delete( string $resourceName, array $optParams = array() )

Delete an existing contact group owned by the authenticated user by specifying a contact group resource name. (contactGroups.delete)

Delete an existing contact group owned by the authenticated user by specifying a contact group resource name. (contactGroups.delete)

Parameters

$resourceName
Required. The resource name of the contact group to delete.
$optParams
Optional parameters.

Returns

Google_Service_PeopleService_PeopleEmpty
Google_Service_PeopleService_PeopleEmpty

Opt_param

bool deleteContacts Optional. Set to true to also delete the contacts in the specified group.
public Google_Service_PeopleService_ContactGroup
# get( string $resourceName, array $optParams = array() )

Get a specific contact group owned by the authenticated user by specifying a contact group resource name. (contactGroups.get)

Get a specific contact group owned by the authenticated user by specifying a contact group resource name. (contactGroups.get)

Parameters

$resourceName
Required. The resource name of the contact group to get.
$optParams
Optional parameters.

Returns

Google_Service_PeopleService_ContactGroup
Google_Service_PeopleService_ContactGroup

Opt_param

int maxMembers Optional. Specifies the maximum number of members to return. Defaults to 0 if not set, which will return zero members.
public Google_Service_PeopleService_ListContactGroupsResponse
# listContactGroups( array $optParams = array() )

List all contact groups owned by the authenticated user. Members of the contact groups are not populated. (contactGroups.listContactGroups)

List all contact groups owned by the authenticated user. Members of the contact groups are not populated. (contactGroups.listContactGroups)

Parameters

$optParams
Optional parameters.

Returns

Google_Service_PeopleService_ListContactGroupsResponse
Google_Service_PeopleService_ListContactGroupsResponse

Opt_param

string syncToken Optional. A sync token, returned by a previous call to contactgroups.list. Only resources changed since the sync token was created will be returned.
string pageToken Optional. The next_page_token value returned from a previous call to ListContactGroups. Requests the next page of resources.
int pageSize 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.
public Google_Service_PeopleService_ContactGroup
# update( string $resourceName, Google_Service_PeopleService_UpdateContactGroupRequest $postBody, array $optParams = array() )

Update the name of an existing contact group owned by the authenticated user. (contactGroups.update)

Update the name of an existing contact group owned by the authenticated user. (contactGroups.update)

Parameters

$resourceName
The resource name for the contact group, assigned by the server. An ASCII string, in the form of <code>contactGroups/{contact_group_id}</code>.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_PeopleService_ContactGroup
Google_Service_PeopleService_ContactGroup
© 2020 Google Inc.
People API documentation generated by ApiGen 2.8.0