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.

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".

version

string

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