Cloud Data Loss Prevention (Cloud DLP) is now a part of Sensitive Data Protection. The API name remains the same: Cloud Data Loss Prevention API (DLP API). For information about the services that make up Sensitive Data Protection, see Sensitive Data Protection overview.
The template will have one of the following formats: projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID OR organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID;
Output only. The creation timestamp of an inspectTemplate.
Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
Output only. The last update timestamp of an inspectTemplate.
Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
[[["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,["- [Resource: InspectTemplate](#InspectTemplate)\n - [JSON representation](#InspectTemplate.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: InspectTemplate The inspectTemplate contains a configuration (set of types of sensitive data to be detected) to be used anywhere you otherwise would normally specify InspectConfig. See \u003chttps://cloud.google.com/sensitive-data-protection/docs/concepts-templates\u003e to learn more.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"displayName\": string, \"description\": string, \"createTime\": string, \"updateTime\": string, \"inspectConfig\": { object (/sensitive-data-protection/docs/reference/rest/v2/InspectConfig) } } ``` |\n\n| Fields ||\n|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The template name. The template will have one of the following formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`; |\n| `displayName` | `string` Display name (max 256 chars). |\n| `description` | `string` Short description (max 256 chars). |\n| `createTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Output only. The creation timestamp of an inspectTemplate. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n| `updateTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Output only. The last update timestamp of an inspectTemplate. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n| `inspectConfig` | `object (`[InspectConfig](/sensitive-data-protection/docs/reference/rest/v2/InspectConfig)`)` The core content of the template. Configuration of the scanning process. |\n\n| Methods ||\n|----------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|\n| [create](/sensitive-data-protection/docs/reference/rest/v2/projects.inspectTemplates/create) | Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. |\n| [delete](/sensitive-data-protection/docs/reference/rest/v2/projects.inspectTemplates/delete) | Deletes an InspectTemplate. |\n| [get](/sensitive-data-protection/docs/reference/rest/v2/projects.inspectTemplates/get) | Gets an InspectTemplate. |\n| [list](/sensitive-data-protection/docs/reference/rest/v2/projects.inspectTemplates/list) | Lists InspectTemplates. |\n| [patch](/sensitive-data-protection/docs/reference/rest/v2/projects.inspectTemplates/patch) | Updates the InspectTemplate. |"]]