Skip to main content

role_assignments

Overview

Namerole_assignments
TypeResource
Idgoogleadmin.directory.role_assignments

Fields

NameDatatypeDescription
assignedTostringThe unique ID of the entity this role is assigned to—either the user_id of a user, the group_id of a group, or the uniqueId of a service account as defined in Identity and Access Management (IAM).
assigneeTypestringOutput only. The type of the assignee (USER or GROUP).
etagstringETag of the resource.
kindstringThe type of the API resource. This is always admin#directory#roleAssignment.
orgUnitIdstringIf the role is restricted to an organization unit, this contains the ID for the organization unit the exercise of this role is restricted to.
roleAssignmentIdstringID of this roleAssignment.
roleIdstringThe ID of the role that is assigned.
scopeTypestringThe scope in which this role is assigned.

Methods

NameAccessible byRequired ParamsDescription
getSELECTcustomer, roleAssignmentIdRetrieves a role assignment.
listSELECTcustomerRetrieves a paginated list of all roleAssignments.
insertINSERTcustomerCreates a role assignment.
deleteDELETEcustomer, roleAssignmentIdDeletes a role assignment.