Members
class Members extends Resource (View source)
The "members" collection of methods.
Typical usage is:
$adminService = new Google\Service\Directory(...);
$members = $adminService->members;
Methods
Removes a member from a group. (members.delete)
Retrieves a group member's properties. (members.get)
Checks whether the given user is a member of the group. Membership can be
direct or nested, but if nested, the memberKey
and groupKey
must be
entities in the same domain or an Invalid input
error is returned. To check
for nested memberships that include entities outside of the group's domain,
use the checkTransitiveMembership()
method in
the Cloud Identity Groups API. (members.hasMember)
Retrieves a paginated list of all members in a group. This method times out after 60 minutes. For more information, see Troubleshoot error codes. (members.listMembers)
Updates the membership properties of a user in the specified group. This method supports patch semantics. (members.patch)
Details
delete(string $groupKey, string $memberKey, array $optParams = [])
Removes a member from a group. (members.delete)
Member
get(string $groupKey, string $memberKey, array $optParams = [])
Retrieves a group member's properties. (members.get)
MembersHasMember
hasMember(string $groupKey, string $memberKey, array $optParams = [])
Checks whether the given user is a member of the group. Membership can be
direct or nested, but if nested, the memberKey
and groupKey
must be
entities in the same domain or an Invalid input
error is returned. To check
for nested memberships that include entities outside of the group's domain,
use the checkTransitiveMembership()
method in
the Cloud Identity Groups API. (members.hasMember)
Member
insert(string $groupKey, Member $postBody, array $optParams = [])
Adds a user to the specified group. (members.insert)
Members
listMembers(string $groupKey, array $optParams = [])
Retrieves a paginated list of all members in a group. This method times out after 60 minutes. For more information, see Troubleshoot error codes. (members.listMembers)
Member
patch(string $groupKey, string $memberKey, Member $postBody, array $optParams = [])
Updates the membership properties of a user in the specified group. This method supports patch semantics. (members.patch)