The uncompressed threat entries in hash format.
Hashes can be anywhere from 4 to 32 bytes in size. A large
majority are 4 bytes, but some hashes are lengthened if they
collide with the hash of a popular URI.
Used for sending ThreatEntryAdditons to clients that do not
support compression, or when sending non-4-byte hashes to
clients that do support compression.
Attributes
Name
Description
prefix_size
int
The number of bytes for each prefix encoded
below. This field can be anywhere from 4
(shortest prefix) to 32 (full SHA256 hash). In
practice this is almost always 4, except in
exceptional circumstances.
raw_hashes
bytes
The hashes, in binary format, concatenated
into one long string. Hashes are sorted in
lexicographic order. For JSON API users, hashes
are base64-encoded.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Class RawHashes (1.18.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.18.1 (latest)](/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1.types.RawHashes)\n- [1.18.0](/python/docs/reference/webrisk/1.18.0/google.cloud.webrisk_v1.types.RawHashes)\n- [1.17.0](/python/docs/reference/webrisk/1.17.0/google.cloud.webrisk_v1.types.RawHashes)\n- [1.16.0](/python/docs/reference/webrisk/1.16.0/google.cloud.webrisk_v1.types.RawHashes)\n- [1.15.1](/python/docs/reference/webrisk/1.15.1/google.cloud.webrisk_v1.types.RawHashes)\n- [1.14.5](/python/docs/reference/webrisk/1.14.5/google.cloud.webrisk_v1.types.RawHashes)\n- [1.13.0](/python/docs/reference/webrisk/1.13.0/google.cloud.webrisk_v1.types.RawHashes)\n- [1.12.1](/python/docs/reference/webrisk/1.12.1/google.cloud.webrisk_v1.types.RawHashes)\n- [1.11.1](/python/docs/reference/webrisk/1.11.1/google.cloud.webrisk_v1.types.RawHashes)\n- [1.10.1](/python/docs/reference/webrisk/1.10.1/google.cloud.webrisk_v1.types.RawHashes)\n- [1.9.0](/python/docs/reference/webrisk/1.9.0/google.cloud.webrisk_v1.types.RawHashes)\n- [1.8.4](/python/docs/reference/webrisk/1.8.4/google.cloud.webrisk_v1.types.RawHashes)\n- [1.7.2](/python/docs/reference/webrisk/1.7.2/google.cloud.webrisk_v1.types.RawHashes)\n- [1.6.1](/python/docs/reference/webrisk/1.6.1/google.cloud.webrisk_v1.types.RawHashes)\n- [1.5.0](/python/docs/reference/webrisk/1.5.0/google.cloud.webrisk_v1.types.RawHashes)\n- [1.4.3](/python/docs/reference/webrisk/1.4.3/google.cloud.webrisk_v1.types.RawHashes)\n- [1.3.0](/python/docs/reference/webrisk/1.3.0/google.cloud.webrisk_v1.types.RawHashes)\n- [1.2.0](/python/docs/reference/webrisk/1.2.0/google.cloud.webrisk_v1.types.RawHashes)\n- [1.1.0](/python/docs/reference/webrisk/1.1.0/google.cloud.webrisk_v1.types.RawHashes)\n- [1.0.1](/python/docs/reference/webrisk/1.0.1/google.cloud.webrisk_v1.types.RawHashes)\n- [0.3.3](/python/docs/reference/webrisk/0.3.3/google.cloud.webrisk_v1.types.RawHashes)\n- [0.2.0](/python/docs/reference/webrisk/0.2.0/google.cloud.webrisk_v1.types.RawHashes) \n\n RawHashes(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nThe uncompressed threat entries in hash format.\nHashes can be anywhere from 4 to 32 bytes in size. A large\nmajority are 4 bytes, but some hashes are lengthened if they\ncollide with the hash of a popular URI.\n\nUsed for sending ThreatEntryAdditons to clients that do not\nsupport compression, or when sending non-4-byte hashes to\nclients that do support compression."]]