reCAPTCHA Enterprise V1 API - Class Google::Cloud::RecaptchaEnterprise::V1::RiskAnalysis (v0.8.0)

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

#reasons

def reasons() -> ::Array<::Google::Cloud::RecaptchaEnterprise::V1::RiskAnalysis::ClassificationReason>
Returns

#reasons=

def reasons=(value) -> ::Array<::Google::Cloud::RecaptchaEnterprise::V1::RiskAnalysis::ClassificationReason>
Parameter
Returns

#score

def score() -> ::Float
Returns
  • (::Float) — 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).

#score=

def score=(value) -> ::Float
Parameter
  • value (::Float) — 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).
Returns
  • (::Float) — 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).