Google Cloud Asset V1 Client - Class ConstraintDefault (1.12.2)

Reference documentation and code samples for the Google Cloud Asset V1 Client class ConstraintDefault.

Specifies the default behavior in the absence of any Policy for the Constraint. This must not be CONSTRAINT_DEFAULT_UNSPECIFIED.

Protobuf type google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault

Namespace

Google \ Cloud \ Asset \ V1 \ AnalyzerOrgPolicyConstraint \ Constraint

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

CONSTRAINT_DEFAULT_UNSPECIFIED

Value: 0

This is only used for distinguishing unset values and should never be used.

Generated from protobuf enum CONSTRAINT_DEFAULT_UNSPECIFIED = 0;

ALLOW

Value: 1

Indicate that all values are allowed for list constraints.

Indicate that enforcement is off for boolean constraints.

Generated from protobuf enum ALLOW = 1;

DENY

Value: 2

Indicate that all values are denied for list constraints.

Indicate that enforcement is on for boolean constraints.

Generated from protobuf enum DENY = 2;