Organization Policy v2 API - Class Constraint.Types.BooleanConstraint (2.3.0)

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.

Inheritance

object > Constraint.Types.BooleanConstraint

Namespace

Google.Cloud.OrgPolicy.V2

Assembly

Google.Cloud.OrgPolicy.V2.dll

Constructors

BooleanConstraint()

public BooleanConstraint()

BooleanConstraint(BooleanConstraint)

public BooleanConstraint(Constraint.Types.BooleanConstraint other)
Parameter
NameDescription
otherConstraintTypesBooleanConstraint