Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ContentLocation
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2ContentLocation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/representations.rb
Overview
Findings container location data.
Instance Attribute Summary collapse
-
#container_name ⇒ String
Name of the container where the finding is located.
-
#container_timestamp ⇒ String
Findings container modification timestamp, if applicable.
-
#container_version ⇒ String
Findings container version, if available ("generation" for Google Cloud Storage).
-
#document_location ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DocumentLocation
Location of a finding within a document.
-
#image_location ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ImageLocation
Location of the finding within an image.
-
#record_location ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2RecordLocation
Location of a finding within a row or record.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2ContentLocation
constructor
A new instance of GooglePrivacyDlpV2ContentLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2ContentLocation
Returns a new instance of GooglePrivacyDlpV2ContentLocation
838 839 840 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 838 def initialize(**args) update!(**args) end |
Instance Attribute Details
#container_name ⇒ String
Name of the container where the finding is located.
The top level name is the source file name or table name. 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
807 808 809 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 807 def container_name @container_name end |
#container_timestamp ⇒ String
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
815 816 817 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 815 def @container_timestamp end |
#container_version ⇒ String
Findings container version, if available
("generation" for Google Cloud Storage).
Corresponds to the JSON property containerVersion
821 822 823 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 821 def container_version @container_version end |
#document_location ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DocumentLocation
Location of a finding within a document.
Corresponds to the JSON property documentLocation
826 827 828 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 826 def document_location @document_location end |
#image_location ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ImageLocation
Location of the finding within an image.
Corresponds to the JSON property imageLocation
831 832 833 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 831 def image_location @image_location end |
#record_location ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2RecordLocation
Location of a finding within a row or record.
Corresponds to the JSON property recordLocation
836 837 838 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 836 def record_location @record_location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
843 844 845 846 847 848 849 850 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 843 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) @record_location = args[:record_location] if args.key?(:record_location) end |