Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ChallengeMetrics
- Inherits:
-
Object
- Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ChallengeMetrics
- 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
Metrics related to challenges.
Instance Attribute Summary collapse
-
#failed_count ⇒ Fixnum
Count of submitted challenge solutions that were incorrect or otherwise deemed suspicious such that a subsequent challenge was triggered.
-
#nocaptcha_count ⇒ Fixnum
Count of nocaptchas (successful verification without a challenge) issued.
-
#pageload_count ⇒ Fixnum
Count of reCAPTCHA checkboxes or badges rendered.
-
#passed_count ⇒ Fixnum
Count of nocaptchas (successful verification without a challenge) plus submitted challenge solutions that were correct and resulted in verification.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1ChallengeMetrics
constructor
A new instance of GoogleCloudRecaptchaenterpriseV1ChallengeMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1ChallengeMetrics
Returns a new instance of GoogleCloudRecaptchaenterpriseV1ChallengeMetrics.
393 394 395 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 393 def initialize(**args) update!(**args) end |
Instance Attribute Details
#failed_count ⇒ Fixnum
Count of submitted challenge solutions that were incorrect or otherwise deemed
suspicious such that a subsequent challenge was triggered.
Corresponds to the JSON property failedCount
374 375 376 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 374 def failed_count @failed_count end |
#nocaptcha_count ⇒ Fixnum
Count of nocaptchas (successful verification without a challenge) issued.
Corresponds to the JSON property nocaptchaCount
379 380 381 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 379 def nocaptcha_count @nocaptcha_count end |
#pageload_count ⇒ Fixnum
Count of reCAPTCHA checkboxes or badges rendered. This is mostly equivalent to
a count of pageloads for pages that include reCAPTCHA.
Corresponds to the JSON property pageloadCount
385 386 387 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 385 def pageload_count @pageload_count end |
#passed_count ⇒ Fixnum
Count of nocaptchas (successful verification without a challenge) plus
submitted challenge solutions that were correct and resulted in verification.
Corresponds to the JSON property passedCount
391 392 393 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 391 def passed_count @passed_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
398 399 400 401 402 403 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 398 def update!(**args) @failed_count = args[:failed_count] if args.key?(:failed_count) @nocaptcha_count = args[:nocaptcha_count] if args.key?(:nocaptcha_count) @pageload_count = args[:pageload_count] if args.key?(:pageload_count) @passed_count = args[:passed_count] if args.key?(:passed_count) end |