Google Cloud Recaptcha Enterprise V1 Client - Class ChallengeMetrics (1.15.0)

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

Metrics related to challenges.

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

Namespace

Google \ Cloud \ RecaptchaEnterprise \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ pageload_count int|string

Count of reCAPTCHA checkboxes or badges rendered. This is mostly equivalent to a count of pageloads for pages that include reCAPTCHA.

↳ nocaptcha_count int|string

Count of nocaptchas (successful verification without a challenge) issued.

↳ failed_count int|string

Count of submitted challenge solutions that were incorrect or otherwise deemed suspicious such that a subsequent challenge was triggered.

↳ passed_count int|string

Count of nocaptchas (successful verification without a challenge) plus submitted challenge solutions that were correct and resulted in verification.

getPageloadCount

Count of reCAPTCHA checkboxes or badges rendered. This is mostly equivalent to a count of pageloads for pages that include reCAPTCHA.

Returns
Type Description
int|string

setPageloadCount

Count of reCAPTCHA checkboxes or badges rendered. This is mostly equivalent to a count of pageloads for pages that include reCAPTCHA.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getNocaptchaCount

Count of nocaptchas (successful verification without a challenge) issued.

Returns
Type Description
int|string

setNocaptchaCount

Count of nocaptchas (successful verification without a challenge) issued.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getFailedCount

Count of submitted challenge solutions that were incorrect or otherwise deemed suspicious such that a subsequent challenge was triggered.

Returns
Type Description
int|string

setFailedCount

Count of submitted challenge solutions that were incorrect or otherwise deemed suspicious such that a subsequent challenge was triggered.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getPassedCount

Count of nocaptchas (successful verification without a challenge) plus submitted challenge solutions that were correct and resulted in verification.

Returns
Type Description
int|string

setPassedCount

Count of nocaptchas (successful verification without a challenge) plus submitted challenge solutions that were correct and resulted in verification.

Parameter
Name Description
var int|string
Returns
Type Description
$this