class Google::Apis::DlpV2::GooglePrivacyDlpV2Container
Represents a container that may contain DLP findings. Examples of a container include a file, table, or database record.
Attributes
A string representation of the full container name. Examples: - BigQuery: ' Project:DataSetId.TableId' - Google
Cloud Storage: 'gs://Bucket/folders/ filename.txt' Corresponds to the JSON property `fullPath` @return [String]
Project where the finding was found. Can be different from the project that owns the finding. Corresponds to the JSON property `projectId` @return [String]
The rest of the path after the root. Examples: - For BigQuery table ` project_id
:dataset_id.table_id`, the relative path is `table_id` - Google
Cloud Storage file `gs://bucket/folder/filename.txt`, the relative path is ` folder/filename.txt` Corresponds to the JSON property `relativePath` @return [String]
The root of the container. Examples: - For BigQuery table `project_id: dataset_id.table_id`, the root is `dataset_id` - For Google
Cloud Storage file `gs://bucket/folder/filename.txt`, the root is `gs://bucket` Corresponds to the JSON property `rootPath` @return [String]
Container type, for example BigQuery or Google
Cloud Storage. Corresponds to the JSON property `type` @return [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 `updateTime` @return [String]
Findings container version, if available (“generation” for Google
Cloud Storage). Corresponds to the JSON property `version` @return [String]
Public Class Methods
# File lib/google/apis/dlp_v2/classes.rb, line 989 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dlp_v2/classes.rb, line 994 def update!(**args) @full_path = args[:full_path] if args.key?(:full_path) @project_id = args[:project_id] if args.key?(:project_id) @relative_path = args[:relative_path] if args.key?(:relative_path) @root_path = args[:root_path] if args.key?(:root_path) @type = args[:type] if args.key?(:type) @update_time = args[:update_time] if args.key?(:update_time) @version = args[:version] if args.key?(:version) end