Insert

Creates a role

11 variables
10 variables

Creates a role

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 11 input parameters

  = Parameter name
  = Format

customer STRING Required

Immutable ID of the G Suite account

rolePrivileges[] OBJECT

rolePrivileges[].serviceId STRING

The obfuscated ID of the service this privilege is for. This value is returned with Privileges.list()

rolePrivileges[].privilegeName STRING

The name of the privilege

isSuperAdminRole BOOLEAN

Returns true if the role is a super admin role

roleId INTEGER

ID of the role

isSystemRole BOOLEAN

Returns true if this is a pre-defined system role

etag STRING

ETag of the resource

roleDescription STRING

A short description of the role

kind STRING

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

roleName STRING

Name of the role

Output

This building block provides 10 output parameters

  = Parameter name
  = Format

rolePrivileges[] OBJECT

rolePrivileges[].serviceId STRING

The obfuscated ID of the service this privilege is for. This value is returned with Privileges.list()

rolePrivileges[].privilegeName STRING

The name of the privilege

isSuperAdminRole BOOLEAN

Returns true if the role is a super admin role

roleId INTEGER

ID of the role

isSystemRole BOOLEAN

Returns true if this is a pre-defined system role

etag STRING

ETag of the resource

roleDescription STRING

A short description of the role

kind STRING

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

roleName STRING

Name of the role