Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::Metrics.
Metrics for a single Key.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#challenge_metrics
def challenge_metrics() -> ::Array<::Google::Cloud::RecaptchaEnterprise::V1::ChallengeMetrics>
Returns
- (::Array<::Google::Cloud::RecaptchaEnterprise::V1::ChallengeMetrics>) — Metrics are continuous and in order by dates, and in the granularity of day. Only challenge-based keys (CHECKBOX, INVISIBLE) have challenge-based data.
#challenge_metrics=
def challenge_metrics=(value) -> ::Array<::Google::Cloud::RecaptchaEnterprise::V1::ChallengeMetrics>
Parameter
- value (::Array<::Google::Cloud::RecaptchaEnterprise::V1::ChallengeMetrics>) — Metrics are continuous and in order by dates, and in the granularity of day. Only challenge-based keys (CHECKBOX, INVISIBLE) have challenge-based data.
Returns
- (::Array<::Google::Cloud::RecaptchaEnterprise::V1::ChallengeMetrics>) — Metrics are continuous and in order by dates, and in the granularity of day. Only challenge-based keys (CHECKBOX, INVISIBLE) have challenge-based data.
#name
def name() -> ::String
Returns
-
(::String) — Output only. Identifier. The name of the metrics, in the format
projects/{project}/keys/{key}/metrics
.
#score_metrics
def score_metrics() -> ::Array<::Google::Cloud::RecaptchaEnterprise::V1::ScoreMetrics>
Returns
- (::Array<::Google::Cloud::RecaptchaEnterprise::V1::ScoreMetrics>) — Metrics are continuous and in order by dates, and in the granularity of day. All Key types should have score-based data.
#score_metrics=
def score_metrics=(value) -> ::Array<::Google::Cloud::RecaptchaEnterprise::V1::ScoreMetrics>
Parameter
- value (::Array<::Google::Cloud::RecaptchaEnterprise::V1::ScoreMetrics>) — Metrics are continuous and in order by dates, and in the granularity of day. All Key types should have score-based data.
Returns
- (::Array<::Google::Cloud::RecaptchaEnterprise::V1::ScoreMetrics>) — Metrics are continuous and in order by dates, and in the granularity of day. All Key types should have score-based data.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Inclusive start time aligned to a day (UTC).
#start_time=
def start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Inclusive start time aligned to a day (UTC).
Returns
- (::Google::Protobuf::Timestamp) — Inclusive start time aligned to a day (UTC).