# Class SearchHashesRequest (1.22.0)

1.22.0 (latest) 1.21.0 1.20.0 1.19.0 1.18.1 1.17.0 1.16.0 1.15.1 1.14.5 1.13.0 1.12.1 1.11.1 1.10.1 1.9.0 1.8.4 1.7.2 1.6.1 1.5.0 1.4.3 1.3.0 1.2.0 1.1.0 1.0.1 0.3.3 0.2.0

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

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `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. |
| `threat_types` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1beta1.types.ThreatType]` Required. The ThreatLists to search in. |