# Google Cloud Recaptcha Enterprise V1 Client - Class TestingChallenge (2.3.1)

2.3.1 (latest) 2.3.0 2.2.1 2.1.3 2.0.1 1.17.2 1.16.1 1.15.0 1.14.0 1.13.0 1.12.2 1.8.0 1.7.0 1.6.0 1.5.2 1.4.2 1.3.2 1.2.6 Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class TestingChallenge.

Enum that represents the challenge option for challenge-based (for example,
CHECKBOX and INVISIBLE) testing keys.

Ensure that applications can handle values not explicitly listed.

Protobuf type `google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge`

## Namespace

Google \\ Cloud \\ RecaptchaEnterprise \\ V1 \\ TestingOptions

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### TESTING_CHALLENGE_UNSPECIFIED

    Value: 0

Perform the normal risk analysis and return either nocaptcha or a
challenge depending on risk and trust factors.

Generated from protobuf enum `TESTING_CHALLENGE_UNSPECIFIED = 0;`

### NOCAPTCHA

    Value: 1

Challenge requests for this key always return a nocaptcha, which
does not require a solution.

Generated from protobuf enum `NOCAPTCHA = 1;`

### UNSOLVABLE_CHALLENGE

    Value: 2

Challenge requests for this key always return an unsolvable
challenge.

Generated from protobuf enum `UNSOLVABLE_CHALLENGE = 2;`