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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003eBooleanConstraint\u003c/code\u003e class, which represents a constraint that can either be enforced or not, within the \u003ccode\u003eGoogle.Cloud.OrgPolicy.V2\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBooleanConstraint\u003c/code\u003e class is part of the Google Cloud Org Policy API, specifically version 1.2.0, and can be used to manage policies such as disabling serial port access.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eBooleanConstraint\u003c/code\u003e is found in version 2.7.0, with versions ranging from 1.0.0 to 2.7.0 being available on the page.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for creating a \u003ccode\u003eBooleanConstraint\u003c/code\u003e object, one default constructor and one that takes another \u003ccode\u003eBooleanConstraint\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]