[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Org Policy V2 Client - Class ConstraintDefault (1.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.2 (latest)](/php/docs/reference/cloud-org-policy/latest/V2.Constraint.ConstraintDefault)\n- [1.2.1](/php/docs/reference/cloud-org-policy/1.2.1/V2.Constraint.ConstraintDefault)\n- [1.1.3](/php/docs/reference/cloud-org-policy/1.1.3/V2.Constraint.ConstraintDefault)\n- [1.0.0](/php/docs/reference/cloud-org-policy/1.0.0/V2.Constraint.ConstraintDefault)\n- [0.7.0](/php/docs/reference/cloud-org-policy/0.7.0/V2.Constraint.ConstraintDefault)\n- [0.6.5](/php/docs/reference/cloud-org-policy/0.6.5/V2.Constraint.ConstraintDefault)\n- [0.5.3](/php/docs/reference/cloud-org-policy/0.5.3/V2.Constraint.ConstraintDefault)\n- [0.4.2](/php/docs/reference/cloud-org-policy/0.4.2/V2.Constraint.ConstraintDefault)\n- [0.3.7](/php/docs/reference/cloud-org-policy/0.3.7/V2.Constraint.ConstraintDefault) \nReference documentation and code samples for the Google Cloud Org Policy V2 Client class ConstraintDefault.\n\nSpecifies the default behavior in the absence of any policy for the\nconstraint. This must not be `CONSTRAINT_DEFAULT_UNSPECIFIED`.\n\nImmutable after creation.\n\nProtobuf type `google.cloud.orgpolicy.v2.Constraint.ConstraintDefault`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ OrgPolicy \\\\ V2 \\\\ Constraint\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### CONSTRAINT_DEFAULT_UNSPECIFIED\n\n Value: 0\n\nThis is only used for distinguishing unset values and should never be\nused. Results in an error.\n\nGenerated from protobuf enum `CONSTRAINT_DEFAULT_UNSPECIFIED = 0;`\n\n### ALLOW\n\n Value: 1\n\nIndicate that all values are allowed for list constraints.\n\nIndicate that enforcement is off for boolean constraints.\n\nGenerated from protobuf enum `ALLOW = 1;`\n\n### DENY\n\n Value: 2\n\nIndicate that all values are denied for list constraints.\n\nIndicate that enforcement is on for boolean constraints.\n\nGenerated from protobuf enum `DENY = 2;`"]]