Class Container (3.5.0)

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.

Inheritance

Object > Container

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

Container()

public Container()

Container(Container)

public Container(Container other)
Parameter
NameDescription
otherContainer

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
TypeDescription
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
TypeDescription
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 is table_id
  • Google Cloud Storage file gs://bucket/folder/filename.txt, the relative path is folder/filename.txt
Property Value
TypeDescription
String

RootPath

public string RootPath { get; set; }

The root of the container. Examples:

  • For BigQuery table project_id:dataset_id.table_id, the root is dataset_id
  • For Google Cloud Storage file gs://bucket/folder/filename.txt, the root is gs://bucket
Property Value
TypeDescription
String

Type

public string Type { get; set; }

Container type, for example BigQuery or Google Cloud Storage.

Property Value
TypeDescription
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
TypeDescription
Timestamp

Version

public string Version { get; set; }

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

Property Value
TypeDescription
String