Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::RiskAnalysis.
Risk analysis result for an event.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#challenge
def challenge() -> ::Google::Cloud::RecaptchaEnterprise::V1::RiskAnalysis::Challenge
Returns
- (::Google::Cloud::RecaptchaEnterprise::V1::RiskAnalysis::Challenge) — Output only. Challenge information for SCORE_AND_CHALLENGE keys
#extended_verdict_reasons
def extended_verdict_reasons() -> ::Array<::String>
Returns
- (::Array<::String>) — Output only. Extended verdict reasons to be used for experimentation only. The set of possible reasons is subject to change.
#reasons
def reasons() -> ::Array<::Google::Cloud::RecaptchaEnterprise::V1::RiskAnalysis::ClassificationReason>
Returns
- (::Array<::Google::Cloud::RecaptchaEnterprise::V1::RiskAnalysis::ClassificationReason>) — Output only. Reasons contributing to the risk analysis verdict.
#score
def score() -> ::Float
Returns
- (::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).