reCAPTCHA Enterprise V1beta1 API - Class Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment (v0.4.5)

Reference documentation and code samples for the reCAPTCHA Enterprise V1beta1 API class Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment.

A recaptcha assessment resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#event

def event() -> ::Google::Cloud::RecaptchaEnterprise::V1beta1::Event
Returns

#event=

def event=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1beta1::Event
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Output only. The resource name for the Assessment in the format "projects/{project_number}/assessments/{assessment_id}".

#reasons

def reasons() -> ::Array<::Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment::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).

#token_properties

def token_properties() -> ::Google::Cloud::RecaptchaEnterprise::V1beta1::TokenProperties
Returns