Class ThreatHash (1.13.0)

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

Contains threat information on a matching hash.

Attributes

NameDescription
threat_types MutableSequence[google.cloud.webrisk_v1.types.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 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.