Class: Google::Apis::DlpV2::GooglePrivacyDlpV2FindingLimits
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2FindingLimits
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb
Overview
Configuration to control the number of findings returned. Cannot be set if de- identification is requested.
Instance Attribute Summary collapse
-
#max_findings_per_info_type ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeLimit>
Configuration of findings limit given for specified infoTypes.
-
#max_findings_per_item ⇒ Fixnum
Max number of findings that will be returned for each item scanned.
-
#max_findings_per_request ⇒ Fixnum
Max number of findings that will be returned per request/job.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2FindingLimits
constructor
A new instance of GooglePrivacyDlpV2FindingLimits.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2FindingLimits
Returns a new instance of GooglePrivacyDlpV2FindingLimits.
2555 2556 2557 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2555 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_findings_per_info_type ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeLimit>
Configuration of findings limit given for specified infoTypes.
Corresponds to the JSON property maxFindingsPerInfoType
2539 2540 2541 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2539 def max_findings_per_info_type @max_findings_per_info_type end |
#max_findings_per_item ⇒ Fixnum
Max number of findings that will be returned for each item scanned. When set
within InspectJobConfig, the maximum returned is 2000 regardless if this is
set higher. When set within InspectContentRequest, this field is ignored.
Corresponds to the JSON property maxFindingsPerItem
2546 2547 2548 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2546 def max_findings_per_item @max_findings_per_item end |
#max_findings_per_request ⇒ Fixnum
Max number of findings that will be returned per request/job. When set within
InspectContentRequest, the maximum returned is 2000 regardless if this is set
higher.
Corresponds to the JSON property maxFindingsPerRequest
2553 2554 2555 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2553 def max_findings_per_request @max_findings_per_request end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2560 2561 2562 2563 2564 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2560 def update!(**args) @max_findings_per_info_type = args[:max_findings_per_info_type] if args.key?(:max_findings_per_info_type) @max_findings_per_item = args[:max_findings_per_item] if args.key?(:max_findings_per_item) @max_findings_per_request = args[:max_findings_per_request] if args.key?(:max_findings_per_request) end |