# Google Cloud Recaptcha Enterprise V1 Client - Class ChallengeSecurityPreference (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 ChallengeSecurityPreference.

Enum that represents the possible challenge frequency and difficulty
configurations for a web key.

Ensure that applications can handle values not explicitly listed.

Protobuf type `google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference`

## Namespace

Google \\ Cloud \\ RecaptchaEnterprise \\ V1 \\ WebKeySettings

## Methods

### static::name

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

### static::value

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

## Constants

### CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED

    Value: 0

Default type that indicates this enum hasn't been specified.

Generated from protobuf enum `CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED = 0;`

### USABILITY

    Value: 1

Key tends to show fewer and easier challenges.

Generated from protobuf enum `USABILITY = 1;`

### BALANCE

    Value: 2

Key tends to show balanced (in amount and difficulty) challenges.

Generated from protobuf enum `BALANCE = 2;`

### SECURITY

    Value: 3

Key tends to show more and harder challenges.

Generated from protobuf enum `SECURITY = 3;`