Files
4WDCSA.co.za/google-client/vendor/google/apiclient-services/src/DLP/GooglePrivacyDlpV2TransformationSummary.php
Local Administrator b83134aca3 Initial commit
2025-04-18 10:32:42 +02:00

142 lines
3.7 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 GooglePrivacyDlpV2TransformationSummary extends \Google\Collection
{
protected $collection_key = 'results';
protected $fieldType = GooglePrivacyDlpV2FieldId::class;
protected $fieldDataType = '';
protected $fieldTransformationsType = GooglePrivacyDlpV2FieldTransformation::class;
protected $fieldTransformationsDataType = 'array';
protected $infoTypeType = GooglePrivacyDlpV2InfoType::class;
protected $infoTypeDataType = '';
protected $recordSuppressType = GooglePrivacyDlpV2RecordSuppression::class;
protected $recordSuppressDataType = '';
protected $resultsType = GooglePrivacyDlpV2SummaryResult::class;
protected $resultsDataType = 'array';
protected $transformationType = GooglePrivacyDlpV2PrimitiveTransformation::class;
protected $transformationDataType = '';
/**
* @var string
*/
public $transformedBytes;
/**
* @param GooglePrivacyDlpV2FieldId
*/
public function setField(GooglePrivacyDlpV2FieldId $field)
{
$this->field = $field;
}
/**
* @return GooglePrivacyDlpV2FieldId
*/
public function getField()
{
return $this->field;
}
/**
* @param GooglePrivacyDlpV2FieldTransformation[]
*/
public function setFieldTransformations($fieldTransformations)
{
$this->fieldTransformations = $fieldTransformations;
}
/**
* @return GooglePrivacyDlpV2FieldTransformation[]
*/
public function getFieldTransformations()
{
return $this->fieldTransformations;
}
/**
* @param GooglePrivacyDlpV2InfoType
*/
public function setInfoType(GooglePrivacyDlpV2InfoType $infoType)
{
$this->infoType = $infoType;
}
/**
* @return GooglePrivacyDlpV2InfoType
*/
public function getInfoType()
{
return $this->infoType;
}
/**
* @param GooglePrivacyDlpV2RecordSuppression
*/
public function setRecordSuppress(GooglePrivacyDlpV2RecordSuppression $recordSuppress)
{
$this->recordSuppress = $recordSuppress;
}
/**
* @return GooglePrivacyDlpV2RecordSuppression
*/
public function getRecordSuppress()
{
return $this->recordSuppress;
}
/**
* @param GooglePrivacyDlpV2SummaryResult[]
*/
public function setResults($results)
{
$this->results = $results;
}
/**
* @return GooglePrivacyDlpV2SummaryResult[]
*/
public function getResults()
{
return $this->results;
}
/**
* @param GooglePrivacyDlpV2PrimitiveTransformation
*/
public function setTransformation(GooglePrivacyDlpV2PrimitiveTransformation $transformation)
{
$this->transformation = $transformation;
}
/**
* @return GooglePrivacyDlpV2PrimitiveTransformation
*/
public function getTransformation()
{
return $this->transformation;
}
/**
* @param string
*/
public function setTransformedBytes($transformedBytes)
{
$this->transformedBytes = $transformedBytes;
}
/**
* @return string
*/
public function getTransformedBytes()
{
return $this->transformedBytes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePrivacyDlpV2TransformationSummary::class, 'Google_Service_DLP_GooglePrivacyDlpV2TransformationSummary');