Interface WebKeySettings.ChallengeSettingsOrBuilder (3.79.0)

public static interface WebKeySettings.ChallengeSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsActionSettings(String key)

public abstract boolean containsActionSettings(String key)

Optional. The action to score threshold map. The action name should be the same as the action name passed in the data-action attribute (see https://cloud.google.com/recaptcha/docs/actions-website). Action names are case-insensitive. There is a maximum of 100 action settings. An action name has a maximum length of 100.

map<string, .google.cloud.recaptchaenterprise.v1.WebKeySettings.ActionSettings> action_settings = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getActionSettings() (deprecated)

public abstract Map<String,WebKeySettings.ActionSettings> getActionSettings()
Returns
Type Description
Map<String,ActionSettings>

getActionSettingsCount()

public abstract int getActionSettingsCount()

Optional. The action to score threshold map. The action name should be the same as the action name passed in the data-action attribute (see https://cloud.google.com/recaptcha/docs/actions-website). Action names are case-insensitive. There is a maximum of 100 action settings. An action name has a maximum length of 100.

map<string, .google.cloud.recaptchaenterprise.v1.WebKeySettings.ActionSettings> action_settings = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getActionSettingsMap()

public abstract Map<String,WebKeySettings.ActionSettings> getActionSettingsMap()

Optional. The action to score threshold map. The action name should be the same as the action name passed in the data-action attribute (see https://cloud.google.com/recaptcha/docs/actions-website). Action names are case-insensitive. There is a maximum of 100 action settings. An action name has a maximum length of 100.

map<string, .google.cloud.recaptchaenterprise.v1.WebKeySettings.ActionSettings> action_settings = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,ActionSettings>

getActionSettingsOrDefault(String key, WebKeySettings.ActionSettings defaultValue)

public abstract WebKeySettings.ActionSettings getActionSettingsOrDefault(String key, WebKeySettings.ActionSettings defaultValue)

Optional. The action to score threshold map. The action name should be the same as the action name passed in the data-action attribute (see https://cloud.google.com/recaptcha/docs/actions-website). Action names are case-insensitive. There is a maximum of 100 action settings. An action name has a maximum length of 100.

map<string, .google.cloud.recaptchaenterprise.v1.WebKeySettings.ActionSettings> action_settings = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue WebKeySettings.ActionSettings
Returns
Type Description
WebKeySettings.ActionSettings

getActionSettingsOrThrow(String key)

public abstract WebKeySettings.ActionSettings getActionSettingsOrThrow(String key)

Optional. The action to score threshold map. The action name should be the same as the action name passed in the data-action attribute (see https://cloud.google.com/recaptcha/docs/actions-website). Action names are case-insensitive. There is a maximum of 100 action settings. An action name has a maximum length of 100.

map<string, .google.cloud.recaptchaenterprise.v1.WebKeySettings.ActionSettings> action_settings = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
WebKeySettings.ActionSettings

getDefaultSettings()

public abstract WebKeySettings.ActionSettings getDefaultSettings()

Required. Defines when a challenge is triggered (unless the default threshold is overridden for the given action, see action_settings).

.google.cloud.recaptchaenterprise.v1.WebKeySettings.ActionSettings default_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WebKeySettings.ActionSettings

The defaultSettings.

getDefaultSettingsOrBuilder()

public abstract WebKeySettings.ActionSettingsOrBuilder getDefaultSettingsOrBuilder()

Required. Defines when a challenge is triggered (unless the default threshold is overridden for the given action, see action_settings).

.google.cloud.recaptchaenterprise.v1.WebKeySettings.ActionSettings default_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WebKeySettings.ActionSettingsOrBuilder

hasDefaultSettings()

public abstract boolean hasDefaultSettings()

Required. Defines when a challenge is triggered (unless the default threshold is overridden for the given action, see action_settings).

.google.cloud.recaptchaenterprise.v1.WebKeySettings.ActionSettings default_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the defaultSettings field is set.