public sealed class RawHashes : IMessage<RawHashes>, IEquatable<RawHashes>, IDeepCloneable<RawHashes>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Web Risk v1beta1 API class RawHashes.
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.
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-03-21 UTC."],[[["RawHashes is a class within the Google Cloud Web Risk v1beta1 API, representing uncompressed threat entries in hash format."],["Hashes in RawHashes can vary in size from 4 to 32 bytes, with most being 4 bytes, and some longer for collision resolution."],["RawHashes is used for sending ThreatEntryAdditions to clients that either don't support compression or when sending hashes larger than 4 bytes to those that do."],["The class implements multiple interfaces, including IMessage, IEquatable, IDeepCloneable, and IBufferMessage."],["The RawHashes class provides two properties: `PrefixSize`, which indicates the length of the prefixes, and `RawHashes_`, which contains the concatenated hashes in binary or base64-encoded format."]]],[]]