Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API enum Likelihood.
Coarse-grained confidence level of how well a particular finding
satisfies the criteria to match a particular infoType.
Likelihood is calculated based on the number of signals a
finding has that implies that the finding matches the infoType. For
example, a string that has an '@' and a '.com' is more likely to be a
match for an email address than a string that only has an '@'.
In general, the highest likelihood level has the strongest signals that
indicate a match. That is, a finding with a high likelihood has a low chance
of being a false positive.
For more information about each likelihood level
and how likelihood works, see Match
likelihood.
[[["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."],[[["\u003cp\u003eThe webpage provides reference documentation for the \u003ccode\u003eLikelihood\u003c/code\u003e enum within the Google Cloud Data Loss Prevention v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API documented is 4.16.0, but it provides access to versions all the way back to 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLikelihood\u003c/code\u003e is a measure of confidence in a finding, determining how well it matches a given infoType, with levels ranging from \u003ccode\u003eVeryUnlikely\u003c/code\u003e to \u003ccode\u003eVeryLikely\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe enum \u003ccode\u003eLikelihood\u003c/code\u003e has 6 possible values, \u003ccode\u003eUnspecified\u003c/code\u003e, \u003ccode\u003eVeryUnlikely\u003c/code\u003e, \u003ccode\u003eUnlikely\u003c/code\u003e, \u003ccode\u003ePossible\u003c/code\u003e, \u003ccode\u003eLikely\u003c/code\u003e, \u003ccode\u003eVeryLikely\u003c/code\u003e, with \u003ccode\u003ePossible\u003c/code\u003e being the default value, and \u003ccode\u003eUnspecified\u003c/code\u003e being the same as \u003ccode\u003ePossible\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]