Enum ViolationInfo.PolicyType (2.39.0)

public enum ViolationInfo.PolicyType extends Enum<ViolationInfo.PolicyType> implements ProtocolMessageEnum

Policy Type enum

Protobuf enum google.cloud.audit.ViolationInfo.PolicyType

Implements

ProtocolMessageEnum

Static Fields

Name Description
BOOLEAN_CONSTRAINT

Indicates boolean policy constraint

BOOLEAN_CONSTRAINT = 1;

BOOLEAN_CONSTRAINT_VALUE

Indicates boolean policy constraint

BOOLEAN_CONSTRAINT = 1;

CUSTOM_CONSTRAINT

Indicates custom policy constraint

CUSTOM_CONSTRAINT = 3;

CUSTOM_CONSTRAINT_VALUE

Indicates custom policy constraint

CUSTOM_CONSTRAINT = 3;

LIST_CONSTRAINT

Indicates list policy constraint

LIST_CONSTRAINT = 2;

LIST_CONSTRAINT_VALUE

Indicates list policy constraint

LIST_CONSTRAINT = 2;

POLICY_TYPE_UNSPECIFIED

Default value. This value should not be used.

POLICY_TYPE_UNSPECIFIED = 0;

POLICY_TYPE_UNSPECIFIED_VALUE

Default value. This value should not be used.

POLICY_TYPE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()