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.
4405 4406 4407 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4405 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`
4403 4404 4405 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4403 def info_types @info_types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4410 4411 4412 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4410 def update!(**args) @info_types = args[:info_types] if args.key?(:info_types) end |