public sealed class InspectTemplate : IMessage<InspectTemplate>, IEquatable<InspectTemplate>, IDeepCloneable<InspectTemplate>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class 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 https://cloud.google.com/dlp/docs/concepts-templates
to learn more.
The template will have one of the following formats:
projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID OR
organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID;
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eInspectTemplate\u003c/code\u003e class within the Google Cloud Data Loss Prevention (DLP) v2 API, version 4.7.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eInspectTemplate\u003c/code\u003e is a configuration used to define the types of sensitive data to be detected, serving as a template for the \u003ccode\u003eInspectConfig\u003c/code\u003e and is documented to have various versions available, ranging from 2.15.0 to 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInspectTemplate\u003c/code\u003e class contains properties such as \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eDisplayName\u003c/code\u003e, \u003ccode\u003eInspectConfig\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eUpdateTime\u003c/code\u003e, which are used for configuration and managing the template.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInspectTemplate\u003c/code\u003e class has methods for getting the hash code, type, and string representation, and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple constructors for the class such as a default constructor, \u003ccode\u003eInspectTemplate()\u003c/code\u003e, and one that takes another \u003ccode\u003eInspectTemplate\u003c/code\u003e as a parameter for initialization, \u003ccode\u003eInspectTemplate(InspectTemplate other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]