class Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeInfoTypes
List of exclude infoTypes.
Attributes
info_types[RW]
InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list. For example, for `InspectionRuleSet.info_types` containing “PHONE_NUMBER”` and ` exclusion_rule` containing `exclude_info_types.info_types` with “EMAIL_ADDRESS” the phone number findings are dropped if they overlap with EMAIL_ADDRESS finding. That leads to “555-222-2222@example.org” to generate only a single finding, namely email address. Corresponds to the JSON property `infoTypes` @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 2232 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dlp_v2/classes.rb, line 2237 def update!(**args) @info_types = args[:info_types] if args.key?(:info_types) end