Class DetectionRule (3.2.4)

DetectionRule(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attribute

NameDescription
hotword_rule google.cloud.dlp_v2.types.CustomInfoType.DetectionRule.HotwordRule
Hotword-based detection rule.

Classes

HotwordRule

HotwordRule(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The rule that adjusts the likelihood of findings within a certain proximity of hotwords.

LikelihoodAdjustment

LikelihoodAdjustment(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message for specifying an adjustment to the likelihood of a finding as part of a detection rule.

Proximity

Proximity(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message for specifying a window around a finding to apply a detection rule.