Reference documentation and code samples for the Google Cloud Web Risk V1 Client class Confidence.
Confidence that a URI is unsafe.
Generated from protobuf message google.cloud.webrisk.v1.ThreatInfo.Confidence
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ score
float
A decimal representation of confidence in the range of 0 to 1 where 0 indicates no confidence and 1 indicates complete confidence.
↳ level
int
Enum representation of confidence.
getScore
A decimal representation of confidence in the range of 0 to 1 where 0 indicates no confidence and 1 indicates complete confidence.
float
hasScore
setScore
A decimal representation of confidence in the range of 0 to 1 where 0 indicates no confidence and 1 indicates complete confidence.
var
float
$this
getLevel
Enum representation of confidence.
int
hasLevel
setLevel
Enum representation of confidence.
var
int
$this
getValue
string