Enum AuditLogConfig.LogType (1.23.0)

public enum AuditLogConfig.LogType extends Enum<AuditLogConfig.LogType> implements ProtocolMessageEnum

The list of valid permission types for which logging can be configured. Admin writes are always logged, and are not configurable.

Protobuf enum google.iam.v1.AuditLogConfig.LogType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ADMIN_READ

Admin reads. Example: CloudIAM getIamPolicy

ADMIN_READ = 1;

ADMIN_READ_VALUE

Admin reads. Example: CloudIAM getIamPolicy

ADMIN_READ = 1;

DATA_READ

Data reads. Example: CloudSQL Users list

DATA_READ = 3;

DATA_READ_VALUE

Data reads. Example: CloudSQL Users list

DATA_READ = 3;

DATA_WRITE

Data writes. Example: CloudSQL Users create

DATA_WRITE = 2;

DATA_WRITE_VALUE

Data writes. Example: CloudSQL Users create

DATA_WRITE = 2;

LOG_TYPE_UNSPECIFIED

Default case. Should never be this.

LOG_TYPE_UNSPECIFIED = 0;

LOG_TYPE_UNSPECIFIED_VALUE

Default case. Should never be this.

LOG_TYPE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()