Class Confidence (1.12.1)

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

NameDescription
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 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.

Values: CONFIDENCE_LEVEL_UNSPECIFIED (0): Default. LOW (1): Less than 60% confidence that the URI is unsafe. MEDIUM (2): Between 60% and 80% confidence that the URI is unsafe. HIGH (3): Greater than 80% confidence that the URI is unsafe.