public sealed class Constraint.Types.BooleanConstraint : IMessage<Constraint.Types.BooleanConstraint>, IEquatable<Constraint.Types.BooleanConstraint>, IDeepCloneable<Constraint.Types.BooleanConstraint>, IBufferMessage, IMessage
Reference documentation and code samples for the Organization Policy v2 API class 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."],[[["This document provides reference documentation for the `Constraint.Types.BooleanConstraint` class within the Organization Policy v2 API."],["`Constraint.Types.BooleanConstraint` represents a policy constraint that can be either enforced or not, such as disabling serial port access on a VM instance."],["The class implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, making it compatible with various Google Protobuf features."],["The document covers versions of the `BooleanConstraint` class ranging from 1.0.0 to the latest version 2.7.0, and includes detailed information on the class constructors."],["The `BooleanConstraint` class has an inheritance of [object](https://learn.microsoft.com/dotnet/api/system.object)."]]],[]]