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).
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Data Loss Prevention V2 Client - Class TransformationLocation (2.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.1 (latest)](/php/docs/reference/cloud-dlp/latest/V2.TransformationLocation)\n- [2.6.0](/php/docs/reference/cloud-dlp/2.6.0/V2.TransformationLocation)\n- [2.4.1](/php/docs/reference/cloud-dlp/2.4.1/V2.TransformationLocation)\n- [2.3.0](/php/docs/reference/cloud-dlp/2.3.0/V2.TransformationLocation)\n- [2.2.3](/php/docs/reference/cloud-dlp/2.2.3/V2.TransformationLocation)\n- [2.1.0](/php/docs/reference/cloud-dlp/2.1.0/V2.TransformationLocation)\n- [2.0.0](/php/docs/reference/cloud-dlp/2.0.0/V2.TransformationLocation)\n- [1.19.0](/php/docs/reference/cloud-dlp/1.19.0/V2.TransformationLocation)\n- [1.18.0](/php/docs/reference/cloud-dlp/1.18.0/V2.TransformationLocation)\n- [1.17.0](/php/docs/reference/cloud-dlp/1.17.0/V2.TransformationLocation)\n- [1.16.0](/php/docs/reference/cloud-dlp/1.16.0/V2.TransformationLocation)\n- [1.15.1](/php/docs/reference/cloud-dlp/1.15.1/V2.TransformationLocation)\n- [1.14.0](/php/docs/reference/cloud-dlp/1.14.0/V2.TransformationLocation)\n- [1.13.2](/php/docs/reference/cloud-dlp/1.13.2/V2.TransformationLocation)\n- [1.12.0](/php/docs/reference/cloud-dlp/1.12.0/V2.TransformationLocation)\n- [1.11.0](/php/docs/reference/cloud-dlp/1.11.0/V2.TransformationLocation)\n- [1.10.2](/php/docs/reference/cloud-dlp/1.10.2/V2.TransformationLocation)\n- [1.9.0](/php/docs/reference/cloud-dlp/1.9.0/V2.TransformationLocation)\n- [1.8.6](/php/docs/reference/cloud-dlp/1.8.6/V2.TransformationLocation) \nReference documentation and code samples for the Data Loss Prevention V2 Client class TransformationLocation.\n\nSpecifies the location of a transformation.\n\nGenerated from protobuf message `google.privacy.dlp.v2.TransformationLocation`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dlp \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getFindingId\n\nFor infotype transformations, link to the corresponding findings ID so\nthat location information does not need to be duplicated. Each findings\nID correlates to an entry in the findings output table, this table only\ngets created when users specify to save findings (add the save findings\naction to the request).\n\n### hasFindingId\n\n### setFindingId\n\nFor infotype transformations, link to the corresponding findings ID so\nthat location information does not need to be duplicated. Each findings\nID correlates to an entry in the findings output table, this table only\ngets created when users specify to save findings (add the save findings\naction to the request).\n\n### getRecordTransformation\n\nFor record transformations, provide a field and container information.\n\n### hasRecordTransformation\n\n### setRecordTransformation\n\nFor record transformations, provide a field and container information.\n\n### getContainerType\n\nInformation about the functionality of the container where this finding\noccurred, if available.\n\n### setContainerType\n\nInformation about the functionality of the container where this finding\noccurred, if available.\n\n### getLocationType"]]