Reference documentation and code samples for the Data Loss Prevention V2 Client class ReidentifyContentRequest.
Request to re-identify an item.
Generated from protobuf messagegoogle.privacy.dlp.v2.ReidentifyContentRequest
Namespace
Google \ Cloud \ Dlp \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. Parent resource name. The format of this value varies depending on whether you havespecified a processing location: + Projects scope, location specified:projects/{project_id}/locations/{location_id}+ Projects scope, no location specified (defaults to global):projects/{project_id}The following exampleparentstring specifies a parent project with the identifierexample-project, and specifies theeurope-west3location for processing data: parent=projects/example-project/locations/europe-west3
Configuration for the re-identification of the content item. This field shares the same proto message type that is used for de-identification, however its usage here is for the reversal of the previous de-identification. Re-identification is performed by examining the transformations used to de-identify the items and executing the reverse. This requires that only reversible transformations be provided here. The reversible transformations are: -CryptoDeterministicConfig-CryptoReplaceFfxFpeConfig
Template to use. Any configuration directly specified ininspect_configwill override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
↳ reidentify_template_name
string
Template to use. References an instance ofDeidentifyTemplate. Any configuration directly specified inreidentify_configorinspect_configwill override those set in the template. TheDeidentifyTemplateused must include only reversible transformations. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
Projects scope, no location specified (defaults to global):projects/{project_id}The following exampleparentstring specifies a parent project with the
identifierexample-project, and specifies theeurope-west3location
for processing data:
parent=projects/example-project/locations/europe-west3
Projects scope, no location specified (defaults to global):projects/{project_id}The following exampleparentstring specifies a parent project with the
identifierexample-project, and specifies theeurope-west3location
for processing data:
parent=projects/example-project/locations/europe-west3
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getReidentifyConfig
Configuration for the re-identification of the content item.
This field shares the same proto message type that is used for
de-identification, however its usage here is for the reversal of the
previous de-identification. Re-identification is performed by examining
the transformations used to de-identify the items and executing the
reverse. This requires that only reversible transformations
be provided here. The reversible transformations are:
Configuration for the re-identification of the content item.
This field shares the same proto message type that is used for
de-identification, however its usage here is for the reversal of the
previous de-identification. Re-identification is performed by examining
the transformations used to de-identify the items and executing the
reverse. This requires that only reversible transformations
be provided here. The reversible transformations are:
Template to use. Any configuration directly specified ininspect_configwill override those set in the template. Singular fields
that are set in this request will replace their corresponding fields in the
template. Repeated fields are appended. Singular sub-messages and groups
are recursively merged.
Returns
Type
Description
string
setInspectTemplateName
Template to use. Any configuration directly specified ininspect_configwill override those set in the template. Singular fields
that are set in this request will replace their corresponding fields in the
template. Repeated fields are appended. Singular sub-messages and groups
are recursively merged.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getReidentifyTemplateName
Template to use. References an instance ofDeidentifyTemplate.
Any configuration directly specified inreidentify_configorinspect_configwill override those set in the template. TheDeidentifyTemplateused must include only reversible transformations.
Singular fields that are set in this request will replace their
corresponding fields in the template. Repeated fields are appended.
Singular sub-messages and groups are recursively merged.
Returns
Type
Description
string
setReidentifyTemplateName
Template to use. References an instance ofDeidentifyTemplate.
Any configuration directly specified inreidentify_configorinspect_configwill override those set in the template. TheDeidentifyTemplateused must include only reversible transformations.
Singular fields that are set in this request will replace their
corresponding fields in the template. Repeated fields are appended.
Singular sub-messages and groups are recursively merged.
[[["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 ReidentifyContentRequest (2.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.1 (latest)](/php/docs/reference/cloud-dlp/latest/V2.ReidentifyContentRequest)\n- [2.6.0](/php/docs/reference/cloud-dlp/2.6.0/V2.ReidentifyContentRequest)\n- [2.4.1](/php/docs/reference/cloud-dlp/2.4.1/V2.ReidentifyContentRequest)\n- [2.3.0](/php/docs/reference/cloud-dlp/2.3.0/V2.ReidentifyContentRequest)\n- [2.2.3](/php/docs/reference/cloud-dlp/2.2.3/V2.ReidentifyContentRequest)\n- [2.1.0](/php/docs/reference/cloud-dlp/2.1.0/V2.ReidentifyContentRequest)\n- [2.0.0](/php/docs/reference/cloud-dlp/2.0.0/V2.ReidentifyContentRequest)\n- [1.19.0](/php/docs/reference/cloud-dlp/1.19.0/V2.ReidentifyContentRequest)\n- [1.18.0](/php/docs/reference/cloud-dlp/1.18.0/V2.ReidentifyContentRequest)\n- [1.17.0](/php/docs/reference/cloud-dlp/1.17.0/V2.ReidentifyContentRequest)\n- [1.16.0](/php/docs/reference/cloud-dlp/1.16.0/V2.ReidentifyContentRequest)\n- [1.15.1](/php/docs/reference/cloud-dlp/1.15.1/V2.ReidentifyContentRequest)\n- [1.14.0](/php/docs/reference/cloud-dlp/1.14.0/V2.ReidentifyContentRequest)\n- [1.13.2](/php/docs/reference/cloud-dlp/1.13.2/V2.ReidentifyContentRequest)\n- [1.12.0](/php/docs/reference/cloud-dlp/1.12.0/V2.ReidentifyContentRequest)\n- [1.11.0](/php/docs/reference/cloud-dlp/1.11.0/V2.ReidentifyContentRequest)\n- [1.10.2](/php/docs/reference/cloud-dlp/1.10.2/V2.ReidentifyContentRequest)\n- [1.9.0](/php/docs/reference/cloud-dlp/1.9.0/V2.ReidentifyContentRequest)\n- [1.8.6](/php/docs/reference/cloud-dlp/1.8.6/V2.ReidentifyContentRequest) \nReference documentation and code samples for the Data Loss Prevention V2 Client class ReidentifyContentRequest.\n\nRequest to re-identify an item.\n\nGenerated from protobuf message `google.privacy.dlp.v2.ReidentifyContentRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dlp \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. Parent resource name.\n\nThe format of this value varies depending on whether you have [specified a\nprocessing\nlocation](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):\n\n- Projects scope, location specified: `projects/{project_id}/locations/{location_id}`\n- Projects scope, no location specified (defaults to global): `projects/{project_id}` The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3\n\n### setParent\n\nRequired. Parent resource name.\n\nThe format of this value varies depending on whether you have [specified a\nprocessing\nlocation](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):\n\n- Projects scope, location specified: `projects/{project_id}/locations/{location_id}`\n- Projects scope, no location specified (defaults to global): `projects/{project_id}` The following example `parent` string specifies a parent project with the identifier `example-project`, and specifies the `europe-west3` location for processing data: parent=projects/example-project/locations/europe-west3\n\n### getReidentifyConfig\n\nConfiguration for the re-identification of the content item.\n\nThis field shares the same proto message type that is used for\nde-identification, however its usage here is for the reversal of the\nprevious de-identification. Re-identification is performed by examining\nthe transformations used to de-identify the items and executing the\nreverse. This requires that only reversible transformations\nbe provided here. The reversible transformations are:\n\n- `CryptoDeterministicConfig`\n- `CryptoReplaceFfxFpeConfig`\n\n### hasReidentifyConfig\n\n### clearReidentifyConfig\n\n### setReidentifyConfig\n\nConfiguration for the re-identification of the content item.\n\nThis field shares the same proto message type that is used for\nde-identification, however its usage here is for the reversal of the\nprevious de-identification. Re-identification is performed by examining\nthe transformations used to de-identify the items and executing the\nreverse. This requires that only reversible transformations\nbe provided here. The reversible transformations are:\n\n- `CryptoDeterministicConfig`\n- `CryptoReplaceFfxFpeConfig`\n\n### getInspectConfig\n\nConfiguration for the inspector.\n\n### hasInspectConfig\n\n### clearInspectConfig\n\n### setInspectConfig\n\nConfiguration for the inspector.\n\n### getItem\n\nThe item to re-identify. Will be treated as text.\n\n### hasItem\n\n### clearItem\n\n### setItem\n\nThe item to re-identify. Will be treated as text.\n\n### getInspectTemplateName\n\nTemplate to use. Any configuration directly specified in\n`inspect_config` will override those set in the template. Singular fields\nthat are set in this request will replace their corresponding fields in the\ntemplate. Repeated fields are appended. Singular sub-messages and groups\nare recursively merged.\n\n### setInspectTemplateName\n\nTemplate to use. Any configuration directly specified in\n`inspect_config` will override those set in the template. Singular fields\nthat are set in this request will replace their corresponding fields in the\ntemplate. Repeated fields are appended. Singular sub-messages and groups\nare recursively merged.\n\n### getReidentifyTemplateName\n\nTemplate to use. References an instance of `DeidentifyTemplate`.\n\nAny configuration directly specified in `reidentify_config` or\n`inspect_config` will override those set in the template. The\n`DeidentifyTemplate` used must include only reversible transformations.\nSingular fields that are set in this request will replace their\ncorresponding fields in the template. Repeated fields are appended.\nSingular sub-messages and groups are recursively merged.\n\n### setReidentifyTemplateName\n\nTemplate to use. References an instance of `DeidentifyTemplate`.\n\nAny configuration directly specified in `reidentify_config` or\n`inspect_config` will override those set in the template. The\n`DeidentifyTemplate` used must include only reversible transformations.\nSingular fields that are set in this request will replace their\ncorresponding fields in the template. Repeated fields are appended.\nSingular sub-messages and groups are recursively merged.\n\n### getLocationId\n\nDeprecated. This field has no effect.\n\n### setLocationId\n\nDeprecated. This field has no effect."]]