Google Cloud Data Loss Prevention v2 API - Enum MatchingType (4.23.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicenumMatchingType
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API enum 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.
Dictionary: no tokens in the finding match the dictionary
Regex: finding doesn't match the regex
Exclude infoType: no intersection with affecting infoTypes findings
PartialMatch
Partial 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
RuleSpecific
Rule-specific match.
The matching logic is based on the specific rule being used. This is
required for rules where the matching behavior is not a simple string
comparison (e.g., image containment). This matching type can only be
used with the ExcludeByImageFindings rule.
Exclude by image findings: The matching logic is defined within
ExcludeByImageFindings based on spatial relationships between bounding
boxes.
[[["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 2026-03-24 UTC."],[],[]]