Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TestingOptions
- Inherits:
-
Object
- Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TestingOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/recaptchaenterprise_v1/classes.rb,
lib/google/apis/recaptchaenterprise_v1/representations.rb,
lib/google/apis/recaptchaenterprise_v1/representations.rb
Overview
Options for user acceptance testing.
Instance Attribute Summary collapse
-
#testing_challenge ⇒ String
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 ⇒ Float
All assessments for this Key will return this score.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1TestingOptions
constructor
A new instance of GoogleCloudRecaptchaenterpriseV1TestingOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1TestingOptions
Returns a new instance of GoogleCloudRecaptchaenterpriseV1TestingOptions.
1307 1308 1309 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1307 def initialize(**args) update!(**args) end |
Instance Attribute Details
#testing_challenge ⇒ String
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
1299 1300 1301 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1299 def testing_challenge @testing_challenge end |
#testing_score ⇒ Float
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
1305 1306 1307 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1305 def testing_score @testing_score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1312 1313 1314 1315 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1312 def update!(**args) @testing_challenge = args[:testing_challenge] if args.key?(:testing_challenge) @testing_score = args[:testing_score] if args.key?(:testing_score) end |