Class ThreatInfo (1.15.0)

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

Context about the submission including the type of abuse found on the URI and supporting details. option (google.api.message_visibility).restriction = "TRUSTED_TESTER";

Attributes

Name Description
abuse_type google.cloud.webrisk_v1.types.ThreatInfo.AbuseType
The type of abuse.
threat_confidence google.cloud.webrisk_v1.types.ThreatInfo.Confidence
Confidence that the URI is unsafe.
threat_justification google.cloud.webrisk_v1.types.ThreatInfo.ThreatJustification
Context about why the URI is unsafe.

Classes

AbuseType

AbuseType(value)

The abuse type found on the URI.

Confidence

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

ThreatJustification

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

Context about why the URI is unsafe.