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

namespace Google\Cloud\OrgPolicy\V1\Policy;

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

/**
 * Ignores policies set above this resource and restores the
 * `constraint_default` enforcement behavior of the specific `Constraint` at
 * this resource.
 * Suppose that `constraint_default` is set to `ALLOW` for the
 * `Constraint` `constraints/serviceuser.services`. Suppose that organization
 * foo.com sets a `Policy` at their Organization resource node that restricts
 * the allowed service activations to deny all service activations. They
 * could then set a `Policy` with the `policy_type` `restore_default` on
 * several experimental projects, restoring the `constraint_default`
 * enforcement of the `Constraint` for only those projects, allowing those
 * projects to have all services activated.
 *
 * Generated from protobuf message <code>google.cloud.orgpolicy.v1.Policy.RestoreDefault</code>
 */
class RestoreDefault 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\V1\Orgpolicy::initOnce();
        parent::__construct($data);
    }

}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RestoreDefault::class, \Google\Cloud\OrgPolicy\V1\Policy_RestoreDefault::class);

