Reference documentation and code samples for the Web Risk V1beta1 API class Google::Cloud::WebRisk::V1beta1::SearchUrisResponse::ThreatUri.
Contains threat information on a matching uri.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#expire_time
defexpire_time()->::Google::Protobuf::Timestamp
Returns
(::Google::Protobuf::Timestamp) — The cache lifetime for the returned match. Clients must not cache this
response past this timestamp to avoid false positives.
value (::Google::Protobuf::Timestamp) — The cache lifetime for the returned match. Clients must not cache this
response past this timestamp to avoid false positives.
Returns
(::Google::Protobuf::Timestamp) — The cache lifetime for the returned match. Clients must not cache this
response past this timestamp to avoid false positives.
[[["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-08-28 UTC."],[],[],null,["# Web Risk V1beta1 API - Class Google::Cloud::WebRisk::V1beta1::SearchUrisResponse::ThreatUri (v0.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.13.0 (latest)](/ruby/docs/reference/google-cloud-web_risk-v1beta1/latest/Google-Cloud-WebRisk-V1beta1-SearchUrisResponse-ThreatUri)\n- [0.12.1](/ruby/docs/reference/google-cloud-web_risk-v1beta1/0.12.1/Google-Cloud-WebRisk-V1beta1-SearchUrisResponse-ThreatUri)\n- [0.11.0](/ruby/docs/reference/google-cloud-web_risk-v1beta1/0.11.0/Google-Cloud-WebRisk-V1beta1-SearchUrisResponse-ThreatUri)\n- [0.10.1](/ruby/docs/reference/google-cloud-web_risk-v1beta1/0.10.1/Google-Cloud-WebRisk-V1beta1-SearchUrisResponse-ThreatUri)\n- [0.9.2](/ruby/docs/reference/google-cloud-web_risk-v1beta1/0.9.2/Google-Cloud-WebRisk-V1beta1-SearchUrisResponse-ThreatUri)\n- [0.8.0](/ruby/docs/reference/google-cloud-web_risk-v1beta1/0.8.0/Google-Cloud-WebRisk-V1beta1-SearchUrisResponse-ThreatUri)\n- [0.7.1](/ruby/docs/reference/google-cloud-web_risk-v1beta1/0.7.1/Google-Cloud-WebRisk-V1beta1-SearchUrisResponse-ThreatUri)\n- [0.6.0](/ruby/docs/reference/google-cloud-web_risk-v1beta1/0.6.0/Google-Cloud-WebRisk-V1beta1-SearchUrisResponse-ThreatUri)\n- [0.5.0](/ruby/docs/reference/google-cloud-web_risk-v1beta1/0.5.0/Google-Cloud-WebRisk-V1beta1-SearchUrisResponse-ThreatUri)\n- [0.4.5](/ruby/docs/reference/google-cloud-web_risk-v1beta1/0.4.5/Google-Cloud-WebRisk-V1beta1-SearchUrisResponse-ThreatUri) \nReference documentation and code samples for the Web Risk V1beta1 API class Google::Cloud::WebRisk::V1beta1::SearchUrisResponse::ThreatUri.\n\nContains threat information on a matching uri. \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### #expire_time\n\n def expire_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.\n\n### #expire_time=\n\n def expire_time=(value) -\u003e ::Google::Protobuf::Timestamp\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives. \n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.\n\n### #threat_types\n\n def threat_types() -\u003e ::Array\u003c::Google::Cloud::WebRisk::V1beta1::ThreatType\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::WebRisk::V1beta1::ThreatType](./Google-Cloud-WebRisk-V1beta1-ThreatType)\\\u003e) --- The ThreatList this threat belongs to.\n\n### #threat_types=\n\n def threat_types=(value) -\u003e ::Array\u003c::Google::Cloud::WebRisk::V1beta1::ThreatType\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::WebRisk::V1beta1::ThreatType](./Google-Cloud-WebRisk-V1beta1-ThreatType)\\\u003e) --- The ThreatList this threat belongs to. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::WebRisk::V1beta1::ThreatType](./Google-Cloud-WebRisk-V1beta1-ThreatType)\\\u003e) --- The ThreatList this threat belongs to."]]