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
- (::Google::Cloud::RecaptchaEnterprise::V1beta1::Event) — The event being assessed.
#event=
def event=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1beta1::Event
Parameter
- value (::Google::Cloud::RecaptchaEnterprise::V1beta1::Event) — The event being assessed.
Returns
- (::Google::Cloud::RecaptchaEnterprise::V1beta1::Event) — The event being assessed.
#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
- (::Array<::Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment::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).
#token_properties
def token_properties() -> ::Google::Cloud::RecaptchaEnterprise::V1beta1::TokenProperties
Returns
- (::Google::Cloud::RecaptchaEnterprise::V1beta1::TokenProperties) — Output only. Properties of the provided event token.