Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ScoreMetrics
- Inherits:
-
Object
- Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ScoreMetrics
- 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 scoring.
Instance Attribute Summary collapse
-
#action_metrics ⇒ Hash<String,Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ScoreDistribution>
Action-based metrics.
-
#overall_metrics ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ScoreDistribution
Score distribution.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1ScoreMetrics
constructor
A new instance of GoogleCloudRecaptchaenterpriseV1ScoreMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1ScoreMetrics
Returns a new instance of GoogleCloudRecaptchaenterpriseV1ScoreMetrics.
452 453 454 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 452 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_metrics ⇒ Hash<String,Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ScoreDistribution>
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
445 446 447 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 445 def action_metrics @action_metrics end |
#overall_metrics ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ScoreDistribution
Score distribution.
Corresponds to the JSON property overallMetrics
450 451 452 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 450 def overall_metrics @overall_metrics end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
457 458 459 460 |
# 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 |