public sealed class AnalyzerOrgPolicyConstraint.Types.Constraint.Types.BooleanConstraint : IMessage<AnalyzerOrgPolicyConstraint.Types.Constraint.Types.BooleanConstraint>, IEquatable<AnalyzerOrgPolicyConstraint.Types.Constraint.Types.BooleanConstraint>, IDeepCloneable<AnalyzerOrgPolicyConstraint.Types.Constraint.Types.BooleanConstraint>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class AnalyzerOrgPolicyConstraint.Types.Constraint.Types.BooleanConstraint.
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 document provides reference documentation for the \u003ccode\u003eBooleanConstraint\u003c/code\u003e class within the Google Cloud Asset Inventory v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBooleanConstraint\u003c/code\u003e class is used to represent a constraint that can be either enforced or not, like the example given, \u003ccode\u003econstraints/compute.disableSerialPortAccess\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented here is 3.12.0, and there are several other versions of the \u003ccode\u003eBooleanConstraint\u003c/code\u003e class documented within versions ranging from 2.7.0 to 3.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBooleanConstraint\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, among others.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBooleanConstraint\u003c/code\u003e class has two public constructors: a default one \u003ccode\u003eBooleanConstraint()\u003c/code\u003e and one that takes another instance of \u003ccode\u003eBooleanConstraint\u003c/code\u003e as a parameter, \u003ccode\u003eBooleanConstraint(AnalyzerOrgPolicyConstraint.Types.Constraint.Types.BooleanConstraint other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]