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

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.

Inheritance

Object > Constraint.Types.BooleanConstraint

Namespace

Google.Cloud.OrgPolicy.V2

Assembly

Google.Cloud.OrgPolicy.V2.dll

Constructors

BooleanConstraint()

public BooleanConstraint()

BooleanConstraint(Constraint.Types.BooleanConstraint)

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