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
info type.
Protobuf typegoogle.privacy.dlp.v2.MatchingType
Namespace
Google \ Cloud \ Dlp \ V2
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
MATCHING_TYPE_UNSPECIFIED
Value: 0
Invalid.
Generated from protobuf enumMATCHING_TYPE_UNSPECIFIED = 0;
MATCHING_TYPE_FULL_MATCH
Value: 1
Full match.
Dictionary: join of Dictionary results matched complete finding quote
Regex: all regex matches fill a finding quote start to end
Exclude info type: completely inside affecting info types findings
Generated from protobuf enumMATCHING_TYPE_FULL_MATCH = 1;
MATCHING_TYPE_PARTIAL_MATCH
Value: 2
Partial match.
Dictionary: at least one of the tokens in the finding matches
Regex: substring of the finding matches
Exclude info type: intersects with affecting info types findings
Generated from protobuf enumMATCHING_TYPE_PARTIAL_MATCH = 2;
MATCHING_TYPE_INVERSE_MATCH
Value: 3
Inverse match.
Dictionary: no tokens in the finding match the dictionary
Regex: finding doesn't match the regex
Exclude info type: no intersection with affecting info types findings
Generated from protobuf enumMATCHING_TYPE_INVERSE_MATCH = 3;
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Data Loss Prevention V2 Client - Class MatchingType (2.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.1 (latest)](/php/docs/reference/cloud-dlp/latest/V2.MatchingType)\n- [2.6.0](/php/docs/reference/cloud-dlp/2.6.0/V2.MatchingType)\n- [2.4.1](/php/docs/reference/cloud-dlp/2.4.1/V2.MatchingType)\n- [2.3.0](/php/docs/reference/cloud-dlp/2.3.0/V2.MatchingType)\n- [2.2.3](/php/docs/reference/cloud-dlp/2.2.3/V2.MatchingType)\n- [2.1.0](/php/docs/reference/cloud-dlp/2.1.0/V2.MatchingType)\n- [2.0.0](/php/docs/reference/cloud-dlp/2.0.0/V2.MatchingType)\n- [1.19.0](/php/docs/reference/cloud-dlp/1.19.0/V2.MatchingType)\n- [1.18.0](/php/docs/reference/cloud-dlp/1.18.0/V2.MatchingType)\n- [1.17.0](/php/docs/reference/cloud-dlp/1.17.0/V2.MatchingType)\n- [1.16.0](/php/docs/reference/cloud-dlp/1.16.0/V2.MatchingType)\n- [1.15.1](/php/docs/reference/cloud-dlp/1.15.1/V2.MatchingType)\n- [1.14.0](/php/docs/reference/cloud-dlp/1.14.0/V2.MatchingType)\n- [1.13.2](/php/docs/reference/cloud-dlp/1.13.2/V2.MatchingType)\n- [1.12.0](/php/docs/reference/cloud-dlp/1.12.0/V2.MatchingType)\n- [1.11.0](/php/docs/reference/cloud-dlp/1.11.0/V2.MatchingType)\n- [1.10.2](/php/docs/reference/cloud-dlp/1.10.2/V2.MatchingType)\n- [1.9.0](/php/docs/reference/cloud-dlp/1.9.0/V2.MatchingType)\n- [1.8.6](/php/docs/reference/cloud-dlp/1.8.6/V2.MatchingType) \nReference documentation and code samples for the Data Loss Prevention V2 Client class MatchingType.\n\nType of the match which can be applied to different ways of matching, like\nDictionary, regular expression and intersecting with findings of another\ninfo type.\n\nProtobuf type `google.privacy.dlp.v2.MatchingType`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dlp \\\\ V2\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### MATCHING_TYPE_UNSPECIFIED\n\n Value: 0\n\nInvalid.\n\nGenerated from protobuf enum `MATCHING_TYPE_UNSPECIFIED = 0;`\n\n### MATCHING_TYPE_FULL_MATCH\n\n Value: 1\n\nFull match.\n\n- Dictionary: join of Dictionary results matched complete finding quote\n- Regex: all regex matches fill a finding quote start to end\n- Exclude info type: completely inside affecting info types findings\n\nGenerated from protobuf enum `MATCHING_TYPE_FULL_MATCH = 1;`\n\n### MATCHING_TYPE_PARTIAL_MATCH\n\n Value: 2\n\nPartial match.\n\n- Dictionary: at least one of the tokens in the finding matches\n- Regex: substring of the finding matches\n- Exclude info type: intersects with affecting info types findings\n\nGenerated from protobuf enum `MATCHING_TYPE_PARTIAL_MATCH = 2;`\n\n### MATCHING_TYPE_INVERSE_MATCH\n\n Value: 3\n\nInverse match.\n\n- Dictionary: no tokens in the finding match the dictionary\n- Regex: finding doesn't match the regex\n- Exclude info type: no intersection with affecting info types findings\n\nGenerated from protobuf enum `MATCHING_TYPE_INVERSE_MATCH = 3;`"]]