π Source: GooglePrivacyDlpV2TransformationLocation.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 GooglePrivacyDlpV2TransformationLocation extends \Google\Model
{
/**
* Unused.
*/
public const CONTAINER_TYPE_TRANSFORM_UNKNOWN_CONTAINER = 'TRANSFORM_UNKNOWN_CONTAINER';
/**
* Body of a file.
*/
public const CONTAINER_TYPE_TRANSFORM_BODY = 'TRANSFORM_BODY';
/**
* Metadata for a file.
*/
public const CONTAINER_TYPE_TRANSFORM_METADATA = 'TRANSFORM_METADATA';
/**
* A table.
*/
public const CONTAINER_TYPE_TRANSFORM_TABLE = 'TRANSFORM_TABLE';
/**
* Information about the functionality of the container where this finding
* occurred, if available.
*
* @var string
*/
public $containerType;
/**
* For infotype transformations, link to the corresponding findings ID so that
* location information does not need to be duplicated. Each findings ID
* correlates to an entry in the findings output table, this table only gets
* created when users specify to save findings (add the save findings action
* to the request).
*
* @var string
*/
public $findingId;
protected $recordTransformationType = GooglePrivacyDlpV2RecordTransformation::class;
protected $recordTransformationDataType = '';
/**
* Information about the functionality of the container where this finding
* occurred, if available.
*
* Accepted values: TRANSFORM_UNKNOWN_CONTAINER, TRANSFORM_BODY,
* TRANSFORM_METADATA, TRANSFORM_TABLE
*
* @param self::CONTAINER_TYPE_* $containerType
*/
public function setContainerType($containerType)
{
$this->containerType = $containerType;
}
/**
* @return self::CONTAINER_TYPE_*
*/
public function getContainerType()
{
return $this->containerType;
}
/**
* For infotype transformations, link to the corresponding findings ID so that
* location information does not need to be duplicated. Each findings ID
* correlates to an entry in the findings output table, this table only gets
* created when users specify to save findings (add the save findings action
* to the request).
*
* @param string $findingId
*/
public function setFindingId($findingId)
{
$this->findingId = $findingId;
}
/**
* @return string
*/
public function getFindingId()
{
return $this->findingId;
}
/**
* For record transformations, provide a field and container information.
*
* @param GooglePrivacyDlpV2RecordTransformation $recordTransformation
*/
public function setRecordTransformation(GooglePrivacyDlpV2RecordTransformation $recordTransformation)
{
$this->recordTransformation = $recordTransformation;
}
/**
* @return GooglePrivacyDlpV2RecordTransformation
*/
public function getRecordTransformation()
{
return $this->recordTransformation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePrivacyDlpV2TransformationLocation::class, 'Google_Service_DLP_GooglePrivacyDlpV2TransformationLocation');
β Back