Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DetectionRule
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DetectionRule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/representations.rb
Overview
Rule for modifying a custom info type to alter behavior under certain
circumstances, depending on the specific details of the rule. Not supported
for the surrogate_type
custom info type.
Instance Attribute Summary collapse
-
#hotword_rule ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2HotwordRule
Detection rule that adjusts the likelihood of findings within a certain proximity of hotwords.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2DetectionRule
constructor
A new instance of GooglePrivacyDlpV2beta2DetectionRule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2DetectionRule
Returns a new instance of GooglePrivacyDlpV2beta2DetectionRule
2892 2893 2894 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2892 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hotword_rule ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2HotwordRule
Detection rule that adjusts the likelihood of findings within a certain
proximity of hotwords.
Corresponds to the JSON property hotwordRule
2890 2891 2892 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2890 def hotword_rule @hotword_rule end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2897 2898 2899 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2897 def update!(**args) @hotword_rule = args[:hotword_rule] if args.key?(:hotword_rule) end |