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 page provides documentation for the \u003ccode\u003eBooleanConstraint\u003c/code\u003e class within the Google Cloud Asset Inventory v1 API, specifically under the \u003ccode\u003eAnalyzerOrgPolicyConstraint.Types.Constraint.Types\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBooleanConstraint\u003c/code\u003e class represents a type of constraint that can either be enforced or not, such as the \u003ccode\u003econstraints/compute.disableSerialPortAccess\u003c/code\u003e example, which would prevent serial port connections if enforced.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers multiple versions of the API, from version 2.7.0 up to the latest version, 3.12.0, allowing users to access the \u003ccode\u003eBooleanConstraint\u003c/code\u003e class across different API releases.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities such as message handling, equality checking, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eIt includes details on the class constructors, such as a default constructor and one that takes another \u003ccode\u003eBooleanConstraint\u003c/code\u003e instance as a parameter, enabling object creation and copying.\u003c/p\u003e\n"]]],[],null,[]]