public static enum AuditLogConfig.LogType extends Enum<AuditLogConfig.LogType> implements com.google.protobuf.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| Enum Constant and Description |
|---|
ADMIN_READ
Admin reads.
|
DATA_READ
Data reads.
|
DATA_WRITE
Data writes.
|
LOG_TYPE_UNSPECIFIED
Default case.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ADMIN_READ_VALUE
Admin reads.
|
static int |
DATA_READ_VALUE
Data reads.
|
static int |
DATA_WRITE_VALUE
Data writes.
|
static int |
LOG_TYPE_UNSPECIFIED_VALUE
Default case.
|
| Modifier and Type | Method and Description |
|---|---|
static AuditLogConfig.LogType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<AuditLogConfig.LogType> |
internalGetValueMap() |
static AuditLogConfig.LogType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AuditLogConfig.LogType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AuditLogConfig.LogType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuditLogConfig.LogType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuditLogConfig.LogType LOG_TYPE_UNSPECIFIED
Default case. Should never be this.
LOG_TYPE_UNSPECIFIED = 0;public static final AuditLogConfig.LogType ADMIN_READ
Admin reads. Example: CloudIAM getIamPolicy
ADMIN_READ = 1;public static final AuditLogConfig.LogType DATA_WRITE
Data writes. Example: CloudSQL Users create
DATA_WRITE = 2;public static final AuditLogConfig.LogType DATA_READ
Data reads. Example: CloudSQL Users list
DATA_READ = 3;public static final AuditLogConfig.LogType UNRECOGNIZED
public static final int LOG_TYPE_UNSPECIFIED_VALUE
Default case. Should never be this.
LOG_TYPE_UNSPECIFIED = 0;public static final int ADMIN_READ_VALUE
Admin reads. Example: CloudIAM getIamPolicy
ADMIN_READ = 1;public static final int DATA_WRITE_VALUE
Data writes. Example: CloudSQL Users create
DATA_WRITE = 2;public static final int DATA_READ_VALUE
Data reads. Example: CloudSQL Users list
DATA_READ = 3;public static AuditLogConfig.LogType[] values()
for (AuditLogConfig.LogType c : AuditLogConfig.LogType.values()) System.out.println(c);
public static AuditLogConfig.LogType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static AuditLogConfig.LogType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AuditLogConfig.LogType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AuditLogConfig.LogType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static AuditLogConfig.LogType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.