Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class RiskAnalysis.
Risk analysis result for an event.
Generated from protobuf message google.cloud.recaptchaenterprise.v1.RiskAnalysis
Namespace
Google \ Cloud \ RecaptchaEnterprise \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ score
float
Output only. Legitimate event score from 0.0 to 1.0. (1.0 means very likely legitimate traffic while 0.0 means very likely non-legitimate traffic).
↳ reasons
int[]
Output only. Reasons contributing to the risk analysis verdict.
↳ extended_verdict_reasons
string[]
Output only. Extended verdict reasons to be used for experimentation only. The set of possible reasons is subject to change.
↳ challenge
int
Output only. Challenge information for POLICY_BASED_CHALLENGE and INVISIBLE keys.
↳ verified_bots
array< Bot
>
Output only. Bots with identities that have been verified by reCAPTCHA and detected in the event.
getScore
Output only. Legitimate event score from 0.0 to 1.0.
(1.0 means very likely legitimate traffic while 0.0 means very likely non-legitimate traffic).
float
setScore
Output only. Legitimate event score from 0.0 to 1.0.
(1.0 means very likely legitimate traffic while 0.0 means very likely non-legitimate traffic).
var
float
$this
getReasons
Output only. Reasons contributing to the risk analysis verdict.
setReasons
Output only. Reasons contributing to the risk analysis verdict.
var
int[]
$this
getExtendedVerdictReasons
Output only. Extended verdict reasons to be used for experimentation only.
The set of possible reasons is subject to change.
setExtendedVerdictReasons
Output only. Extended verdict reasons to be used for experimentation only.
The set of possible reasons is subject to change.
var
string[]
$this
getChallenge
Output only. Challenge information for POLICY_BASED_CHALLENGE and INVISIBLE keys.
setChallenge
Output only. Challenge information for POLICY_BASED_CHALLENGE and INVISIBLE keys.
$this
getVerifiedBots
Output only. Bots with identities that have been verified by reCAPTCHA and detected in the event.
setVerifiedBots
Output only. Bots with identities that have been verified by reCAPTCHA and detected in the event.
$this

