Data Loss Prevention V2 Client - Class TransformationLocation (1.10.2)

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getRecordTransformation

For record transformations, provide a field and container information.

Returns
TypeDescription
Google\Cloud\Dlp\V2\RecordTransformation|null

hasRecordTransformation

setRecordTransformation

For record transformations, provide a field and container information.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\RecordTransformation
Returns
TypeDescription
$this

getContainerType

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

Returns
TypeDescription
int

setContainerType

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getLocationType

Returns
TypeDescription
string