Class ThreatInfo (1.14.2)

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

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

Values: ABUSE_TYPE_UNSPECIFIED (0): Default. MALWARE (1): The URI contains malware. SOCIAL_ENGINEERING (2): The URI contains social engineering. UNWANTED_SOFTWARE (3): The URI contains unwanted software.

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.