public sealed class Container : IMessage<Container>, IEquatable<Container>, IDeepCloneable<Container>, IBufferMessage, IMessage
Represents a container that may contain DLP findings. Examples of a container include a file, table, or database record.
Implements
IMessage<Container>, IEquatable<Container>, IDeepCloneable<Container>, 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'
- Google 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
- Google 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 Google 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 Google Cloud Storage.
Property Value | |
---|---|
Type | Description |
String |
UpdateTime
public Timestamp UpdateTime { get; set; }
Findings container modification timestamp, if applicable. For Google Cloud Storage contains last file modification timestamp. For BigQuery table contains last_modified_time property. For Datastore - not populated.
Property Value | |
---|---|
Type | Description |
Timestamp |
Version
public string Version { get; set; }
Findings container version, if available ("generation" for Google Cloud Storage).
Property Value | |
---|---|
Type | Description |
String |