<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/orgpolicy/v2/constraint.proto

namespace Google\Cloud\OrgPolicy\V2\Constraint;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * 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 <code>google.cloud.orgpolicy.v2.Constraint.BooleanConstraint</code>
 */
class BooleanConstraint extends \Google\Protobuf\Internal\Message
{

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Orgpolicy\V2\Constraint::initOnce();
        parent::__construct($data);
    }

}


