keys_metrics
Creates, updates, deletes, gets or lists a keys_metrics
resource.
Overview
Name | keys_metrics |
Type | Resource |
Id | google.recaptchaenterprise.keys_metrics |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. Identifier. The name of the metrics, in the format projects/{project}/keys/{key}/metrics . |
challengeMetrics | array | Metrics are continuous and in order by dates, and in the granularity of day. Only challenge-based keys (CHECKBOX, INVISIBLE) have challenge-based data. |
scoreMetrics | array | Metrics are continuous and in order by dates, and in the granularity of day. All Key types should have score-based data. |
startTime | string | Inclusive start time aligned to a day (UTC). |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_metrics | SELECT | keysId, projectsId | Get some aggregated metrics for a Key. This data can be used to build dashboards. |
SELECT
examples
Get some aggregated metrics for a Key. This data can be used to build dashboards.
SELECT
name,
challengeMetrics,
scoreMetrics,
startTime
FROM google.recaptchaenterprise.keys_metrics
WHERE keysId = '{{ keysId }}'
AND projectsId = '{{ projectsId }}';