Generated from protobuf messagegoogle.privacy.dlp.v2.DeidentifyTemplate
Namespace
Google \ Cloud \ Dlp \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The template name. The template will have one of the following formats:projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_IDORorganizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID
The template will have one of the following formats:projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_IDORorganizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID
Returns
Type
Description
string
setName
Output only. The template name.
The template will have one of the following formats:projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_IDORorganizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDisplayName
Display name (max 256 chars).
Returns
Type
Description
string
setDisplayName
Display name (max 256 chars).
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDescription
Short description (max 256 chars).
Returns
Type
Description
string
setDescription
Short description (max 256 chars).
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCreateTime
Output only. The creation timestamp of an inspectTemplate.
[[["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 DeidentifyTemplate (2.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.1 (latest)](/php/docs/reference/cloud-dlp/latest/V2.DeidentifyTemplate)\n- [2.6.0](/php/docs/reference/cloud-dlp/2.6.0/V2.DeidentifyTemplate)\n- [2.4.1](/php/docs/reference/cloud-dlp/2.4.1/V2.DeidentifyTemplate)\n- [2.3.0](/php/docs/reference/cloud-dlp/2.3.0/V2.DeidentifyTemplate)\n- [2.2.3](/php/docs/reference/cloud-dlp/2.2.3/V2.DeidentifyTemplate)\n- [2.1.0](/php/docs/reference/cloud-dlp/2.1.0/V2.DeidentifyTemplate)\n- [2.0.0](/php/docs/reference/cloud-dlp/2.0.0/V2.DeidentifyTemplate)\n- [1.19.0](/php/docs/reference/cloud-dlp/1.19.0/V2.DeidentifyTemplate)\n- [1.18.0](/php/docs/reference/cloud-dlp/1.18.0/V2.DeidentifyTemplate)\n- [1.17.0](/php/docs/reference/cloud-dlp/1.17.0/V2.DeidentifyTemplate)\n- [1.16.0](/php/docs/reference/cloud-dlp/1.16.0/V2.DeidentifyTemplate)\n- [1.15.1](/php/docs/reference/cloud-dlp/1.15.1/V2.DeidentifyTemplate)\n- [1.14.0](/php/docs/reference/cloud-dlp/1.14.0/V2.DeidentifyTemplate)\n- [1.13.2](/php/docs/reference/cloud-dlp/1.13.2/V2.DeidentifyTemplate)\n- [1.12.0](/php/docs/reference/cloud-dlp/1.12.0/V2.DeidentifyTemplate)\n- [1.11.0](/php/docs/reference/cloud-dlp/1.11.0/V2.DeidentifyTemplate)\n- [1.10.2](/php/docs/reference/cloud-dlp/1.10.2/V2.DeidentifyTemplate)\n- [1.9.0](/php/docs/reference/cloud-dlp/1.9.0/V2.DeidentifyTemplate)\n- [1.8.6](/php/docs/reference/cloud-dlp/1.8.6/V2.DeidentifyTemplate) \nReference documentation and code samples for the Data Loss Prevention V2 Client class DeidentifyTemplate.\n\nDeidentifyTemplates contains instructions on how to de-identify content.\n\nSee\n\u003chttps://cloud.google.com/sensitive-data-protection/docs/concepts-templates\u003e to\nlearn more.\n\nGenerated from protobuf message `google.privacy.dlp.v2.DeidentifyTemplate`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dlp \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nOutput only. The template name.\n\nThe template will have one of the following formats:\n`projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR\n`organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`\n\n### setName\n\nOutput only. The template name.\n\nThe template will have one of the following formats:\n`projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR\n`organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`\n\n### getDisplayName\n\nDisplay name (max 256 chars).\n\n### setDisplayName\n\nDisplay name (max 256 chars).\n\n### getDescription\n\nShort description (max 256 chars).\n\n### setDescription\n\nShort description (max 256 chars).\n\n### getCreateTime\n\nOutput only. The creation timestamp of an inspectTemplate.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The creation timestamp of an inspectTemplate.\n\n### getUpdateTime\n\nOutput only. The last update timestamp of an inspectTemplate.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. The last update timestamp of an inspectTemplate.\n\n### getDeidentifyConfig\n\nThe core content of the template.\n\n### hasDeidentifyConfig\n\n### clearDeidentifyConfig\n\n### setDeidentifyConfig\n\nThe core content of the template."]]