Skip to main content

roles

Overview

Nameroles
TypeResource
Idgoogleadmin.directory.roles

Fields

NameDatatypeDescription
etagstringETag of the resource.
isSuperAdminRolebooleanReturns true if the role is a super admin role.
isSystemRolebooleanReturns true if this is a pre-defined system role.
kindstringThe type of the API resource. This is always admin#directory#role.
roleDescriptionstringA short description of the role.
roleIdstringID of the role.
roleNamestringName of the role.
rolePrivilegesarrayThe set of privileges that are granted to this role.

Methods

NameAccessible byRequired ParamsDescription
getSELECTcustomer, roleIdRetrieves a role.
listSELECTcustomerRetrieves a paginated list of all the roles in a domain.
insertINSERTcustomerCreates a role.
deleteDELETEcustomer, roleIdDeletes a role.
patchEXECcustomer, roleIdPatches a role.
updateEXECcustomer, roleIdUpdates a role.