Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeInfoTypes
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeInfoTypes
- 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
-
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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_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`
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 |