Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class Metrics.
Metrics for a single Key.
Generated from protobuf message google.cloud.recaptchaenterprise.v1.Metrics
Namespace
Google \ Cloud \ RecaptchaEnterprise \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. Identifier. The name of the metrics, in the format projects/{project}/keys/{key}/metrics
.
↳ start_time
↳ score_metrics
array< ScoreMetrics
>
Metrics are continuous and in order by dates, and in the granularity of day. All Key types should have score-based data.
↳ challenge_metrics
array< 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.
getName
Output only. Identifier. The name of the metrics, in the format projects/{project}/keys/{key}/metrics
.
string
setName
Output only. Identifier. The name of the metrics, in the format projects/{project}/keys/{key}/metrics
.
var
string
$this
getStartTime
Inclusive start time aligned to a day (UTC).
hasStartTime
clearStartTime
setStartTime
Inclusive start time aligned to a day (UTC).
$this
getScoreMetrics
Metrics are continuous and in order by dates, and in the granularity of day. All Key types should have score-based data.
setScoreMetrics
Metrics are continuous and in order by dates, and in the granularity of day. All Key types should have score-based data.
$this
getChallengeMetrics
Metrics are continuous and in order by dates, and in the granularity of day. Only challenge-based keys (CHECKBOX, INVISIBLE) have challenge-based data.
setChallengeMetrics
Metrics are continuous and in order by dates, and in the granularity of day. Only challenge-based keys (CHECKBOX, INVISIBLE) have challenge-based data.
$this