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."],[[["The `BooleanConstraint` class represents a constraint that can be either enforced or not, within the `Google.Cloud.OrgPolicy.V2` namespace, and is found in the Google.Cloud.OrgPolicy.V2.dll assembly."],["This class is part of the Google Cloud Org Policy V2 API, and is used to enforce or disable specific policies like `constraints/compute.disableSerialPortAccess`, on resources like VM instances."],["`BooleanConstraint` class implements `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` interfaces, as well as inheriting members from `System.Object`."],["The latest version of this class is 2.7.0, with versions ranging down to 1.0.0 available, and can be constructed either with no parameters or by passing in another `Constraint.Types.BooleanConstraint` object."]]],[]]