Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectResult

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/representations.rb

Overview

All the findings for a single scanned item.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2beta1InspectResult

Returns a new instance of GooglePrivacyDlpV2beta1InspectResult



1873
1874
1875
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1873

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#findingsArray<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Finding>

List of findings for an item. Corresponds to the JSON property findings



1860
1861
1862
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1860

def findings
  @findings
end

#findings_truncatedBoolean 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

Returns:

  • (Boolean)


1870
1871
1872
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1870

def findings_truncated
  @findings_truncated
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1878
1879
1880
1881
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1878

def update!(**args)
  @findings = args[:findings] if args.key?(:findings)
  @findings_truncated = args[:findings_truncated] if args.key?(:findings_truncated)
end