Class: Google::Cloud::RecaptchaEnterprise::V1::TestingOptions
- Inherits:
-
Object
- Object
- Google::Cloud::RecaptchaEnterprise::V1::TestingOptions
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb
Overview
Options for user acceptance testing.
Defined Under Namespace
Modules: TestingChallenge
Instance Attribute Summary collapse
-
#testing_challenge ⇒ ::Google::Cloud::RecaptchaEnterprise::V1::TestingOptions::TestingChallenge
Optional.
-
#testing_score ⇒ ::Float
Optional.
Instance Attribute Details
#testing_challenge ⇒ ::Google::Cloud::RecaptchaEnterprise::V1::TestingOptions::TestingChallenge
Returns Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE.
1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 |
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 1317 class TestingOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enum that represents the challenge option for challenge-based (CHECKBOX, # INVISIBLE) testing keys. module TestingChallenge # Perform the normal risk analysis and return either nocaptcha or a # challenge depending on risk and trust factors. TESTING_CHALLENGE_UNSPECIFIED = 0 # Challenge requests for this key always return a nocaptcha, which # does not require a solution. NOCAPTCHA = 1 # Challenge requests for this key always return an unsolvable # challenge. UNSOLVABLE_CHALLENGE = 2 end end |
#testing_score ⇒ ::Float
Returns Optional. All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 |
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 1317 class TestingOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enum that represents the challenge option for challenge-based (CHECKBOX, # INVISIBLE) testing keys. module TestingChallenge # Perform the normal risk analysis and return either nocaptcha or a # challenge depending on risk and trust factors. TESTING_CHALLENGE_UNSPECIFIED = 0 # Challenge requests for this key always return a nocaptcha, which # does not require a solution. NOCAPTCHA = 1 # Challenge requests for this key always return an unsolvable # challenge. UNSOLVABLE_CHALLENGE = 2 end end |