Class ThreatHash (1.4.3)

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

Contains threat information on a matching hash. .. attribute:: threat_types

The ThreatList this threat belongs to. This must contain at least one entry.

:type: Sequence[google.cloud.webrisk_v1.types.ThreatType]

Attributes

NameDescription
hash_ bytes
A 32 byte SHA256 hash. This field is in binary format. For JSON requests, hashes are base64-encoded.
expire_time google.protobuf.timestamp_pb2.Timestamp
The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.