Interface TestingOptionsOrBuilder (3.25.0)

public interface TestingOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTestingChallenge()

public abstract TestingOptions.TestingChallenge getTestingChallenge()

For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE.

.google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2;

Returns
TypeDescription
TestingOptions.TestingChallenge

The testingChallenge.

getTestingChallengeValue()

public abstract int getTestingChallengeValue()

For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE.

.google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for testingChallenge.

getTestingScore()

public abstract float getTestingScore()

All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.

float testing_score = 1;

Returns
TypeDescription
float

The testingScore.