Skip to main content

A role is a named set of permissions, like Admin or Flag Editor.

displayName
string
required

Human friendly name of the role.

permissions
object[]
required

List of permissions that this role has, needs to have at least one.

creator
string
required

Reference to the identity that created this OAuthApp.

updater
string
required

Reference to the identity that last updated this OAuthApp.

createTime
object
required

Time when the role was first created.

updateTime
object
required

Time when the role was last updated.

name
string

Name of the role on the form roles/{"<"}id{">"}.

builtin
boolean

If this role is automatically built in or not

labels
object[]

General labels for this resource.

owner
string

The owner of the resource. If not set will default to the creator.