Class: Google::Cloud::Dlp::V2::ContentLocation
- Inherits:
-
Object
- Object
- Google::Cloud::Dlp::V2::ContentLocation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/privacy/dlp/v2/dlp.rb
Overview
Precise location of the finding within a document, record, image, or metadata container.
Instance Attribute Summary collapse
-
#container_name ⇒ ::String
Name of the container where the finding is located.
-
#container_timestamp ⇒ ::Google::Protobuf::Timestamp
Finding container modification timestamp, if applicable.
-
#container_version ⇒ ::String
Finding container version, if available ("generation" for Cloud Storage).
-
#document_location ⇒ ::Google::Cloud::Dlp::V2::DocumentLocation
Location data for document files.
-
#image_location ⇒ ::Google::Cloud::Dlp::V2::ImageLocation
Location within an image's pixels.
-
#metadata_location ⇒ ::Google::Cloud::Dlp::V2::MetadataLocation
Location within the metadata for inspected content.
-
#record_location ⇒ ::Google::Cloud::Dlp::V2::RecordLocation
Location within a row or record of a database table.
Instance Attribute Details
#container_name ⇒ ::String
Returns 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).
508 509 510 511 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 508 class ContentLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#container_timestamp ⇒ ::Google::Protobuf::Timestamp
Returns 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.
508 509 510 511 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 508 class ContentLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#container_version ⇒ ::String
Returns Finding container version, if available ("generation" for Cloud Storage).
508 509 510 511 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 508 class ContentLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#document_location ⇒ ::Google::Cloud::Dlp::V2::DocumentLocation
Returns Location data for document files.
508 509 510 511 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 508 class ContentLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#image_location ⇒ ::Google::Cloud::Dlp::V2::ImageLocation
Returns Location within an image's pixels.
508 509 510 511 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 508 class ContentLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#metadata_location ⇒ ::Google::Cloud::Dlp::V2::MetadataLocation
Returns Location within the metadata for inspected content.
508 509 510 511 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 508 class ContentLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#record_location ⇒ ::Google::Cloud::Dlp::V2::RecordLocation
Returns Location within a row or record of a database table.
508 509 510 511 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 508 class ContentLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |