Class: Google::Apis::DlpV2::GooglePrivacyDlpV2HybridFindingDetails
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2HybridFindingDetails
- 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
Populate to associate additional data with each finding.
Instance Attribute Summary collapse
-
#container_details ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Container
Represents a container that may contain DLP findings.
-
#file_offset ⇒ Fixnum
Offset in bytes of the line, from the beginning of the file, where the finding is located.
-
#labels ⇒ Hash<String,String>
Labels to represent user provided metadata about the data being inspected.
-
#row_offset ⇒ Fixnum
Offset of the row for tables.
-
#table_options ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2TableOptions
Instructions regarding the table content being inspected.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2HybridFindingDetails
constructor
A new instance of GooglePrivacyDlpV2HybridFindingDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2HybridFindingDetails
Returns a new instance of GooglePrivacyDlpV2HybridFindingDetails.
2842 2843 2844 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 2842 def initialize(**args) update!(**args) end |
Instance Attribute Details
#container_details ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Container
Represents a container that may contain DLP findings.
Examples of a container include a file, table, or database record.
Corresponds to the JSON property containerDetails
2804 2805 2806 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 2804 def container_details @container_details end |
#file_offset ⇒ Fixnum
Offset in bytes of the line, from the beginning of the file, where the
finding is located. Populate if the item being scanned is only part of a
bigger item, such as a shard of a file and you want to track the absolute
position of the finding.
Corresponds to the JSON property fileOffset
2812 2813 2814 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 2812 def file_offset @file_offset end |
#labels ⇒ Hash<String,String>
Labels to represent user provided metadata about the data being inspected.
If configured by the job, some key values may be required.
The labels associated with Finding
's produced by hybrid
inspection.
Label keys must be between 1 and 63 characters long and must conform
to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
Corresponds to the JSON propertylabels
2828 2829 2830 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 2828 def labels @labels end |
#row_offset ⇒ Fixnum
Offset of the row for tables. Populate if the row(s) being scanned are
part of a bigger dataset and you want to keep track of their absolute
position.
Corresponds to the JSON property rowOffset
2835 2836 2837 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 2835 def row_offset @row_offset end |
#table_options ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2TableOptions
Instructions regarding the table content being inspected.
Corresponds to the JSON property tableOptions
2840 2841 2842 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 2840 def @table_options end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2847 2848 2849 2850 2851 2852 2853 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 2847 def update!(**args) @container_details = args[:container_details] if args.key?(:container_details) @file_offset = args[:file_offset] if args.key?(:file_offset) @labels = args[:labels] if args.key?(:labels) @row_offset = args[:row_offset] if args.key?(:row_offset) @table_options = args[:table_options] if args.key?(:table_options) end |