class Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ScoreMetrics

Metrics related to scoring.

Attributes

action_metrics[RW]

Action-based metrics. The map key is the action name which specified by the site owners at time of the “execute” client-side call. Populated only for SCORE keys. Corresponds to the JSON property `actionMetrics` @return [Hash<String,Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ScoreDistribution>]

overall_metrics[RW]

Score distribution. Corresponds to the JSON property `overallMetrics` @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ScoreDistribution]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/recaptchaenterprise_v1/classes.rb, line 452
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 457
def update!(**args)
  @action_metrics = args[:action_metrics] if args.key?(:action_metrics)
  @overall_metrics = args[:overall_metrics] if args.key?(:overall_metrics)
end