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.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2ExcludeInfoTypes
Returns a new instance of GooglePrivacyDlpV2ExcludeInfoTypes.
2227 2228 2229 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 2227 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`
2225 2226 2227 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 2225 def info_types @info_types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2232 2233 2234 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 2232 def update!(**args) @info_types = args[:info_types] if args.key?(:info_types) end |