Reference documentation and code samples for the Data Loss Prevention V2 Client class ContentLocation.
Precise location of the finding within a document, record, image, or metadata container.
Generated from protobuf message google.privacy.dlp.v2.ContentLocation
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ container_name
string
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
↳ image_location
↳ document_location
↳ metadata_location
↳ container_timestamp
Google\Protobuf\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
string
Finding container version, if available ("generation" for Cloud Storage).
getContainerName
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).
string
setContainerName
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).
var
string
$this
getRecordLocation
Location within a row or record of a database table.
hasRecordLocation
setRecordLocation
Location within a row or record of a database table.
$this
getImageLocation
Location within an image's pixels.
hasImageLocation
setImageLocation
Location within an image's pixels.
$this
getDocumentLocation
Location data for document files.
hasDocumentLocation
setDocumentLocation
Location data for document files.
$this
getMetadataLocation
Location within the metadata for inspected content.
hasMetadataLocation
setMetadataLocation
Location within the metadata for inspected content.
$this
getContainerTimestamp
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.
hasContainerTimestamp
clearContainerTimestamp
setContainerTimestamp
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.
$this
getContainerVersion
Finding container version, if available ("generation" for Cloud Storage).
string
setContainerVersion
Finding container version, if available ("generation" for Cloud Storage).
var
string
$this
getLocation
string