class Google::Apis::DlpV2::GooglePrivacyDlpV2InspectionRuleSet
Rule set for modifying a set of infoTypes to alter behavior under certain circumstances, depending on the specific details of the rules within the set.
Attributes
info_types[RW]
List of infoTypes this rule set is applied to. Corresponds to the JSON property `infoTypes` @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
rules[RW]
Set of rules to be applied to infoTypes. The rules are applied in order. Corresponds to the JSON property `rules` @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InspectionRule>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 3428 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dlp_v2/classes.rb, line 3433 def update!(**args) @info_types = args[:info_types] if args.key?(:info_types) @rules = args[:rules] if args.key?(:rules) end