public sealed class Container : IMessage<Container>, IEquatable<Container>, IDeepCloneable<Container>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class Container.
Represents a container that may contain DLP findings. Examples of a container include a file, table, or database record.
Implements
IMessageContainer, IEquatableContainer, IDeepCloneableContainer, IBufferMessage, IMessageNamespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
Container()
public Container()
Container(Container)
public Container(Container other)
Parameter | |
---|---|
Name | Description |
other |
Container |
Properties
FullPath
public string FullPath { get; set; }
A string representation of the full container name. Examples:
- BigQuery: 'Project:DataSetId.TableId'
- Cloud Storage: 'gs://Bucket/folders/filename.txt'
Property Value | |
---|---|
Type | Description |
string |
ProjectId
public string ProjectId { get; set; }
Project where the finding was found. Can be different from the project that owns the finding.
Property Value | |
---|---|
Type | Description |
string |
RelativePath
public string RelativePath { get; set; }
The rest of the path after the root. Examples:
- For BigQuery table
project_id:dataset_id.table_id
, the relative path istable_id
- For Cloud Storage file
gs://bucket/folder/filename.txt
, the relative path isfolder/filename.txt
Property Value | |
---|---|
Type | Description |
string |
RootPath
public string RootPath { get; set; }
The root of the container. Examples:
- For BigQuery table
project_id:dataset_id.table_id
, the root isdataset_id
- For Cloud Storage file
gs://bucket/folder/filename.txt
, the root isgs://bucket
Property Value | |
---|---|
Type | Description |
string |
Type
public string Type { get; set; }
Container type, for example BigQuery or Cloud Storage.
Property Value | |
---|---|
Type | Description |
string |
UpdateTime
public Timestamp UpdateTime { get; set; }
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 last_modified_time property. For Datastore, this field isn't populated.
Property Value | |
---|---|
Type | Description |
Timestamp |
Version
public string Version { get; set; }
Findings container version, if available ("generation" for Cloud Storage).
Property Value | |
---|---|
Type | Description |
string |