Class ContentLocation (3.5.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
NameDescription
otherContentLocation

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

ContainerVersion

public string ContainerVersion { get; set; }

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

Property Value
TypeDescription
String

DocumentLocation

public DocumentLocation DocumentLocation { get; set; }

Location data for document files.

Property Value
TypeDescription
DocumentLocation

ImageLocation

public ImageLocation ImageLocation { get; set; }

Location within an image's pixels.

Property Value
TypeDescription
ImageLocation

LocationCase

public ContentLocation.LocationOneofCase LocationCase { get; }
Property Value
TypeDescription
ContentLocation.LocationOneofCase

MetadataLocation

public MetadataLocation MetadataLocation { get; set; }

Location within the metadata for inspected content.

Property Value
TypeDescription
MetadataLocation

RecordLocation

public RecordLocation RecordLocation { get; set; }

Location within a row or record of a database table.

Property Value
TypeDescription
RecordLocation