reCAPTCHA Enterprise V1 API - Class Google::Cloud::RecaptchaEnterprise::V1::RiskAnalysis (v1.4.1)

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

#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

#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).