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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This document provides reference documentation for the `Constraint.Types.BooleanConstraint` class within the Organization Policy v2 API."],["`BooleanConstraint` is a type of constraint that can be either enforced or not enforced, affecting behaviors like whether serial port connections are allowed on a VM instance."],["The `BooleanConstraint` class is part of the `Google.Cloud.OrgPolicy.V2` namespace and is found in the `Google.Cloud.OrgPolicy.V2.dll` assembly, with version 2.5.0 being presented in the document."],["The document covers a range of versions of the `BooleanConstraint` class, from 1.0.0 to 2.7.0 (latest), with links to each version's documentation."],["The class `BooleanConstraint` implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, showcasing its functionality within the API."]]],[]]