public sealed class 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 `BooleanConstraint` class within the Google Cloud Organization Policy v2 API."],["The `BooleanConstraint` class is used to define a constraint that can be either enforced or not, impacting features like disabling serial port access on VM instances."],["This class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `Object`."],["It includes a list of API versions, with 2.7.0 as the latest and it has various versions ranging back to 1.0.0."],["There are two constructors available for creating `BooleanConstraint` objects, one being the parameterless default, and the other taking another `BooleanConstraint` object as input."]]],[]]