Reference documentation and code samples for the Google Cloud Web Risk V1 Client class ThreatDiscovery.
Details about how the threat was discovered.
Generated from protobuf message google.cloud.webrisk.v1.ThreatDiscovery
Namespace
Google \ Cloud \ WebRisk \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ platform
int
Platform on which the threat was discovered.
↳ region_codes
array
CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: "US" for United States.
getPlatform
Platform on which the threat was discovered.
int
setPlatform
Platform on which the threat was discovered.
var
int
$this
getRegionCodes
CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: "US" for United States.
setRegionCodes
CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: "US" for United States.
var
string[]
$this