# Data Loss Prevention V2 Client - Class Likelihood (2.13.0)

2.13.0 (latest) 2.12.0 2.11.0 2.10.0 2.9.2 2.8.1 2.7.0 2.6.1 2.4.1 2.3.0 2.2.3 2.1.0 2.0.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.1 1.14.0 1.13.2 1.12.0 1.11.0 1.10.2 1.9.0 1.8.6 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](https://cloud.google.com/sensitive-data-protection/docs/likelihood).

Protobuf type `google.privacy.dlp.v2.Likelihood`

## Namespace

Google \\ Cloud \\ Dlp \\ V2

## Methods

### 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;`