Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::ContentLocation (v0.21.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

defcontainer_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=

defcontainer_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

defcontainer_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=

defcontainer_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

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

#container_version=

defcontainer_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

defdocument_location()->::Google::Cloud::Dlp::V2::DocumentLocation
Returns

#document_location=

defdocument_location=(value)->::Google::Cloud::Dlp::V2::DocumentLocation
Parameter
Returns

#image_location

defimage_location()->::Google::Cloud::Dlp::V2::ImageLocation
Returns

#image_location=

defimage_location=(value)->::Google::Cloud::Dlp::V2::ImageLocation
Parameter
Returns

#metadata_location

defmetadata_location()->::Google::Cloud::Dlp::V2::MetadataLocation
Returns

#metadata_location=

defmetadata_location=(value)->::Google::Cloud::Dlp::V2::MetadataLocation
Parameter
Returns

#record_location

defrecord_location()->::Google::Cloud::Dlp::V2::RecordLocation
Returns

#record_location=

defrecord_location=(value)->::Google::Cloud::Dlp::V2::RecordLocation
Parameter
Returns

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.