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 webpage provides documentation for the \u003ccode\u003eBooleanConstraint\u003c/code\u003e class within the Google Cloud Asset Inventory v1 API, specifically for version 3.10.0, which is used to define whether a constraint is enforced or not.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBooleanConstraint\u003c/code\u003e class, residing in the \u003ccode\u003eGoogle.Cloud.Asset.V1\u003c/code\u003e namespace, is used to represent a constraint that can either be enabled or disabled, affecting behavior such as whether serial port connections are allowed for VM instances.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eBooleanConstraint\u003c/code\u003e 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 the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThere are numerous previous versions of this \u003ccode\u003eBooleanConstraint\u003c/code\u003e object available, with the latest one being 3.12.0, and the list of versions shows versions back to 2.7.0.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constuctors listed for \u003ccode\u003eBooleanConstraint\u003c/code\u003e, the first one being empty, and the second one creating a new BooleanConstraint object from another \u003ccode\u003eBooleanConstraint\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]