/var/www/flurhymez/vendor/google/apiclient-services/src/Directory/Resource
NameSizeModeActions
Asps.php27820644editdlrm
Channels.php14490644editdlrm
Chromeosdevices.php93170644editdlrm
Customer.php10460644editdlrm
CustomerDevices.php10640644editdlrm
CustomerDevicesChromeos.php20540644editdlrm
CustomerDevicesChromeosCommands.php19290644editdlrm
Customers.php25550644editdlrm
CustomersChrome.php10610644editdlrm
CustomersChromePrinters.php75370644editdlrm
DomainAliases.php34330644editdlrm
Domains.php31310644editdlrm
Groups.php54650644editdlrm
GroupsAliases.php27680644editdlrm
Members.php68970644editdlrm
Mobiledevices.php53470644editdlrm
Orgunits.php65340644editdlrm
Privileges.php16140644editdlrm
Resources.php10520644editdlrm
ResourcesBuildings.php56210644editdlrm
ResourcesCalendars.php71240644editdlrm
ResourcesFeatures.php60300644editdlrm
RoleAssignments.php38270644editdlrm
Roles.php42400644editdlrm
Schemas.php42830644editdlrm
Tokens.php29930644editdlrm
TwoStepVerification.php16120644editdlrm
Users.php106170644editdlrm
UsersAliases.php33980644editdlrm
UsersPhotos.php33370644editdlrm
VerificationCodes.php26650644editdlrm
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/Directory/Resource/Members.php (6897B)
* $adminService = new Google\Service\Directory(...); * $members = $adminService->members; * */ class Members extends \Google\Service\Resource { /** * Removes a member from a group. (members.delete) * * @param string $groupKey Identifies the group in the API request. The value * can be the group's email address, group alias, or the unique group ID. * @param string $memberKey Identifies the group member in the API request. A * group member can be a user or another group. The value can be the member's * (group or user) primary email address, alias, or unique ID. * @param array $optParams Optional parameters. */ public function delete($groupKey, $memberKey, $optParams = []) { $params = ['groupKey' => $groupKey, 'memberKey' => $memberKey]; $params = array_merge($params, $optParams); return $this->call('delete', [$params]); } /** * Retrieves a group member's properties. (members.get) * * @param string $groupKey Identifies the group in the API request. The value * can be the group's email address, group alias, or the unique group ID. * @param string $memberKey Identifies the group member in the API request. A * group member can be a user or another group. The value can be the member's * (group or user) primary email address, alias, or unique ID. * @param array $optParams Optional parameters. * @return Member */ public function get($groupKey, $memberKey, $optParams = []) { $params = ['groupKey' => $groupKey, 'memberKey' => $memberKey]; $params = array_merge($params, $optParams); return $this->call('get', [$params], Member::class); } /** * Checks whether the given user is a member of the group. Membership can be * direct or nested. (members.hasMember) * * @param string $groupKey Identifies the group in the API request. The value * can be the group's email address, group alias, or the unique group ID. * @param string $memberKey Identifies the user member in the API request. The * value can be the user's primary email address, alias, or unique ID. * @param array $optParams Optional parameters. * @return MembersHasMember */ public function hasMember($groupKey, $memberKey, $optParams = []) { $params = ['groupKey' => $groupKey, 'memberKey' => $memberKey]; $params = array_merge($params, $optParams); return $this->call('hasMember', [$params], MembersHasMember::class); } /** * Adds a user to the specified group. (members.insert) * * @param string $groupKey Identifies the group in the API request. The value * can be the group's email address, group alias, or the unique group ID. * @param Member $postBody * @param array $optParams Optional parameters. * @return Member */ public function insert($groupKey, Member $postBody, $optParams = []) { $params = ['groupKey' => $groupKey, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('insert', [$params], Member::class); } /** * Retrieves a paginated list of all members in a group. (members.listMembers) * * @param string $groupKey Identifies the group in the API request. The value * can be the group's email address, group alias, or the unique group ID. * @param array $optParams Optional parameters. * * @opt_param bool includeDerivedMembership Whether to list indirect * memberships. Default: false. * @opt_param int maxResults Maximum number of results to return. Max allowed * value is 200. * @opt_param string pageToken Token to specify next page in the list. * @opt_param string roles The `roles` query parameter allows you to retrieve * group members by role. Allowed values are `OWNER`, `MANAGER`, and `MEMBER`. * @return MembersModel */ public function listMembers($groupKey, $optParams = []) { $params = ['groupKey' => $groupKey]; $params = array_merge($params, $optParams); return $this->call('list', [$params], MembersModel::class); } /** * Updates the membership properties of a user in the specified group. This * method supports [patch semantics](/admin- * sdk/directory/v1/guides/performance#patch). (members.patch) * * @param string $groupKey Identifies the group in the API request. The value * can be the group's email address, group alias, or the unique group ID. * @param string $memberKey Identifies the group member in the API request. A * group member can be a user or another group. The value can be the member's * (group or user) primary email address, alias, or unique ID. * @param Member $postBody * @param array $optParams Optional parameters. * @return Member */ public function patch($groupKey, $memberKey, Member $postBody, $optParams = []) { $params = ['groupKey' => $groupKey, 'memberKey' => $memberKey, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('patch', [$params], Member::class); } /** * Updates the membership of a user in the specified group. (members.update) * * @param string $groupKey Identifies the group in the API request. The value * can be the group's email address, group alias, or the unique group ID. * @param string $memberKey Identifies the group member in the API request. A * group member can be a user or another group. The value can be the member's * (group or user) primary email address, alias, or unique ID. * @param Member $postBody * @param array $optParams Optional parameters. * @return Member */ public function update($groupKey, $memberKey, Member $postBody, $optParams = []) { $params = ['groupKey' => $groupKey, 'memberKey' => $memberKey, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('update', [$params], Member::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Members::class, 'Google_Service_Directory_Resource_Members');