Class SearchHashesRequest (1.10.0)

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

Request to return full hashes matched by the provided hash prefixes.

Attributes

NameDescription
hash_prefix bytes
A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash. For JSON requests, this field is base64-encoded. Note that if this parameter is provided by a URI, it must be encoded using the web safe base64 variant (RFC 4648).
threat_types MutableSequence[google.cloud.webrisk_v1.types.ThreatType]
Required. The ThreatLists to search in. Multiple ThreatLists may be specified.