Class DetectionRule (3.11.1)

Stay organized with collections Save and categorize content based on your preferences.
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.

.. _oneof:


Hotword-based detection rule. This field is a member of oneof_ type.



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

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


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.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof:


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

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