Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 6.77 KB

File metadata and controls

11 lines (8 loc) · 6.77 KB

CustomSensitiveRule

Fields

Field Type Required Description
id Optional[str] Identifier for the custom sensitive expression.
value Optional[str] The value of the custom sensitive rule. For REGEX type, this is the regex pattern; for TERM type, it is the term to match; and for INFO_TYPE type, it refers to predefined categories of sensitive content. See https://cloud.google.com/dlp/docs/infotypes-reference for available options.
type Optional[models.CustomSensitiveRuleType] Type of the custom sensitive rule.
likelihood_threshold Optional[models.CustomSensitiveRuleLikelihoodThreshold] Likelihood threshold for BUILT_IN infotypes (e.g., LIKELY, VERY_LIKELY). Only applicable for BUILT_IN type.