Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FindingLimits

Inherits:
Object
  • Object
show all
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

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) ⇒ GooglePrivacyDlpV2beta2FindingLimits

Returns a new instance of GooglePrivacyDlpV2beta2FindingLimits



3281
3282
3283
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3281

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

Instance Attribute Details

#max_findings_per_info_typeArray<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeLimit>

Configuration of findings limit given for specified infoTypes. Corresponds to the JSON property maxFindingsPerInfoType



3264
3265
3266
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3264

def max_findings_per_info_type
  @max_findings_per_info_type
end

#max_findings_per_itemFixnum

Max number of findings that will be returned for each item scanned. When set within InspectDataSourceRequest, the maximum returned is 1000 regardless if this is set higher. When set within InspectContentRequest, this field is ignored. Corresponds to the JSON property maxFindingsPerItem

Returns:

  • (Fixnum)


3272
3273
3274
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3272

def max_findings_per_item
  @max_findings_per_item
end

#max_findings_per_requestFixnum

Max number of findings that will be returned per request/job. When set within InspectContentRequest, the maximum returned is 1000 regardless if this is set higher. Corresponds to the JSON property maxFindingsPerRequest

Returns:

  • (Fixnum)


3279
3280
3281
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3279

def max_findings_per_request
  @max_findings_per_request
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3286
3287
3288
3289
3290
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3286

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