public sealed class Constraint.Types.BooleanConstraint : IMessage<Constraint.Types.BooleanConstraint>, IEquatable<Constraint.Types.BooleanConstraint>, IDeepCloneable<Constraint.Types.BooleanConstraint>, IBufferMessage, IMessage
Reference documentation and code samples for the Organization Policy v2 API class Constraint.Types.BooleanConstraint.
A constraint type is enforced or not enforced, which is configured in the
[PolicyRule][google.cloud.orgpolicy.v2.PolicySpec.PolicyRule].
If customConstraintDefinition is defined, this constraint is a managed
constraint.
[[["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-07-09 UTC."],[[["The `Constraint.Types.BooleanConstraint` class in the Organization Policy v2 API represents a constraint that can be either enforced or not enforced."],["This class is part of the `Google.Cloud.OrgPolicy.V2` namespace and is found within the `Google.Cloud.OrgPolicy.V2.dll` assembly."],["The latest version of this class is `2.7.0`, with documentation available alongside past versions going as far back as `1.0.0`."],["The class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the `object` class."],["There is two contructor options to create a new `BooleanConstraint`, one being empty and the other one accepting a `Constraint.Types.BooleanConstraint`."]]],[]]