REST Resource: projects.locations.inspectTemplates

Stay organized with collections Save and categorize content based on your preferences.

Resource: 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.

JSON representation
{
  "name": string,
  "displayName": string,
  "description": string,
  "createTime": string,
  "updateTime": string,
  "inspectConfig": {
    object (InspectConfig)
  }
}
Fields
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;

displayName

string

Display name (max 256 chars).

description

string

Short description (max 256 chars).

createTime

string (Timestamp format)

Output only. The creation timestamp of an inspectTemplate.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. The last update timestamp of an inspectTemplate.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

inspectConfig

object (InspectConfig)

The core content of the template. Configuration of the scanning process.

Methods

create

Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage.

delete

Deletes an InspectTemplate.

get

Gets an InspectTemplate.

list

Lists InspectTemplates.

patch

Updates the InspectTemplate.