roles
Overview
Name | roles |
Type | Resource |
Id | googleadmin.directory.roles |
Fields
Name | Datatype | Description |
---|---|---|
etag | string | ETag of the resource. |
isSuperAdminRole | boolean | Returns true if the role is a super admin role. |
isSystemRole | boolean | Returns true if this is a pre-defined system role. |
kind | string | The type of the API resource. This is always admin#directory#role . |
roleDescription | string | A short description of the role. |
roleId | string | ID of the role. |
roleName | string | Name of the role. |
rolePrivileges | array | The set of privileges that are granted to this role. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | customer, roleId | Retrieves a role. |
list | SELECT | customer | Retrieves a paginated list of all the roles in a domain. |
insert | INSERT | customer | Creates a role. |
delete | DELETE | customer, roleId | Deletes a role. |
patch | EXEC | customer, roleId | Patches a role. |
update | EXEC | customer, roleId | Updates a role. |