146 lines
3.4 KiB
PHP
146 lines
3.4 KiB
PHP
<?php
|
|
/*
|
|
* Copyright 2014 Google Inc.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
* use this file except in compliance with the License. You may obtain a copy of
|
|
* the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
* License for the specific language governing permissions and limitations under
|
|
* the License.
|
|
*/
|
|
|
|
namespace Google\Service\DLP;
|
|
|
|
class GooglePrivacyDlpV2BigQueryOptions extends \Google\Collection
|
|
{
|
|
protected $collection_key = 'includedFields';
|
|
protected $excludedFieldsType = GooglePrivacyDlpV2FieldId::class;
|
|
protected $excludedFieldsDataType = 'array';
|
|
protected $identifyingFieldsType = GooglePrivacyDlpV2FieldId::class;
|
|
protected $identifyingFieldsDataType = 'array';
|
|
protected $includedFieldsType = GooglePrivacyDlpV2FieldId::class;
|
|
protected $includedFieldsDataType = 'array';
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $rowsLimit;
|
|
/**
|
|
* @var int
|
|
*/
|
|
public $rowsLimitPercent;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $sampleMethod;
|
|
protected $tableReferenceType = GooglePrivacyDlpV2BigQueryTable::class;
|
|
protected $tableReferenceDataType = '';
|
|
|
|
/**
|
|
* @param GooglePrivacyDlpV2FieldId[]
|
|
*/
|
|
public function setExcludedFields($excludedFields)
|
|
{
|
|
$this->excludedFields = $excludedFields;
|
|
}
|
|
/**
|
|
* @return GooglePrivacyDlpV2FieldId[]
|
|
*/
|
|
public function getExcludedFields()
|
|
{
|
|
return $this->excludedFields;
|
|
}
|
|
/**
|
|
* @param GooglePrivacyDlpV2FieldId[]
|
|
*/
|
|
public function setIdentifyingFields($identifyingFields)
|
|
{
|
|
$this->identifyingFields = $identifyingFields;
|
|
}
|
|
/**
|
|
* @return GooglePrivacyDlpV2FieldId[]
|
|
*/
|
|
public function getIdentifyingFields()
|
|
{
|
|
return $this->identifyingFields;
|
|
}
|
|
/**
|
|
* @param GooglePrivacyDlpV2FieldId[]
|
|
*/
|
|
public function setIncludedFields($includedFields)
|
|
{
|
|
$this->includedFields = $includedFields;
|
|
}
|
|
/**
|
|
* @return GooglePrivacyDlpV2FieldId[]
|
|
*/
|
|
public function getIncludedFields()
|
|
{
|
|
return $this->includedFields;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setRowsLimit($rowsLimit)
|
|
{
|
|
$this->rowsLimit = $rowsLimit;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getRowsLimit()
|
|
{
|
|
return $this->rowsLimit;
|
|
}
|
|
/**
|
|
* @param int
|
|
*/
|
|
public function setRowsLimitPercent($rowsLimitPercent)
|
|
{
|
|
$this->rowsLimitPercent = $rowsLimitPercent;
|
|
}
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getRowsLimitPercent()
|
|
{
|
|
return $this->rowsLimitPercent;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setSampleMethod($sampleMethod)
|
|
{
|
|
$this->sampleMethod = $sampleMethod;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getSampleMethod()
|
|
{
|
|
return $this->sampleMethod;
|
|
}
|
|
/**
|
|
* @param GooglePrivacyDlpV2BigQueryTable
|
|
*/
|
|
public function setTableReference(GooglePrivacyDlpV2BigQueryTable $tableReference)
|
|
{
|
|
$this->tableReference = $tableReference;
|
|
}
|
|
/**
|
|
* @return GooglePrivacyDlpV2BigQueryTable
|
|
*/
|
|
public function getTableReference()
|
|
{
|
|
return $this->tableReference;
|
|
}
|
|
}
|
|
|
|
// Adding a class alias for backwards compatibility with the previous class name.
|
|
class_alias(GooglePrivacyDlpV2BigQueryOptions::class, 'Google_Service_DLP_GooglePrivacyDlpV2BigQueryOptions');
|