class Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ChallengeMetrics

Metrics related to challenges.

Attributes

failed_count[RW]

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` @return [Fixnum]

nocaptcha_count[RW]

Count of nocaptchas (successful verification without a challenge) issued. Corresponds to the JSON property `nocaptchaCount` @return [Fixnum]

pageload_count[RW]

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` @return [Fixnum]

passed_count[RW]

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` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/recaptchaenterprise_v1/classes.rb, line 158
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 163
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