[[["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,["# Google Cloud Web Risk V1 Client - Class ThreatHash (2.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.1 (latest)](/php/docs/reference/cloud-web-risk/latest/V1.SearchHashesResponse.ThreatHash)\n- [2.1.0](/php/docs/reference/cloud-web-risk/2.1.0/V1.SearchHashesResponse.ThreatHash)\n- [2.0.3](/php/docs/reference/cloud-web-risk/2.0.3/V1.SearchHashesResponse.ThreatHash)\n- [1.5.5](/php/docs/reference/cloud-web-risk/1.5.5/V1.SearchHashesResponse.ThreatHash)\n- [1.4.4](/php/docs/reference/cloud-web-risk/1.4.4/V1.SearchHashesResponse.ThreatHash)\n- [1.3.0](/php/docs/reference/cloud-web-risk/1.3.0/V1.SearchHashesResponse.ThreatHash)\n- [1.2.7](/php/docs/reference/cloud-web-risk/1.2.7/V1.SearchHashesResponse.ThreatHash) \nReference documentation and code samples for the Google Cloud Web Risk V1 Client class ThreatHash.\n\nContains threat information on a matching hash.\n\nGenerated from protobuf message `google.cloud.webrisk.v1.SearchHashesResponse.ThreatHash`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ WebRisk \\\\ V1 \\\\ SearchHashesResponse\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getThreatTypes\n\nThe ThreatList this threat belongs to.\n\nThis must contain at least one entry.\n\n### setThreatTypes\n\nThe ThreatList this threat belongs to.\n\nThis must contain at least one entry.\n\n### getHash\n\nA 32 byte SHA256 hash. This field is in binary format. For JSON\nrequests, hashes are base64-encoded.\n\n### setHash\n\nA 32 byte SHA256 hash. This field is in binary format. For JSON\nrequests, hashes are base64-encoded.\n\n### getExpireTime\n\nThe cache lifetime for the returned match. Clients must not cache this\nresponse past this timestamp to avoid false positives.\n\n### hasExpireTime\n\n### clearExpireTime\n\n### setExpireTime\n\nThe cache lifetime for the returned match. Clients must not cache this\nresponse past this timestamp to avoid false positives."]]