Class ContentLocation (3.4.0)

public sealed class ContentLocation : IMessage<ContentLocation>, IEquatable<ContentLocation>, IDeepCloneable<ContentLocation>, IBufferMessage, IMessage

Precise location of the finding within a document, record, image, or metadata container.

Inheritance

Object > ContentLocation

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

ContentLocation()

public ContentLocation()

ContentLocation(ContentLocation)

public ContentLocation(ContentLocation other)
Parameter
Name Description
other ContentLocation

Properties

ContainerName

public string ContainerName { get; set; }

Name of the container where the finding is located. The top level name is the source file name or table name. Names of some common storage containers are formatted as follows:

  • BigQuery tables: {project_id}:{dataset_id}.{table_id}
  • Cloud Storage files: gs://{bucket}/{path}
  • Datastore namespace: {namespace}

Nested names could be absent if the embedded object has no string identifier (for an example an image contained within a document).

Property Value
Type Description
String

ContainerTimestamp

public Timestamp ContainerTimestamp { 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

ContainerVersion

public string ContainerVersion { get; set; }

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

Property Value
Type Description
String

DocumentLocation

public DocumentLocation DocumentLocation { get; set; }

Location data for document files.

Property Value
Type Description
DocumentLocation

ImageLocation

public ImageLocation ImageLocation { get; set; }

Location within an image's pixels.

Property Value
Type Description
ImageLocation

LocationCase

public ContentLocation.LocationOneofCase LocationCase { get; }
Property Value
Type Description
ContentLocation.LocationOneofCase

MetadataLocation

public MetadataLocation MetadataLocation { get; set; }

Location within the metadata for inspected content.

Property Value
Type Description
MetadataLocation

RecordLocation

public RecordLocation RecordLocation { get; set; }

Location within a row or record of a database table.

Property Value
Type Description
RecordLocation