(::Array<::String>) — CLDR region code of the countries/regions the URI poses a threat ordered
from most impact to least impact. Example: "US" for United States.
#region_codes=
defregion_codes=(value)->::Array<::String>
Parameter
value (::Array<::String>) — CLDR region code of the countries/regions the URI poses a threat ordered
from most impact to least impact. Example: "US" for United States.
Returns
(::Array<::String>) — CLDR region code of the countries/regions the URI poses a threat ordered
from most impact to least impact. Example: "US" for United States.
[[["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-09 UTC."],[],[],null,["# Web Risk V1 API - Class Google::Cloud::WebRisk::V1::ThreatDiscovery (v1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/ruby/docs/reference/google-cloud-web_risk-v1/latest/Google-Cloud-WebRisk-V1-ThreatDiscovery)\n- [1.3.1](/ruby/docs/reference/google-cloud-web_risk-v1/1.3.1/Google-Cloud-WebRisk-V1-ThreatDiscovery)\n- [1.2.0](/ruby/docs/reference/google-cloud-web_risk-v1/1.2.0/Google-Cloud-WebRisk-V1-ThreatDiscovery)\n- [1.1.0](/ruby/docs/reference/google-cloud-web_risk-v1/1.1.0/Google-Cloud-WebRisk-V1-ThreatDiscovery)\n- [1.0.2](/ruby/docs/reference/google-cloud-web_risk-v1/1.0.2/Google-Cloud-WebRisk-V1-ThreatDiscovery)\n- [0.12.0](/ruby/docs/reference/google-cloud-web_risk-v1/0.12.0/Google-Cloud-WebRisk-V1-ThreatDiscovery)\n- [0.11.2](/ruby/docs/reference/google-cloud-web_risk-v1/0.11.2/Google-Cloud-WebRisk-V1-ThreatDiscovery)\n- [0.10.0](/ruby/docs/reference/google-cloud-web_risk-v1/0.10.0/Google-Cloud-WebRisk-V1-ThreatDiscovery)\n- [0.9.1](/ruby/docs/reference/google-cloud-web_risk-v1/0.9.1/Google-Cloud-WebRisk-V1-ThreatDiscovery)\n- [0.8.0](/ruby/docs/reference/google-cloud-web_risk-v1/0.8.0/Google-Cloud-WebRisk-V1-ThreatDiscovery)\n- [0.7.0](/ruby/docs/reference/google-cloud-web_risk-v1/0.7.0/Google-Cloud-WebRisk-V1-ThreatDiscovery)\n- [0.6.0](/ruby/docs/reference/google-cloud-web_risk-v1/0.6.0/Google-Cloud-WebRisk-V1-ThreatDiscovery)\n- [0.5.0](/ruby/docs/reference/google-cloud-web_risk-v1/0.5.0/Google-Cloud-WebRisk-V1-ThreatDiscovery)\n- [0.4.5](/ruby/docs/reference/google-cloud-web_risk-v1/0.4.5/Google-Cloud-WebRisk-V1-ThreatDiscovery) \nReference documentation and code samples for the Web Risk V1 API class Google::Cloud::WebRisk::V1::ThreatDiscovery.\n\nDetails about how the threat was discovered. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #platform\n\n def platform() -\u003e ::Google::Cloud::WebRisk::V1::ThreatDiscovery::Platform\n\n**Returns**\n\n- ([::Google::Cloud::WebRisk::V1::ThreatDiscovery::Platform](./Google-Cloud-WebRisk-V1-ThreatDiscovery-Platform)) --- Platform on which the threat was discovered.\n\n### #platform=\n\n def platform=(value) -\u003e ::Google::Cloud::WebRisk::V1::ThreatDiscovery::Platform\n\n**Parameter**\n\n- **value** ([::Google::Cloud::WebRisk::V1::ThreatDiscovery::Platform](./Google-Cloud-WebRisk-V1-ThreatDiscovery-Platform)) --- Platform on which the threat was discovered. \n**Returns**\n\n- ([::Google::Cloud::WebRisk::V1::ThreatDiscovery::Platform](./Google-Cloud-WebRisk-V1-ThreatDiscovery-Platform)) --- Platform on which the threat was discovered.\n\n### #region_codes\n\n def region_codes() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: \"US\" for United States.\n\n### #region_codes=\n\n def region_codes=(value) -\u003e ::Array\u003c::String\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::String\\\u003e) --- CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: \"US\" for United States. \n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: \"US\" for United States."]]