Reference documentation and code samples for the Google Cloud Web Risk V1 Client class ThreatInfo.
Context about the submission including the type of abuse found on the URI and supporting details.
option (google.api.message_visibility).restriction = "TRUSTED_TESTER";
Generated from protobuf message google.cloud.webrisk.v1.ThreatInfo
Namespace
Google \ Cloud \ WebRisk \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ abuse_type
int
The type of abuse.
↳ threat_confidence
↳ threat_justification
getAbuseType
The type of abuse.
int
setAbuseType
The type of abuse.
var
int
$this
getThreatConfidence
Confidence that the URI is unsafe.
hasThreatConfidence
clearThreatConfidence
setThreatConfidence
Confidence that the URI is unsafe.
$this
getThreatJustification
Context about why the URI is unsafe.
hasThreatJustification
clearThreatJustification
setThreatJustification
Context about why the URI is unsafe.
$this