Reference documentation and code samples for the Google API Common Protos V1 Client class LogType.
The list of valid permission types for which logging can be configured.
Admin writes are always logged, and are not configurable.
Protobuf type google.iam.v1.AuditLogConfig.LogType
Namespace
Google \ Cloud \ Iam \ V1 \ AuditLogConfigMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
LOG_TYPE_UNSPECIFIED
Value: 0
Default case. Should never be this.
Generated from protobuf enum LOG_TYPE_UNSPECIFIED = 0;
ADMIN_READ
Value: 1
Admin reads. Example: CloudIAM getIamPolicy
Generated from protobuf enum ADMIN_READ = 1;
DATA_WRITE
Value: 2
Data writes. Example: CloudSQL Users create
Generated from protobuf enum DATA_WRITE = 2;
DATA_READ
Value: 3
Data reads. Example: CloudSQL Users list
Generated from protobuf enum DATA_READ = 3;