Reference documentation and code samples for the Data Loss Prevention V2 Client class ExclusionRule.
The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet
are removed from results.
Generated from protobuf message google.privacy.dlp.v2.ExclusionRule
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ dictionary
↳ regex
↳ exclude_info_types
↳ exclude_by_hotword
ExcludeByHotword
Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name.
↳ matching_type
int
How the rule is applied, see MatchingType documentation for details.
getDictionary
Dictionary which defines the rule.
hasDictionary
setDictionary
Dictionary which defines the rule.
$this
getRegex
Regular expression which defines the rule.
hasRegex
setRegex
Regular expression which defines the rule.
$this
getExcludeInfoTypes
Set of infoTypes for which findings would affect this rule.
hasExcludeInfoTypes
setExcludeInfoTypes
Set of infoTypes for which findings would affect this rule.
$this
getExcludeByHotword
Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name.
hasExcludeByHotword
setExcludeByHotword
Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name.
$this
getMatchingType
How the rule is applied, see MatchingType documentation for details.
int
setMatchingType
How the rule is applied, see MatchingType documentation for details.
var
int
$this
getType
string