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 Universal,
POLICY_BASED_CHALLENGEandINVISIBLEkeys.
#extended_verdict_reasons
def extended_verdict_reasons() -> ::Array<::String>
Returns
- (::Array<::String>) — Output only. Additional reasons contributing to the risk analysis verdict. These reasons are available to Enterprise tier projects only. Contact sales for more information. The set of reasons is subject to change.
#last_challenge_type
def last_challenge_type() -> ::Google::Cloud::RecaptchaEnterprise::V1::ChallengeType
Returns
-
(::Google::Cloud::RecaptchaEnterprise::V1::ChallengeType) — Output only. Type of the last challenge presented to the user for
Universal,
POLICY_BASED_CHALLENGEandINVISIBLEkeys. The field is only set when a challenge was presented to the user.
#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).
#verified_bots
def verified_bots() -> ::Array<::Google::Cloud::RecaptchaEnterprise::V1::Bot>
Returns
- (::Array<::Google::Cloud::RecaptchaEnterprise::V1::Bot>) — Output only. Bots with identities that have been verified by reCAPTCHA and detected in the event.