Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeInfoTypes

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

Overview

List of exclude infoTypes.

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

Returns a new instance of GooglePrivacyDlpV2ExcludeInfoTypes



2115
2116
2117
# File 'generated/google/apis/dlp_v2/classes.rb', line 2115

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

Instance Attribute Details

#info_typesArray<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>

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_rulecontainingexclude_info_types.info_typeswith "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 propertyinfoTypes`



2113
2114
2115
# File 'generated/google/apis/dlp_v2/classes.rb', line 2113

def info_types
  @info_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2120
2121
2122
# File 'generated/google/apis/dlp_v2/classes.rb', line 2120

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