Reference documentation and code samples for the Data Loss Prevention V2 Client class MatchingType.
Type of the match which can be applied to different ways of matching, like Dictionary, regular expression and intersecting with findings of another infoType.
Protobuf type google.privacy.dlp.v2.MatchingType
Namespace
Google \ Cloud \ Dlp \ V2Methods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
MATCHING_TYPE_UNSPECIFIED
Value: 0Invalid.
Generated from protobuf enum MATCHING_TYPE_UNSPECIFIED = 0;
MATCHING_TYPE_FULL_MATCH
Value: 1Full match.
- Dictionary: join of Dictionary results matched the complete finding quote
- Regex: all regex matches fill a finding quote from start to end
- Exclude infoType: completely inside affecting infoTypes findings
Generated from protobuf enum MATCHING_TYPE_FULL_MATCH = 1;
MATCHING_TYPE_PARTIAL_MATCH
Value: 2Partial match.
- Dictionary: at least one of the tokens in the finding matches
- Regex: substring of the finding matches
- Exclude infoType: intersects with affecting infoTypes findings
Generated from protobuf enum MATCHING_TYPE_PARTIAL_MATCH = 2;
MATCHING_TYPE_INVERSE_MATCH
Value: 3Inverse match.
- Dictionary: no tokens in the finding match the dictionary
- Regex: finding doesn't match the regex
- Exclude infoType: no intersection with affecting infoTypes findings
Generated from protobuf enum MATCHING_TYPE_INVERSE_MATCH = 3;