Class ThreatHash (1.0.1)

Stay organized with collections Save and categorize content based on your preferences.
ThreatHash(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Contains threat information on a matching hash.

Attributes

NameDescription
threat_types Sequence[`.webrisk.ThreatType`]
The ThreatList this threat belongs to. This must contain at least one entry.
hash bytes
A 32 byte SHA256 hash. This field is in binary format. For JSON requests, hashes are base64-encoded.
expire_time `.timestamp.Timestamp`
The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.

Inheritance

builtins.object > proto.message.Message > ThreatHash