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.
Implements
IMessage<ContentLocation>, IEquatable<ContentLocation>, IDeepCloneable<ContentLocation>, IBufferMessage, IMessageNamespace
Google.Cloud.Dlp.V2Assembly
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 example, an image contained within a document).
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Timestamp |
ContainerVersion
public string ContainerVersion { get; set; }
Finding container version, if available ("generation" for 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 |