class Google::Apis::DlpV2::GooglePrivacyDlpV2ContentLocation

Precise location of the finding within a document, record, image, or metadata container.

Attributes

container_name[RW]

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). Corresponds to the JSON property `containerName` @return [String]

container_timestamp[RW]

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. Corresponds to the JSON property `containerTimestamp` @return [String]

container_version[RW]

Findings container version, if available (“generation” for Google Cloud Storage). Corresponds to the JSON property `containerVersion` @return [String]

document_location[RW]

Location of a finding within a document. Corresponds to the JSON property `documentLocation` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DocumentLocation]

image_location[RW]

Location of the finding within an image. Corresponds to the JSON property `imageLocation` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ImageLocation]

metadata_location[RW]

Metadata Location Corresponds to the JSON property `metadataLocation` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2MetadataLocation]

record_location[RW]

Location of a finding within a row or record. Corresponds to the JSON property `recordLocation` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RecordLocation]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 1086
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dlp_v2/classes.rb, line 1091
def update!(**args)
  @container_name = args[:container_name] if args.key?(:container_name)
  @container_timestamp = args[:container_timestamp] if args.key?(:container_timestamp)
  @container_version = args[:container_version] if args.key?(:container_version)
  @document_location = args[:document_location] if args.key?(:document_location)
  @image_location = args[:image_location] if args.key?(:image_location)
  @metadata_location = args[:metadata_location] if args.key?(:metadata_location)
  @record_location = args[:record_location] if args.key?(:record_location)
end