# Class Confidence (1.22.0)

1.22.0 (latest) 1.21.0 1.20.0 1.19.0 1.18.1 1.17.0 1.16.0 1.15.1 1.14.5 1.13.0 1.12.1 1.11.1 1.10.1 1.9.0 1.8.4 1.7.2 1.6.1 1.5.0 1.4.3 1.3.0 1.2.0 1.1.0 1.0.1 0.3.3 0.2.0

    Confidence(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Confidence that a URI is unsafe.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `score` | `float` A decimal representation of confidence in the range of 0 to 1 where 0 indicates no confidence and 1 indicates complete confidence. This field is a member of `oneof`_ `value`. |
| `level` | `https://docs.cloud.google.com/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1.types.ThreatInfo.Confidence.ConfidenceLevel` Enum representation of confidence. This field is a member of `oneof`_ `value`. |

## Classes

### ConfidenceLevel

    ConfidenceLevel(value)

Enum representation of confidence.