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

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
NameDescription
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
TypeDescription
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
NameDescription
var int|string
Returns
TypeDescription
$this

getNocaptchaCount

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

Returns
TypeDescription
int|string

setNocaptchaCount

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

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getFailedCount

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

Returns
TypeDescription
int|string

setFailedCount

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

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getPassedCount

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

Returns
TypeDescription
int|string

setPassedCount

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

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this