Data Loss Prevention V2 Client - Class TransformationLocation (1.14.0)

Reference documentation and code samples for the Data Loss Prevention V2 Client class TransformationLocation.

Specifies the location of a transformation.

Generated from protobuf message google.privacy.dlp.v2.TransformationLocation

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ finding_id string

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).

↳ record_transformation Google\Cloud\Dlp\V2\RecordTransformation

For record transformations, provide a field and container information.

↳ container_type int

Information about the functionality of the container where this finding occurred, if available.

getFindingId

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).

Returns
Type Description
string

hasFindingId

setFindingId

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).

Parameter
Name Description
var string
Returns
Type Description
$this

getRecordTransformation

For record transformations, provide a field and container information.

Returns
Type Description
Google\Cloud\Dlp\V2\RecordTransformation|null

hasRecordTransformation

setRecordTransformation

For record transformations, provide a field and container information.

Parameter
Name Description
var Google\Cloud\Dlp\V2\RecordTransformation
Returns
Type Description
$this

getContainerType

Information about the functionality of the container where this finding occurred, if available.

Returns
Type Description
int

setContainerType

Information about the functionality of the container where this finding occurred, if available.

Parameter
Name Description
var int
Returns
Type Description
$this

getLocationType

Returns
Type Description
string