BigQueryDataTransfer/src/V1/DataSource.php
public function setDataRefreshType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\BigQuery\DataTransfer\V1\DataSource_DataRefreshType::class);
        $this->data_refresh_type = $var;

        return $this;
    }
public function setDataRefreshType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\BigQuery\DataTransfer\V1\DataSource_DataRefreshType::class);
        $this->data_refresh_type = $var;

        return $this;
    }
public function setDataRefreshType ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ BigQuery \ DataTransfer \ V1 \ DataSource_DataRefreshType :: class ) ; $ this -> data_refresh_type = $ var ; return $ this ; }
Specifies whether the data source supports automatic data refresh for the
past few days, and how it's supported.
For some data sources, data might not be complete until a few days later,
so it's useful to refresh data automatically.

Generated from protobuf field <code>.google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType data_refresh_type = 15;</code>
@param int $var
@return $this
Specifies whether the data source supports automatic data refresh for the past few days and how it s supported . For some data sources data might not be complete until a few days later so it s useful to refresh data automatically .