Google Cloud Data Loss Prevention v2 API - Class ContentLocation (2.15.0)

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

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class ContentLocation.

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 example, an image contained within a document).

Property Value
TypeDescription
string

ContainerTimestamp

public Timestamp ContainerTimestamp { get; set; }

Finding container modification timestamp, if applicable. For Cloud Storage, this field contains the last file modification timestamp. For a BigQuery table, this field contains the last_modified_time property. For Datastore, this field isn't populated.

Property Value
TypeDescription
Timestamp

ContainerVersion

public string ContainerVersion { get; set; }

Finding container version, if available ("generation" for 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
ContentLocationLocationOneofCase

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