Reference documentation and code samples for the Web Risk V1 API class Google::Cloud::WebRisk::V1::ThreatDiscovery.
Details about how the threat was discovered.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#platform
def platform() -> ::Google::Cloud::WebRisk::V1::ThreatDiscovery::Platform
Returns
- (::Google::Cloud::WebRisk::V1::ThreatDiscovery::Platform) — Platform on which the threat was discovered.
#platform=
def platform=(value) -> ::Google::Cloud::WebRisk::V1::ThreatDiscovery::Platform
Parameter
- value (::Google::Cloud::WebRisk::V1::ThreatDiscovery::Platform) — Platform on which the threat was discovered.
Returns
- (::Google::Cloud::WebRisk::V1::ThreatDiscovery::Platform) — Platform on which the threat was discovered.
#region_codes
def region_codes() -> ::Array<::String>
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.
#region_codes=
def region_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.