Roles
class Roles extends Resource (View source)
The "roles" collection of methods.
Typical usage is:
$adminService = new Google\Service\Directory(...);
$roles = $adminService->roles;
Methods
delete(string $customer, string $roleId, array $optParams = [])
Deletes a role. (roles.delete)
listRoles(string $customer, array $optParams = [])
Retrieves a paginated list of all the roles in a domain. (roles.listRoles)
Details
delete(string $customer, string $roleId, array $optParams = [])
Deletes a role. (roles.delete)
Role
get(string $customer, string $roleId, array $optParams = [])
Retrieves a role. (roles.get)
Roles
listRoles(string $customer, array $optParams = [])
Retrieves a paginated list of all the roles in a domain. (roles.listRoles)
Role
patch(string $customer, string $roleId, Role $postBody, array $optParams = [])
Patches a role. (roles.patch)