Reference documentation and code samples for the Data Loss Prevention V2 Client class 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.
Protobuf type google.privacy.dlp.v2.Likelihood
Namespace
Google \ Cloud \ Dlp \ V2Methods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
LIKELIHOOD_UNSPECIFIED
Value: 0
Default value; same as POSSIBLE.
Generated from protobuf enum LIKELIHOOD_UNSPECIFIED = 0;
VERY_UNLIKELY
Value: 1
Highest chance of a false positive.
Generated from protobuf enum VERY_UNLIKELY = 1;
UNLIKELY
Value: 2
High chance of a false positive.
Generated from protobuf enum UNLIKELY = 2;
POSSIBLE
Value: 3
Some matching signals. The default value.
Generated from protobuf enum POSSIBLE = 3;
LIKELY
Value: 4
Low chance of a false positive.
Generated from protobuf enum LIKELY = 4;
VERY_LIKELY
Value: 5
Confidence level is high. Lowest chance of a false positive.
Generated from protobuf enum VERY_LIKELY = 5;