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

namespace Google\Cloud\Dataplex\V1\DataQualitySpec\PostScanActions;

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

/**
 * The configuration of BigQuery export post scan action.
 *
 * Generated from protobuf message <code>google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExport</code>
 */
class BigQueryExport extends \Google\Protobuf\Internal\Message
{
    /**
     * Optional. The BigQuery table to export DataQualityScan results to.
     * Format:
     * projects/{project}/datasets/{dataset}/tables/{table}
     *
     * Generated from protobuf field <code>string results_table = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {</code>
     */
    private $results_table = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $results_table
     *           Optional. The BigQuery table to export DataQualityScan results to.
     *           Format:
     *           projects/{project}/datasets/{dataset}/tables/{table}
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Dataplex\V1\DataQuality::initOnce();
        parent::__construct($data);
    }

    /**
     * Optional. The BigQuery table to export DataQualityScan results to.
     * Format:
     * projects/{project}/datasets/{dataset}/tables/{table}
     *
     * Generated from protobuf field <code>string results_table = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {</code>
     * @return string
     */
    public function getResultsTable()
    {
        return $this->results_table;
    }

    /**
     * Optional. The BigQuery table to export DataQualityScan results to.
     * Format:
     * projects/{project}/datasets/{dataset}/tables/{table}
     *
     * Generated from protobuf field <code>string results_table = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {</code>
     * @param string $var
     * @return $this
     */
    public function setResultsTable($var)
    {
        GPBUtil::checkString($var, True);
        $this->results_table = $var;

        return $this;
    }

}


