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

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
NameDescription
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
TypeDescription
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
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this