public sealed class ThreatEntryAdditions : IMessage<ThreatEntryAdditions>, IEquatable<ThreatEntryAdditions>, IDeepCloneable<ThreatEntryAdditions>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Web Risk v1 API class ThreatEntryAdditions.
Contains the set of entries to add to a local database.
May contain a combination of compressed and raw data in a single response.
The encoded 4-byte prefixes of SHA256-formatted entries, using a
Golomb-Rice encoding. The hashes are converted to uint32, sorted in
ascending order, then delta encoded and stored as encoded_data.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eThreatEntryAdditions\u003c/code\u003e class, part of the Google Cloud Web Risk v1 API, represents entries to be added to a local threat database.\u003c/p\u003e\n"],["\u003cp\u003eThis class can manage both compressed and raw data formats within a single response for efficiency.\u003c/p\u003e\n"],["\u003cp\u003eIt supports multiple versions, with the latest being 2.6.0, and provides access to previous versions dating back to 1.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties such as \u003ccode\u003eRawHashes\u003c/code\u003e and \u003ccode\u003eRiceHashes\u003c/code\u003e for handling raw and encoded SHA256 entries, respectively, including their different prefix sizes.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits members from the base \u003ccode\u003eobject\u003c/code\u003e class and implements several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Web Risk v1 API - Class ThreatEntryAdditions (2.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ThreatEntryAdditions)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.6.0/Google.Cloud.WebRisk.V1.ThreatEntryAdditions)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.5.0/Google.Cloud.WebRisk.V1.ThreatEntryAdditions)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.4.0/Google.Cloud.WebRisk.V1.ThreatEntryAdditions)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.3.0/Google.Cloud.WebRisk.V1.ThreatEntryAdditions)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.2.0/Google.Cloud.WebRisk.V1.ThreatEntryAdditions)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.1.0/Google.Cloud.WebRisk.V1.ThreatEntryAdditions)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.0.0/Google.Cloud.WebRisk.V1.ThreatEntryAdditions)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.WebRisk.V1/1.3.0/Google.Cloud.WebRisk.V1.ThreatEntryAdditions)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.WebRisk.V1/1.2.0/Google.Cloud.WebRisk.V1.ThreatEntryAdditions) \n\n public sealed class ThreatEntryAdditions : IMessage\u003cThreatEntryAdditions\u003e, IEquatable\u003cThreatEntryAdditions\u003e, IDeepCloneable\u003cThreatEntryAdditions\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Web Risk v1 API class ThreatEntryAdditions.\n\nContains the set of entries to add to a local database.\nMay contain a combination of compressed and raw data in a single response. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ThreatEntryAdditions \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ThreatEntryAdditions](/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ThreatEntryAdditions), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ThreatEntryAdditions](/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ThreatEntryAdditions), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ThreatEntryAdditions](/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ThreatEntryAdditions), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.WebRisk.V1](/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.WebRisk.V1.dll\n\nConstructors\n------------\n\n### ThreatEntryAdditions()\n\n public ThreatEntryAdditions()\n\n### ThreatEntryAdditions(ThreatEntryAdditions)\n\n public ThreatEntryAdditions(ThreatEntryAdditions other)\n\nProperties\n----------\n\n### RawHashes\n\n public RepeatedField\u003cRawHashes\u003e RawHashes { get; }\n\nThe raw SHA256-formatted entries.\nRepeated to allow returning sets of hashes with different prefix sizes.\n\n### RiceHashes\n\n public RiceDeltaEncoding RiceHashes { get; set; }\n\nThe encoded 4-byte prefixes of SHA256-formatted entries, using a\nGolomb-Rice encoding. The hashes are converted to uint32, sorted in\nascending order, then delta encoded and stored as encoded_data."]]