class Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TestingOptions
Options for user acceptance testing.
Attributes
testing_challenge[RW]
For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE. Corresponds to the JSON property `testingChallenge` @return [String]
testing_score[RW]
All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive. Corresponds to the JSON property `testingScore` @return [Float]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/recaptchaenterprise_v1/classes.rb, line 480 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/recaptchaenterprise_v1/classes.rb, line 485 def update!(**args) @testing_challenge = args[:testing_challenge] if args.key?(:testing_challenge) @testing_score = args[:testing_score] if args.key?(:testing_score) end