Permissions
Permissions.
Permission
A permission defines an action that can be performed on a resource. By default access to resources is denied unless an explicit permission grants access to perform an operation against it.
| Field | Number | Description |
|---|---|---|
INVALID | 0 | Default value to designate no value was explicitly set for the permission. |
READ | 1 | The read permission grants read-only access to the resource. |
WRITE | 2 | The write permission allows the subject to modify an existing resource. |
CREATE | 3 | The create permission allows subjects to create child resources on the resource. |
DELETE | 4 | The delete permission grants permissions to delete the resource. |
SET_POLICY | 5 | The set-iam permission allows subjects to manage the access policies for the resources. |
GET_POLICY | 6 | The get-iam permission grants read-only access to the access policy of a resource. It is implied by SET_POLICY: any subject that can manage a policy can also read it. |