Google Cloud Org Policy V2 Client - Class BooleanConstraint (1.0.0)

Reference documentation and code samples for the Google Cloud Org Policy V2 Client class 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.

Generated from protobuf message google.cloud.orgpolicy.v2.Constraint.BooleanConstraint

Namespace

Google \ Cloud \ OrgPolicy \ V2 \ Constraint

Methods

__construct

Constructor.

Parameter
Name Description
data array

Optional. Data for populating the Message object.