REST Resource: roleAssignments

Resource: RoleAssignment

JSON representation
{
  "roleAssignmentId": string,
  "roleId": string,
  "kind": string,
  "etag": string,
  "assignedTo": string,
  "scopeType": string,
  "orgUnitId": string
}
Fields
roleAssignmentId

string (int64 format)

ID of this roleAssignment.

roleId

string (int64 format)

The ID of the role that is assigned.

kind

string

The type of the API resource. This is always admin#directory#roleAssignment.

etag

string

ETag of the resource.

assignedTo

string

The unique ID of the user this role is assigned to.

scopeType

string

The scope in which this role is assigned.

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.

Methods

delete

Deletes a role assignment.

get

Retrieve a role assignment.

insert

Creates a role assignment.

list

Retrieves a paginated list of all roleAssignments.