Interface ChallengeRule.ChallengeOutcomeOrBuilder (3.96.0)

public static interface ChallengeRule.ChallengeOutcomeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDifficulty()

public abstract WebKeySettings.ChallengeSecurityPreference getDifficulty()

Optional. The difficulty of the challenge to present to the user. If unspecified, BALANCE is used.

.google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference difficulty = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WebKeySettings.ChallengeSecurityPreference

The difficulty.

getDifficultyValue()

public abstract int getDifficultyValue()

Optional. The difficulty of the challenge to present to the user. If unspecified, BALANCE is used.

.google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference difficulty = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for difficulty.