public sealed class SearchHashesResponse.Types.ThreatHash : IMessage<SearchHashesResponse.Types.ThreatHash>, IEquatable<SearchHashesResponse.Types.ThreatHash>, IDeepCloneable<SearchHashesResponse.Types.ThreatHash>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Web Risk v1beta1 API class SearchHashesResponse.Types.ThreatHash.
[[["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\u003eSearchHashesResponse.Types.ThreatHash\u003c/code\u003e class represents threat information for a matching hash within the Google Cloud Web Risk v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, which provide functionality for message manipulation and comparison.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eThreatHash\u003c/code\u003e class includes properties such as \u003ccode\u003eExpireTime\u003c/code\u003e, \u003ccode\u003eHash\u003c/code\u003e, and \u003ccode\u003eThreatTypes\u003c/code\u003e to provide details about the threat, like the cache lifetime, the SHA256 hash, and the threat lists to which it belongs.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions available for this class, with the latest being version 3.0.0-beta05, followed by 3.0.0-beta04, and 2.0.0-beta05.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Web Risk v1beta1 API - Class SearchHashesResponse.Types.ThreatHash (3.0.0-beta05)\n\nVersion latestkeyboard_arrow_down\n\n- [3.0.0-beta05 (latest)](/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.SearchHashesResponse.Types.ThreatHash)\n- [3.0.0-beta04](/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/3.0.0-beta04/Google.Cloud.WebRisk.V1Beta1.SearchHashesResponse.Types.ThreatHash)\n- [2.0.0-beta05](/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/2.0.0-beta05/Google.Cloud.WebRisk.V1Beta1.SearchHashesResponse.Types.ThreatHash) \n\n public sealed class SearchHashesResponse.Types.ThreatHash : IMessage\u003cSearchHashesResponse.Types.ThreatHash\u003e, IEquatable\u003cSearchHashesResponse.Types.ThreatHash\u003e, IDeepCloneable\u003cSearchHashesResponse.Types.ThreatHash\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Web Risk v1beta1 API class SearchHashesResponse.Types.ThreatHash.\n\nContains threat information on a matching hash. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SearchHashesResponse.Types.ThreatHash \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SearchHashesResponse](/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.SearchHashesResponse)[Types](/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.SearchHashesResponse.Types)[ThreatHash](/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.SearchHashesResponse.Types.ThreatHash), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SearchHashesResponse](/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.SearchHashesResponse)[Types](/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.SearchHashesResponse.Types)[ThreatHash](/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.SearchHashesResponse.Types.ThreatHash), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SearchHashesResponse](/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.SearchHashesResponse)[Types](/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.SearchHashesResponse.Types)[ThreatHash](/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.SearchHashesResponse.Types.ThreatHash), [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.V1Beta1](/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.WebRisk.V1Beta1.dll\n\nConstructors\n------------\n\n### ThreatHash()\n\n public ThreatHash()\n\n### ThreatHash(ThreatHash)\n\n public ThreatHash(SearchHashesResponse.Types.ThreatHash other)\n\nProperties\n----------\n\n### ExpireTime\n\n public Timestamp ExpireTime { get; set; }\n\nThe cache lifetime for the returned match. Clients must not cache this\nresponse past this timestamp to avoid false positives.\n\n### Hash\n\n public ByteString Hash { get; set; }\n\nA 32 byte SHA256 hash. This field is in binary format. For JSON\nrequests, hashes are base64-encoded.\n\n### ThreatTypes\n\n public RepeatedField\u003cThreatType\u003e ThreatTypes { get; }\n\nThe ThreatList this threat belongs to.\nThis must contain at least one entry."]]