Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::TestingOptions.
Options for user acceptance testing.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#testing_challenge
def testing_challenge() -> ::Google::Cloud::RecaptchaEnterprise::V1::TestingOptions::TestingChallenge
Returns
- (::Google::Cloud::RecaptchaEnterprise::V1::TestingOptions::TestingChallenge) — For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE.
#testing_challenge=
def testing_challenge=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1::TestingOptions::TestingChallenge
Parameter
- value (::Google::Cloud::RecaptchaEnterprise::V1::TestingOptions::TestingChallenge) — For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE.
Returns
- (::Google::Cloud::RecaptchaEnterprise::V1::TestingOptions::TestingChallenge) — For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE.
#testing_score
def testing_score() -> ::Float
Returns
- (::Float) — All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
#testing_score=
def testing_score=(value) -> ::Float
Parameter
- value (::Float) — All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
Returns
- (::Float) — All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.