Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::ContentLocation.
Precise location of the finding within a document, record, image, or metadata container.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#container_name
def container_name() -> ::String
-
(::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 an example an image contained within a document).
- BigQuery tables:
#container_name=
def container_name=(value) -> ::String
-
value (::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 an example an image contained within a document).
- BigQuery tables:
-
(::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 an example an image contained within a document).
- BigQuery tables:
#container_timestamp
def container_timestamp() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::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_timestamp=
def container_timestamp=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::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.
- (::Google::Protobuf::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
def container_version() -> ::String
- (::String) — Findings container version, if available ("generation" for Google Cloud Storage).
#container_version=
def container_version=(value) -> ::String
- value (::String) — Findings container version, if available ("generation" for Google Cloud Storage).
- (::String) — Findings container version, if available ("generation" for Google Cloud Storage).
#document_location
def document_location() -> ::Google::Cloud::Dlp::V2::DocumentLocation
- (::Google::Cloud::Dlp::V2::DocumentLocation) — Location data for document files.
#document_location=
def document_location=(value) -> ::Google::Cloud::Dlp::V2::DocumentLocation
- value (::Google::Cloud::Dlp::V2::DocumentLocation) — Location data for document files.
- (::Google::Cloud::Dlp::V2::DocumentLocation) — Location data for document files.
#image_location
def image_location() -> ::Google::Cloud::Dlp::V2::ImageLocation
- (::Google::Cloud::Dlp::V2::ImageLocation) — Location within an image's pixels.
#image_location=
def image_location=(value) -> ::Google::Cloud::Dlp::V2::ImageLocation
- value (::Google::Cloud::Dlp::V2::ImageLocation) — Location within an image's pixels.
- (::Google::Cloud::Dlp::V2::ImageLocation) — Location within an image's pixels.
#metadata_location
def metadata_location() -> ::Google::Cloud::Dlp::V2::MetadataLocation
- (::Google::Cloud::Dlp::V2::MetadataLocation) — Location within the metadata for inspected content.
#metadata_location=
def metadata_location=(value) -> ::Google::Cloud::Dlp::V2::MetadataLocation
- value (::Google::Cloud::Dlp::V2::MetadataLocation) — Location within the metadata for inspected content.
- (::Google::Cloud::Dlp::V2::MetadataLocation) — Location within the metadata for inspected content.
#record_location
def record_location() -> ::Google::Cloud::Dlp::V2::RecordLocation
- (::Google::Cloud::Dlp::V2::RecordLocation) — Location within a row or record of a database table.
#record_location=
def record_location=(value) -> ::Google::Cloud::Dlp::V2::RecordLocation
- value (::Google::Cloud::Dlp::V2::RecordLocation) — Location within a row or record of a database table.
- (::Google::Cloud::Dlp::V2::RecordLocation) — Location within a row or record of a database table.