RoleAssignments

For a list of methods for this resource, see the end of this page.

Resource representations

JSON template for roleAssignment resource in Directory API.

{
  "kind": "admin#directory#roleAssignment",
  "etag": etag,
  "roleAssignmentId": long,
  "roleId": long,
  "assignedTo": string,
  "scopeType": string,
  "orgUnitId": string
}
Property name Value Description Notes
assignedTo string The unique ID of the user this role is assigned to.
etag etag ETag of the resource.
kind string The type of the API resource. This is always admin#directory#roleAssignment.
orgUnitId string If the role is restricted to an organization unit, this contains the ID for the organization unit the exercise of this role is restricted to.
roleAssignmentId long ID of this roleAssignment.
roleId long The ID of the role that is assigned.
scopeType string The scope in which this role is assigned.

Acceptable values are:
  • "CUSTOMER"
  • "ORG_UNIT"

Methods

delete
Deletes a role assignment.
get
Retrieve a role assignment.
insert
Creates a role assignment.
list
Retrieves a paginated list of all roleAssignments.

Enviar comentarios sobre…

¿Necesitas ayuda? Visita nuestra página de asistencia.