public sealed class BooleanConstraint : IMessage<Constraint.Types.BooleanConstraint>, IEquatable<Constraint.Types.BooleanConstraint>, IDeepCloneable<Constraint.Types.BooleanConstraint>, IBufferMessage, IMessage
A Constraint that is either enforced or not.
For example a constraint constraints/compute.disableSerialPortAccess.
If it is enforced on a VM instance, serial port connections will not be
opened to that instance.
[[["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-03-21 UTC."],[[["This webpage details the `BooleanConstraint` class, a type of `Constraint` within the Google Cloud OrgPolicy V2 namespace that can either be enforced or not."],["The `BooleanConstraint` class has multiple versions documented, ranging from version 1.0.0 to the latest 2.7.0, and the page you are viewing is version 2.0.0."],["The `BooleanConstraint` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["This class also inherits from the `Object` class and has two constructors: a default constructor and one that accepts another `BooleanConstraint` as a parameter."]]],[]]