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.

Container

Represents a container that may contain DLP findings. Examples of a container include a file, table, or database record.

JSON representation
{
 "type": string,
 "projectId": string,
 "fullPath": string,
 "rootPath": string,
 "relativePath": string,
 "updateTime": string,
 "version": string
}
Fields
type

string

Container type, for example BigQuery or Cloud Storage.

projectId

string

Project where the finding was found. Can be different from the project that owns the finding.

fullPath

string

A string representation of the full container name. Examples: - BigQuery: 'Project:DataSetId.TableId' - Cloud Storage: 'gs://Bucket/folders/filename.txt'

rootPath

string

The root of the container. Examples:

  • For BigQuery table projectId:datasetId.table_id, the root is datasetId
  • For Cloud Storage file gs://bucket/folder/filename.txt, the root is gs://bucket
relativePath

string

The rest of the path after the root. Examples:

  • For BigQuery table projectId:datasetId.table_id, the relative path is tableId
  • For Cloud Storage file gs://bucket/folder/filename.txt, the relative path is folder/filename.txt
updateTime

string (Timestamp format)

Findings container modification timestamp, if applicable. For Cloud Storage, this field contains the last file modification timestamp. For a BigQuery table, this field contains the lastModifiedTime property. For Datastore, this field isn't populated.

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月02日T15:01:23Z", "2014年10月02日T15:01:23.045123456Z" or "2014年10月02日T15:01:23+05:30".

version

string

Findings container version, if available ("generation" for Cloud Storage).

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年09月09日 UTC.