(::Float) — Optional. All assessments for this Key return this score. Must be between 0
(likely not legitimate) and 1 (likely legitimate) inclusive.
#testing_score=
deftesting_score=(value)->::Float
Parameter
value (::Float) — Optional. All assessments for this Key return this score. Must be between 0
(likely not legitimate) and 1 (likely legitimate) inclusive.
Returns
(::Float) — Optional. All assessments for this Key return this score. Must be between 0
(likely not legitimate) and 1 (likely legitimate) inclusive.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[],[],null,["# reCAPTCHA Enterprise V1 API - Class Google::Cloud::RecaptchaEnterprise::V1::TestingOptions (v1.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.8.0 (latest)](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/latest/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [1.7.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.7.1/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [1.6.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.6.0/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [1.5.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.5.1/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [1.4.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.4.1/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [1.3.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.3.0/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [1.2.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.2.0/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [1.1.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.1.0/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [1.0.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.0.0/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [0.22.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.22.0/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [0.21.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.21.0/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [0.20.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.20.1/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [0.19.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.19.0/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [0.18.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.18.0/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [0.17.3](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.17.3/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [0.16.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.16.0/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [0.15.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.15.0/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [0.14.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.14.1/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [0.13.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.13.0/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [0.12.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.12.0/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [0.11.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.11.0/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [0.10.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.10.0/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [0.9.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.9.1/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [0.8.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.8.0/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions)\n- [0.7.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.7.1/Google-Cloud-RecaptchaEnterprise-V1-TestingOptions) \nReference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::TestingOptions.\n\nOptions for user acceptance testing. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #testing_challenge\n\n def testing_challenge() -\u003e ::Google::Cloud::RecaptchaEnterprise::V1::TestingOptions::TestingChallenge\n\n**Returns**\n\n- ([::Google::Cloud::RecaptchaEnterprise::V1::TestingOptions::TestingChallenge](./Google-Cloud-RecaptchaEnterprise-V1-TestingOptions-TestingChallenge)) --- Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE.\n\n### #testing_challenge=\n\n def testing_challenge=(value) -\u003e ::Google::Cloud::RecaptchaEnterprise::V1::TestingOptions::TestingChallenge\n\n**Parameter**\n\n- **value** ([::Google::Cloud::RecaptchaEnterprise::V1::TestingOptions::TestingChallenge](./Google-Cloud-RecaptchaEnterprise-V1-TestingOptions-TestingChallenge)) --- Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE. \n**Returns**\n\n- ([::Google::Cloud::RecaptchaEnterprise::V1::TestingOptions::TestingChallenge](./Google-Cloud-RecaptchaEnterprise-V1-TestingOptions-TestingChallenge)) --- Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE.\n\n### #testing_score\n\n def testing_score() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- Optional. All assessments for this Key return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.\n\n### #testing_score=\n\n def testing_score=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- Optional. All assessments for this Key return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive. \n**Returns**\n\n- (::Float) --- Optional. All assessments for this Key return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive."]]