Common Protos for Google Cloud APIs Client - Class PolicyType (0.5.2)

Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class PolicyType.

Policy Type enum

Protobuf type google.cloud.audit.ViolationInfo.PolicyType

Namespace

Google \ Cloud \ Audit \ ViolationInfo

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

POLICY_TYPE_UNSPECIFIED

Value: 0

Default value. This value should not be used.

Generated from protobuf enum POLICY_TYPE_UNSPECIFIED = 0;

BOOLEAN_CONSTRAINT

Value: 1

Indicates boolean policy constraint

Generated from protobuf enum BOOLEAN_CONSTRAINT = 1;

LIST_CONSTRAINT

Value: 2

Indicates list policy constraint

Generated from protobuf enum LIST_CONSTRAINT = 2;

CUSTOM_CONSTRAINT

Value: 3

Indicates custom policy constraint

Generated from protobuf enum CUSTOM_CONSTRAINT = 3;