[[["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 ThreatDiscovery (2.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.1 (latest)](/php/docs/reference/cloud-web-risk/latest/V1.ThreatDiscovery)\n- [2.1.0](/php/docs/reference/cloud-web-risk/2.1.0/V1.ThreatDiscovery)\n- [2.0.3](/php/docs/reference/cloud-web-risk/2.0.3/V1.ThreatDiscovery)\n- [1.5.5](/php/docs/reference/cloud-web-risk/1.5.5/V1.ThreatDiscovery)\n- [1.4.4](/php/docs/reference/cloud-web-risk/1.4.4/V1.ThreatDiscovery)\n- [1.3.0](/php/docs/reference/cloud-web-risk/1.3.0/V1.ThreatDiscovery)\n- [1.2.7](/php/docs/reference/cloud-web-risk/1.2.7/V1.ThreatDiscovery) \nReference documentation and code samples for the Google Cloud Web Risk V1 Client class ThreatDiscovery.\n\nDetails about how the threat was discovered.\n\nGenerated from protobuf message `google.cloud.webrisk.v1.ThreatDiscovery`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ WebRisk \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPlatform\n\nPlatform on which the threat was discovered.\n\n### setPlatform\n\nPlatform on which the threat was discovered.\n\n### getRegionCodes\n\nCLDR region code of the countries/regions the URI poses a threat ordered\nfrom most impact to least impact. Example: \"US\" for United States.\n\n### setRegionCodes\n\nCLDR region code of the countries/regions the URI poses a threat ordered\nfrom most impact to least impact. Example: \"US\" for United States."]]