class ContactGroupsMembers extends Resource (View source)

The "members" collection of methods.

Typical usage is:

 $peopleService = new Google\Service\PeopleService(...);
 $members = $peopleService->contactGroups_members;

Methods

modify(string $resourceName, ModifyContactGroupMembersRequest $postBody, array $optParams = [])

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. (members.modify)

Details

ModifyContactGroupMembersResponse modify(string $resourceName, ModifyContactGroupMembersRequest $postBody, array $optParams = [])

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. (members.modify)

Parameters

string $resourceName

Required. The resource name of the contact group to modify.

ModifyContactGroupMembersRequest $postBody
array $optParams

Optional parameters.

Return Value

ModifyContactGroupMembersResponse

Exceptions

Exception