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\u003eThis page provides reference documentation for the \u003ccode\u003eGoogle.Cloud.Dlp.V2.Likelihood\u003c/code\u003e enum within the Google Cloud Data Loss Prevention v2 API, with the latest version being 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLikelihood\u003c/code\u003e enum represents the coarse-grained confidence level of a finding matching a particular infoType, and is determined by the presence of signals that indicate a match.\u003c/p\u003e\n"],["\u003cp\u003eThe enum offers six fields representing different levels of confidence: \u003ccode\u003eLikely\u003c/code\u003e, \u003ccode\u003ePossible\u003c/code\u003e, \u003ccode\u003eUnlikely\u003c/code\u003e, \u003ccode\u003eUnspecified\u003c/code\u003e, \u003ccode\u003eVeryLikely\u003c/code\u003e, and \u003ccode\u003eVeryUnlikely\u003c/code\u003e, each with varying chances of a false positive.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePossible\u003c/code\u003e and \u003ccode\u003eUnspecified\u003c/code\u003e fields represent default values of the Likelihood enum.\u003c/p\u003e\n"],["\u003cp\u003eThis page also lists historical documentation for the Likelihood enum with versions ranging from 2.15.0 to 4.16.0, providing access to a timeline of API changes.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Data Loss Prevention v2 API - Enum Likelihood (4.19.0)\n\nVersion latestkeyboard_arrow_down\n\n- [4.19.0 (latest)](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.Likelihood)\n- [4.18.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.18.0/Google.Cloud.Dlp.V2.Likelihood)\n- [4.17.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.17.0/Google.Cloud.Dlp.V2.Likelihood)\n- [4.16.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.16.0/Google.Cloud.Dlp.V2.Likelihood)\n- [4.15.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.15.0/Google.Cloud.Dlp.V2.Likelihood)\n- [4.14.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.14.0/Google.Cloud.Dlp.V2.Likelihood)\n- [4.13.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.13.0/Google.Cloud.Dlp.V2.Likelihood)\n- [4.12.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.12.0/Google.Cloud.Dlp.V2.Likelihood)\n- [4.11.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.11.0/Google.Cloud.Dlp.V2.Likelihood)\n- [4.10.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.10.0/Google.Cloud.Dlp.V2.Likelihood)\n- [4.9.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.9.0/Google.Cloud.Dlp.V2.Likelihood)\n- [4.8.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.8.0/Google.Cloud.Dlp.V2.Likelihood)\n- [4.7.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.7.0/Google.Cloud.Dlp.V2.Likelihood)\n- [4.6.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.6.0/Google.Cloud.Dlp.V2.Likelihood)\n- [4.5.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.5.0/Google.Cloud.Dlp.V2.Likelihood)\n- [4.4.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.4.0/Google.Cloud.Dlp.V2.Likelihood)\n- [4.3.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.3.0/Google.Cloud.Dlp.V2.Likelihood)\n- [4.2.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.2.0/Google.Cloud.Dlp.V2.Likelihood)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.1.0/Google.Cloud.Dlp.V2.Likelihood)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.0.0/Google.Cloud.Dlp.V2.Likelihood)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/3.5.0/Google.Cloud.Dlp.V2.Likelihood)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/3.4.0/Google.Cloud.Dlp.V2.Likelihood)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/3.3.0/Google.Cloud.Dlp.V2.Likelihood)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/3.2.0/Google.Cloud.Dlp.V2.Likelihood)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/2.16.0/Google.Cloud.Dlp.V2.Likelihood)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/2.15.0/Google.Cloud.Dlp.V2.Likelihood) \n\n public enum Likelihood\n\nReference documentation and code samples for the Google Cloud Data Loss Prevention v2 API enum Likelihood.\n\nCoarse-grained confidence level of how well a particular finding\nsatisfies the criteria to match a particular infoType.\n\nLikelihood is calculated based on the number of signals a\nfinding has that implies that the finding matches the infoType. For\nexample, a string that has an '@' and a '.com' is more likely to be a\nmatch for an email address than a string that only has an '@'.\n\nIn general, the highest likelihood level has the strongest signals that\nindicate a match. That is, a finding with a high likelihood has a low chance\nof being a false positive.\n\nFor more information about each likelihood level\nand how likelihood works, see [Match\nlikelihood](https://cloud.google.com/sensitive-data-protection/docs/likelihood).\n\nNamespace\n---------\n\n[Google.Cloud.Dlp.V2](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Dlp.V2.dll"]]