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)
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'
ProjectId
public string ProjectId { get; set; }
Project where the finding was found. Can be different from the project that owns the finding.
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
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
Type
public string Type { get; set; }
Container type, for example BigQuery or Google Cloud Storage.
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.
Version
public string Version { get; set; }
Findings container version, if available ("generation" for Google Cloud Storage).