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

namespace Google\Cloud\Dlp\V2\DataProfileAction;

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

/**
 * Create Dataplex Universal Catalog aspects for profiled resources with the
 * aspect type Sensitive Data Protection Profile. To learn more about aspects,
 * see https://cloud.google.com/sensitive-data-protection/docs/add-aspects.
 *
 * Generated from protobuf message <code>google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog</code>
 */
class PublishToDataplexCatalog extends \Google\Protobuf\Internal\Message
{
    /**
     * Whether creating a Dataplex Universal Catalog aspect for a profiled
     * resource should lower the risk of the profile for that resource. This
     * also lowers the data risk of resources at the lower levels of the
     * resource hierarchy. For example, reducing the data risk of a table data
     * profile also reduces the data risk of the constituent column data
     * profiles.
     *
     * Generated from protobuf field <code>bool lower_data_risk_to_low = 1;</code>
     */
    protected $lower_data_risk_to_low = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $lower_data_risk_to_low
     *           Whether creating a Dataplex Universal Catalog aspect for a profiled
     *           resource should lower the risk of the profile for that resource. This
     *           also lowers the data risk of resources at the lower levels of the
     *           resource hierarchy. For example, reducing the data risk of a table data
     *           profile also reduces the data risk of the constituent column data
     *           profiles.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce();
        parent::__construct($data);
    }

    /**
     * Whether creating a Dataplex Universal Catalog aspect for a profiled
     * resource should lower the risk of the profile for that resource. This
     * also lowers the data risk of resources at the lower levels of the
     * resource hierarchy. For example, reducing the data risk of a table data
     * profile also reduces the data risk of the constituent column data
     * profiles.
     *
     * Generated from protobuf field <code>bool lower_data_risk_to_low = 1;</code>
     * @return bool
     */
    public function getLowerDataRiskToLow()
    {
        return $this->lower_data_risk_to_low;
    }

    /**
     * Whether creating a Dataplex Universal Catalog aspect for a profiled
     * resource should lower the risk of the profile for that resource. This
     * also lowers the data risk of resources at the lower levels of the
     * resource hierarchy. For example, reducing the data risk of a table data
     * profile also reduces the data risk of the constituent column data
     * profiles.
     *
     * Generated from protobuf field <code>bool lower_data_risk_to_low = 1;</code>
     * @param bool $var
     * @return $this
     */
    public function setLowerDataRiskToLow($var)
    {
        GPBUtil::checkBool($var);
        $this->lower_data_risk_to_low = $var;

        return $this;
    }

}

