Google Cloud Recaptcha Enterprise V1 Client - Class ScoreMetrics (1.7.0)

Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class ScoreMetrics.

Metrics related to scoring.

Generated from protobuf message google.cloud.recaptchaenterprise.v1.ScoreMetrics

Namespace

Google \ Cloud \ RecaptchaEnterprise \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ overall_metrics Google\Cloud\RecaptchaEnterprise\V1\ScoreDistribution

Aggregated score metrics for all traffic.

↳ action_metrics array|Google\Protobuf\Internal\MapField

Action-based metrics. The map key is the action name which specified by the site owners at time of the "execute" client-side call.

getOverallMetrics

Aggregated score metrics for all traffic.

Returns
TypeDescription
Google\Cloud\RecaptchaEnterprise\V1\ScoreDistribution|null

hasOverallMetrics

clearOverallMetrics

setOverallMetrics

Aggregated score metrics for all traffic.

Parameter
NameDescription
var Google\Cloud\RecaptchaEnterprise\V1\ScoreDistribution
Returns
TypeDescription
$this

getActionMetrics

Action-based metrics. The map key is the action name which specified by the site owners at time of the "execute" client-side call.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setActionMetrics

Action-based metrics. The map key is the action name which specified by the site owners at time of the "execute" client-side call.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this