Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::ChallengeRule::ChallengeOutcome.
An outcome that indicates that a challenge of a specified difficulty should be presented to the user.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#difficulty
def difficulty() -> ::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings::ChallengeSecurityPreference
Returns
-
(::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings::ChallengeSecurityPreference) — Optional. The difficulty of the challenge to present to the user.
If unspecified,
BALANCEis used.
#difficulty=
def difficulty=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings::ChallengeSecurityPreference
Parameter
-
value (::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings::ChallengeSecurityPreference) — Optional. The difficulty of the challenge to present to the user.
If unspecified,
BALANCEis used.
Returns
-
(::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings::ChallengeSecurityPreference) — Optional. The difficulty of the challenge to present to the user.
If unspecified,
BALANCEis used.