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.
777 778 779 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 777 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.
Corresponds to the JSON property actionMetrics
770 771 772 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 770 def action_metrics @action_metrics end |
#overall_metrics ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ScoreDistribution
Score distribution.
Corresponds to the JSON property overallMetrics
775 776 777 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 775 def overall_metrics @overall_metrics end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
782 783 784 785 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 782 def update!(**args) @action_metrics = args[:action_metrics] if args.key?(:action_metrics) @overall_metrics = args[:overall_metrics] if args.key?(:overall_metrics) end |