Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API module Google::Cloud::Dlp::V2::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.
Constants
MATCHING_TYPE_UNSPECIFIED
value: 0 Invalid.
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
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
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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]