Insert

Creates a role assignment

8 variables
7 variables

Creates a role assignment

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • Manage delegated admin roles for your domain

Input

This building block consumes 8 input parameters

  = Parameter name
  = Format

customer STRING Required

Immutable ID of the G Suite account

scopeType STRING

The scope in which this role is assigned. Possible values are: - CUSTOMER - ORG_UNIT

kind STRING

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

roleId INTEGER

The ID of the role that is assigned

roleAssignmentId INTEGER

ID of this roleAssignment

etag STRING

ETag of the resource

assignedTo STRING

The unique ID of the user this role is assigned to

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

Output

This building block provides 7 output parameters

  = Parameter name
  = Format

scopeType STRING

The scope in which this role is assigned. Possible values are: - CUSTOMER - ORG_UNIT

kind STRING

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

roleId INTEGER

The ID of the role that is assigned

roleAssignmentId INTEGER

ID of this roleAssignment

etag STRING

ETag of the resource

assignedTo STRING

The unique ID of the user this role is assigned to

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