Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectResult
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/representations.rb
Overview
All the findings for a single scanned item.
Instance Attribute Summary collapse
-
#findings ⇒ Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Finding>
List of findings for an item.
-
#findings_truncated ⇒ Boolean
(also: #findings_truncated?)
If true, then this item might have more findings than were returned, and the findings returned are an arbitrary subset of all findings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2InspectResult
constructor
A new instance of GooglePrivacyDlpV2beta2InspectResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2InspectResult
Returns a new instance of GooglePrivacyDlpV2beta2InspectResult
3459 3460 3461 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3459 def initialize(**args) update!(**args) end |
Instance Attribute Details
#findings ⇒ Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Finding>
List of findings for an item.
Corresponds to the JSON property findings
3446 3447 3448 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3446 def findings @findings end |
#findings_truncated ⇒ Boolean Also known as: findings_truncated?
If true, then this item might have more findings than were returned,
and the findings returned are an arbitrary subset of all findings.
The findings list might be truncated because the input items were too
large, or because the server reached the maximum amount of resources
allowed for a single API call. For best results, divide the input into
smaller batches.
Corresponds to the JSON property findingsTruncated
3456 3457 3458 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3456 def findings_truncated @findings_truncated end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3464 3465 3466 3467 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3464 def update!(**args) @findings = args[:findings] if args.key?(:findings) @findings_truncated = args[:findings_truncated] if args.key?(:findings_truncated) end |