Google Cloud Recaptcha Enterprise V1 Client - Class ScoreDistribution (1.12.2)

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

Score distribution.

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

Namespace

Google \ Cloud \ RecaptchaEnterprise \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ score_buckets array|Google\Protobuf\Internal\MapField

Map key is score value multiplied by 100. The scores are discrete values between [0, 1]. The maximum number of buckets is on order of a few dozen, but typically much lower (ie. 10).

getScoreBuckets

Map key is score value multiplied by 100. The scores are discrete values between [0, 1]. The maximum number of buckets is on order of a few dozen, but typically much lower (ie. 10).

Returns
Type Description
Google\Protobuf\Internal\MapField

setScoreBuckets

Map key is score value multiplied by 100. The scores are discrete values between [0, 1]. The maximum number of buckets is on order of a few dozen, but typically much lower (ie. 10).

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this