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.
245 246 247 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 245 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
226 227 228 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 226 def failed_count @failed_count end |
#nocaptcha_count ⇒ Fixnum
Count of nocaptchas (successful verification without a challenge) issued.
Corresponds to the JSON property nocaptchaCount
231 232 233 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 231 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
237 238 239 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 237 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
243 244 245 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 243 def passed_count @passed_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
250 251 252 253 254 255 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 250 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 |