Create Role Assignment
Creates a role assignment in Google Workspace.
Input
| Field | Definition | Type | Required |
|---|---|---|---|
|
Customer |
|||
|
Customer ID |
The unique ID of the Google Workspace account. You can also use the my_customer alias to represent your account's Customer ID. |
Text | TRUE |
|
Role Assignment |
|||
|
Role ID |
The ID of the role to associate with the role assignment. |
Text | TRUE |
|
Assigned To |
The unique ID of the entity to assign to the role. This is either a user ID, a group ID, or the unique ID of a service account. |
Text | TRUE |
|
Scope Type |
The scope that contains this role:
|
Dropdown | TRUE |
|
Org Unit ID |
If the role is restricted to an organization unit, then this is the ID for that organization. Required if you select Org Unit for the Scope Type. |
Text | FALSE |
Output
| Field | Definition | Type |
|---|---|---|
|
Role Assignment |
||
|
Role Assignment ID |
Unique ID of the role assignment. |
Text |
|
Role ID |
The unique ID of the role that is associated with the assignment. |
Text |
|
Assigned To |
The unique ID of the entity this role is assigned to. |
Text |
|
Assignee Type |
The type of the assignee: either user or group. |
Text |
|
Scope Type |
The scope that contains this role. |
Text |
|
Org Unit ID |
If the role is restricted to an organization unit, then this field contains the ID for that organization. |
Text |
|
Kind |
The type of the API resource. |
Text |
|
ETag |
The ETag of the resource. |
Text |
