Class: Google::Cloud::Dlp::V2::ContentLocation

Inherits:
Object
  • Object
show all
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

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).

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).



457
458
459
460
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 457

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.

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.



457
458
459
460
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 457

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).

Returns:

  • (::String)

    Finding container version, if available ("generation" for Cloud Storage).



457
458
459
460
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 457

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.

Returns:



457
458
459
460
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 457

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.

Returns:



457
458
459
460
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 457

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.

Returns:



457
458
459
460
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 457

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.

Returns:



457
458
459
460
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 457

class ContentLocation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end