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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Cloud\RecaptchaEnterprise\V1\ScoreDistribution|null |
hasOverallMetrics
clearOverallMetrics
setOverallMetrics
Aggregated score metrics for all traffic.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\RecaptchaEnterprise\V1\ScoreDistribution
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |