class Google::Apis::DlpV2::GooglePrivacyDlpV2DetectionRule
Deprecated; use `InspectionRuleSet` instead. Rule for modifying a ` CustomInfoType` to alter behavior under certain circumstances, depending on the specific details of the rule. Not supported for the `surrogate_type` custom infoType.
Attributes
hotword_rule[RW]
The rule that adjusts the likelihood of findings within a certain proximity of hotwords. Corresponds to the JSON property `hotwordRule` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HotwordRule]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 2017 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 2022 def update!(**args) @hotword_rule = args[:hotword_rule] if args.key?(:hotword_rule) end