Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DetectionRule
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2DetectionRule
- 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
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.
Instance Attribute Summary collapse
-
#hotword_rule ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2HotwordRule
The rule that adjusts the likelihood of findings within a certain proximity of hotwords.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2DetectionRule
constructor
A new instance of GooglePrivacyDlpV2DetectionRule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2DetectionRule
Returns a new instance of GooglePrivacyDlpV2DetectionRule.
3263 3264 3265 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3263 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hotword_rule ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2HotwordRule
The rule that adjusts the likelihood of findings within a certain proximity of
hotwords.
Corresponds to the JSON property hotwordRule
3261 3262 3263 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3261 def hotword_rule @hotword_rule end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3268 3269 3270 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3268 def update!(**args) @hotword_rule = args[:hotword_rule] if args.key?(:hotword_rule) end |