Send feedback
Class DetectionRule (3.0.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.0.1 keyboard_arrow_down
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 Name Description hotword_rule
.storage.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.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-03-16 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?