public sealed class RawHashes : IMessage<RawHashes>, IEquatable<RawHashes>, IDeepCloneable<RawHashes>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Web Risk v1 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 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.
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."],[[["The `RawHashes` class in the Google Cloud Web Risk v1 API represents uncompressed threat entries in hash format, with sizes ranging from 4 to 32 bytes."],["`RawHashes` implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `Object`."],["The class includes two constructors: a default constructor and one that accepts another `RawHashes` object for initialization."],["`RawHashes` contains two key properties: `PrefixSize`, which indicates the length of the hash prefixes, and `RawHashes_`, which stores the concatenated binary hashes in lexicographic order."],["Version 2.6.0 is the latest version of `RawHashes`, and previous versions ranging from 2.5.0 to 1.2.0 are also available for use."]]],[]]