Reference documentation and code samples for the Data Loss Prevention V2 Client class TransformationDetails.
Details about a single transformation. This object contains a description of
the transformation, information about whether the transformation was
successfully applied, and the precise location where the transformation
occurred. These details are stored in a user-specified BigQuery table.
Generated from protobuf messagegoogle.privacy.dlp.v2.TransformationDetails
Namespace
Google \ Cloud \ Dlp \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ resource_name
string
The name of the job that completed the transformation.
↳ container_name
string
The top level name of the container where the transformation is located (this will be the source file name or table name).
Description of transformation. This would only contain more than one element if there were multiple matching transformations and which one to apply was ambiguous. Not set for states that contain no transformation, currently only state that contains no transformation is TransformationResultStateType.METADATA_UNRETRIEVABLE.
Status of the transformation, if transformation was not successful, this will specify what caused it to fail, otherwise it will show that the transformation was successful.
↳ transformed_bytes
int|string
The number of bytes that were transformed. If transformation was unsuccessful or did not take place because there was no content to transform, this will be zero.
The precise location of the transformed content in the original container.
getResourceName
The name of the job that completed the transformation.
Returns
Type
Description
string
setResourceName
The name of the job that completed the transformation.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getContainerName
The top level name of the container where the transformation is located
(this will be the source file name or table name).
Returns
Type
Description
string
setContainerName
The top level name of the container where the transformation is located
(this will be the source file name or table name).
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getTransformation
Description of transformation. This would only contain more than one
element if there were multiple matching transformations and which one to
apply was ambiguous. Not set for states that contain no transformation,
currently only state that contains no transformation is
TransformationResultStateType.METADATA_UNRETRIEVABLE.
Description of transformation. This would only contain more than one
element if there were multiple matching transformations and which one to
apply was ambiguous. Not set for states that contain no transformation,
currently only state that contains no transformation is
TransformationResultStateType.METADATA_UNRETRIEVABLE.
Status of the transformation, if transformation was not successful, this
will specify what caused it to fail, otherwise it will show that the
transformation was successful.
Status of the transformation, if transformation was not successful, this
will specify what caused it to fail, otherwise it will show that the
transformation was successful.
The number of bytes that were transformed. If transformation was
unsuccessful or did not take place because there was no content to
transform, this will be zero.
Returns
Type
Description
int|string
setTransformedBytes
The number of bytes that were transformed. If transformation was
unsuccessful or did not take place because there was no content to
transform, this will be zero.
Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
getTransformationLocation
The precise location of the transformed content in the original container.
[[["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-09 UTC."],[],[],null,["# Data Loss Prevention V2 Client - Class TransformationDetails (2.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.1 (latest)](/php/docs/reference/cloud-dlp/latest/V2.TransformationDetails)\n- [2.6.0](/php/docs/reference/cloud-dlp/2.6.0/V2.TransformationDetails)\n- [2.4.1](/php/docs/reference/cloud-dlp/2.4.1/V2.TransformationDetails)\n- [2.3.0](/php/docs/reference/cloud-dlp/2.3.0/V2.TransformationDetails)\n- [2.2.3](/php/docs/reference/cloud-dlp/2.2.3/V2.TransformationDetails)\n- [2.1.0](/php/docs/reference/cloud-dlp/2.1.0/V2.TransformationDetails)\n- [2.0.0](/php/docs/reference/cloud-dlp/2.0.0/V2.TransformationDetails)\n- [1.19.0](/php/docs/reference/cloud-dlp/1.19.0/V2.TransformationDetails)\n- [1.18.0](/php/docs/reference/cloud-dlp/1.18.0/V2.TransformationDetails)\n- [1.17.0](/php/docs/reference/cloud-dlp/1.17.0/V2.TransformationDetails)\n- [1.16.0](/php/docs/reference/cloud-dlp/1.16.0/V2.TransformationDetails)\n- [1.15.1](/php/docs/reference/cloud-dlp/1.15.1/V2.TransformationDetails)\n- [1.14.0](/php/docs/reference/cloud-dlp/1.14.0/V2.TransformationDetails)\n- [1.13.2](/php/docs/reference/cloud-dlp/1.13.2/V2.TransformationDetails)\n- [1.12.0](/php/docs/reference/cloud-dlp/1.12.0/V2.TransformationDetails)\n- [1.11.0](/php/docs/reference/cloud-dlp/1.11.0/V2.TransformationDetails)\n- [1.10.2](/php/docs/reference/cloud-dlp/1.10.2/V2.TransformationDetails)\n- [1.9.0](/php/docs/reference/cloud-dlp/1.9.0/V2.TransformationDetails)\n- [1.8.6](/php/docs/reference/cloud-dlp/1.8.6/V2.TransformationDetails) \nReference documentation and code samples for the Data Loss Prevention V2 Client class TransformationDetails.\n\nDetails about a single transformation. This object contains a description of\nthe transformation, information about whether the transformation was\nsuccessfully applied, and the precise location where the transformation\noccurred. These details are stored in a user-specified BigQuery table.\n\nGenerated from protobuf message `google.privacy.dlp.v2.TransformationDetails`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dlp \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getResourceName\n\nThe name of the job that completed the transformation.\n\n### setResourceName\n\nThe name of the job that completed the transformation.\n\n### getContainerName\n\nThe top level name of the container where the transformation is located\n(this will be the source file name or table name).\n\n### setContainerName\n\nThe top level name of the container where the transformation is located\n(this will be the source file name or table name).\n\n### getTransformation\n\nDescription of transformation. This would only contain more than one\nelement if there were multiple matching transformations and which one to\napply was ambiguous. Not set for states that contain no transformation,\ncurrently only state that contains no transformation is\nTransformationResultStateType.METADATA_UNRETRIEVABLE.\n\n### setTransformation\n\nDescription of transformation. This would only contain more than one\nelement if there were multiple matching transformations and which one to\napply was ambiguous. Not set for states that contain no transformation,\ncurrently only state that contains no transformation is\nTransformationResultStateType.METADATA_UNRETRIEVABLE.\n\n### getStatusDetails\n\nStatus of the transformation, if transformation was not successful, this\nwill specify what caused it to fail, otherwise it will show that the\ntransformation was successful.\n\n### hasStatusDetails\n\n### clearStatusDetails\n\n### setStatusDetails\n\nStatus of the transformation, if transformation was not successful, this\nwill specify what caused it to fail, otherwise it will show that the\ntransformation was successful.\n\n### getTransformedBytes\n\nThe number of bytes that were transformed. If transformation was\nunsuccessful or did not take place because there was no content to\ntransform, this will be zero.\n\n### setTransformedBytes\n\nThe number of bytes that were transformed. If transformation was\nunsuccessful or did not take place because there was no content to\ntransform, this will be zero.\n\n### getTransformationLocation\n\nThe precise location of the transformed content in the original container.\n\n### hasTransformationLocation\n\n### clearTransformationLocation\n\n### setTransformationLocation\n\nThe precise location of the transformed content in the original container."]]