# Container

- [JSON representation](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/Container#SCHEMA_REPRESENTATION)

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 (`https://protobuf.dev/reference/protobuf/google.protobuf#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-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `version` | `string` Findings container version, if available ("generation" for Cloud Storage). |