roleRef | object | yes | | | The role that is granted. |
roleRef.name | string | yes | | length 1 to 63 | |
subjects | list of object | yes | | up to 1000 items | Who gets the role: users, groups, service accounts or, in the root cluster only, platform processes (the name is the process, the cluster its project). |
subjects[].kind | string (one of) | yes | | User, ServiceAccount, Group, Process | |
subjects[].name | string | yes | | length 1 to 63 | |
subjects[].cluster | string | | | up to 63 characters | Logical cluster of a ServiceAccount; defaults to the binding's cluster. |
scope | object | | | | Root bindings only. Restricts the grant to one billing account and its projects, or to one workspace, its descendants and their projects (never above or beside it). Name exactly one. |
scope.billingAccount | reference to BillingAccount | | | length 1 to 63 | |
scope.workspace | reference to Workspace | | | length 1 to 63 | |