class Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Metrics
Metrics for a single Key.
Attributes
Metrics will be continuous and in order by dates, and in the granularity of day. Only challenge-based keys (CHECKBOX, INVISIBLE), will have challenge- based data. Corresponds to the JSON property `challengeMetrics` @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ChallengeMetrics>]
Output only. The name of the metrics, in the format “projects/`project`/keys/` key`/metrics”. Corresponds to the JSON property `name` @return [String]
Metrics will be continuous and in order by dates, and in the granularity of day. All Key types should have score-based data. Corresponds to the JSON property `scoreMetrics` @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ScoreMetrics>]
Inclusive start time aligned to a day (UTC). Corresponds to the JSON property `startTime` @return [String]
Public Class Methods
# File lib/google/apis/recaptchaenterprise_v1/classes.rb, line 363 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/recaptchaenterprise_v1/classes.rb, line 368 def update!(**args) @challenge_metrics = args[:challenge_metrics] if args.key?(:challenge_metrics) @name = args[:name] if args.key?(:name) @score_metrics = args[:score_metrics] if args.key?(:score_metrics) @start_time = args[:start_time] if args.key?(:start_time) end