# Policy Simulator V1 API - Module Google::Cloud::OrgPolicy::V2::Constraint::ConstraintDefault (v1.9.0)

1.9.0 (latest) 1.8.1 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.4.0 0.3.2 0.2.0 0.1.1 Reference documentation and code samples for the Policy Simulator V1 API module Google::Cloud::OrgPolicy::V2::Constraint::ConstraintDefault.

Specifies the default behavior in the absence of any policy for the
constraint. This must not be `CONSTRAINT_DEFAULT_UNSPECIFIED`.


<br />

Immutable after creation.

## Constants

### CONSTRAINT_DEFAULT_UNSPECIFIED

**value:** 0  
This is only used for distinguishing unset values and should never be
used. Results in an error.

### ALLOW

**value:** 1  
Indicate that all values are allowed for list constraints.
Indicate that enforcement is off for boolean constraints.

### DENY

**value:** 2  
Indicate that all values are denied for list constraints.
Indicate that enforcement is on for boolean constraints.