Class ContentLocation (3.25.0)

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

Name Description
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 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
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.
container_version str
Finding container version, if available ("generation" for Cloud Storage).