Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class PermissionType.
The list of valid permission types that can be checked.
Protobuf type google.cloud.audit.AuthorizationInfo.PermissionType
Namespace
Google \ Cloud \ Audit \ AuthorizationInfoMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
PERMISSION_TYPE_UNSPECIFIED
Value: 0Default. Should not be used.
Generated from protobuf enum PERMISSION_TYPE_UNSPECIFIED = 0;
ADMIN_READ
Value: 1Permissions that gate reading resource configuration or metadata.
Generated from protobuf enum ADMIN_READ = 1;
ADMIN_WRITE
Value: 2Permissions that gate modification of resource configuration or metadata.
Generated from protobuf enum ADMIN_WRITE = 2;
DATA_READ
Value: 3Permissions that gate reading user-provided data.
Generated from protobuf enum DATA_READ = 3;
DATA_WRITE
Value: 4Permissions that gate writing user-provided data.
Generated from protobuf enum DATA_WRITE = 4;