Class ContentLocation (3.3.1)

ContentLocation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
container_name str
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).
record_location google.cloud.dlp_v2.types.RecordLocation
Location within a row or record of a database table. This field is a member of oneof_ location.
image_location google.cloud.dlp_v2.types.ImageLocation
Location within an image's pixels. This field is a member of oneof_ location.
document_location google.cloud.dlp_v2.types.DocumentLocation
Location data for document files. This field is a member of oneof_ location.
metadata_location google.cloud.dlp_v2.types.MetadataLocation
Location within the metadata for inspected content. This field is a member of oneof_ location.
container_timestamp google.protobuf.timestamp_pb2.Timestamp
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.
container_version str
Findings container version, if available ("generation" for Google Cloud Storage).