Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::ContentLocation (v1.7.0)

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
Returns
  • (::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).

#container_name=

def container_name=(value) -> ::String
Parameter
  • 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 example, an image contained within a document).

Returns
  • (::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).

#container_timestamp

def container_timestamp() -> ::Google::Protobuf::Timestamp
Returns
  • (::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_timestamp=

def container_timestamp=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::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.
Returns
  • (::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

def container_version() -> ::String
Returns
  • (::String) — Finding container version, if available ("generation" for Cloud Storage).

#container_version=

def container_version=(value) -> ::String
Parameter
  • value (::String) — Finding container version, if available ("generation" for Cloud Storage).
Returns
  • (::String) — Finding container version, if available ("generation" for Cloud Storage).

#document_location

def document_location() -> ::Google::Cloud::Dlp::V2::DocumentLocation
Returns
  • (::Google::Cloud::Dlp::V2::DocumentLocation) — Location data for document files.

    Note: The following fields are mutually exclusive: document_location, record_location, image_location, metadata_location. If a field in that set is populated, all other fields in the set will automatically be cleared.

#document_location=

def document_location=(value) -> ::Google::Cloud::Dlp::V2::DocumentLocation
Parameter
  • value (::Google::Cloud::Dlp::V2::DocumentLocation) — Location data for document files.

    Note: The following fields are mutually exclusive: document_location, record_location, image_location, metadata_location. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dlp::V2::DocumentLocation) — Location data for document files.

    Note: The following fields are mutually exclusive: document_location, record_location, image_location, metadata_location. If a field in that set is populated, all other fields in the set will automatically be cleared.

#image_location

def image_location() -> ::Google::Cloud::Dlp::V2::ImageLocation
Returns
  • (::Google::Cloud::Dlp::V2::ImageLocation) — Location within an image's pixels.

    Note: The following fields are mutually exclusive: image_location, record_location, document_location, metadata_location. If a field in that set is populated, all other fields in the set will automatically be cleared.

#image_location=

def image_location=(value) -> ::Google::Cloud::Dlp::V2::ImageLocation
Parameter
  • value (::Google::Cloud::Dlp::V2::ImageLocation) — Location within an image's pixels.

    Note: The following fields are mutually exclusive: image_location, record_location, document_location, metadata_location. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dlp::V2::ImageLocation) — Location within an image's pixels.

    Note: The following fields are mutually exclusive: image_location, record_location, document_location, metadata_location. If a field in that set is populated, all other fields in the set will automatically be cleared.

#metadata_location

def metadata_location() -> ::Google::Cloud::Dlp::V2::MetadataLocation
Returns
  • (::Google::Cloud::Dlp::V2::MetadataLocation) — Location within the metadata for inspected content.

    Note: The following fields are mutually exclusive: metadata_location, record_location, image_location, document_location. If a field in that set is populated, all other fields in the set will automatically be cleared.

#metadata_location=

def metadata_location=(value) -> ::Google::Cloud::Dlp::V2::MetadataLocation
Parameter
  • value (::Google::Cloud::Dlp::V2::MetadataLocation) — Location within the metadata for inspected content.

    Note: The following fields are mutually exclusive: metadata_location, record_location, image_location, document_location. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dlp::V2::MetadataLocation) — Location within the metadata for inspected content.

    Note: The following fields are mutually exclusive: metadata_location, record_location, image_location, document_location. If a field in that set is populated, all other fields in the set will automatically be cleared.

#record_location

def record_location() -> ::Google::Cloud::Dlp::V2::RecordLocation
Returns
  • (::Google::Cloud::Dlp::V2::RecordLocation) — Location within a row or record of a database table.

    Note: The following fields are mutually exclusive: record_location, image_location, document_location, metadata_location. If a field in that set is populated, all other fields in the set will automatically be cleared.

#record_location=

def record_location=(value) -> ::Google::Cloud::Dlp::V2::RecordLocation
Parameter
  • value (::Google::Cloud::Dlp::V2::RecordLocation) — Location within a row or record of a database table.

    Note: The following fields are mutually exclusive: record_location, image_location, document_location, metadata_location. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dlp::V2::RecordLocation) — Location within a row or record of a database table.

    Note: The following fields are mutually exclusive: record_location, image_location, document_location, metadata_location. If a field in that set is populated, all other fields in the set will automatically be cleared.