Reference documentation and code samples for the Google Cloud Org Policy V2 Client class ConstraintDefault.
Specifies the default behavior in the absence of any Policy
for the
Constraint
. This must not be CONSTRAINT_DEFAULT_UNSPECIFIED
.
Immutable after creation.
Protobuf type google.cloud.orgpolicy.v2.Constraint.ConstraintDefault
Namespace
Google \ Cloud \ OrgPolicy \ V2 \ ConstraintMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
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;