Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeInfoTypes
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeInfoTypes
- 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
List of excluded infoTypes.
Instance Attribute Summary collapse
-
#info_types ⇒ Array<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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2ExcludeInfoTypes
constructor
A new instance of GooglePrivacyDlpV2ExcludeInfoTypes.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2ExcludeInfoTypes
Returns a new instance of GooglePrivacyDlpV2ExcludeInfoTypes.
4111 4112 4113 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4111 def initialize(**args) update!(**args) end |
Instance Attribute Details
#info_types ⇒ Array<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_rulecontaining
exclude_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 property
infoTypes`
4109 4110 4111 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4109 def info_types @info_types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4116 4117 4118 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4116 def update!(**args) @info_types = args[:info_types] if args.key?(:info_types) end |