Class ChallengeSettings (1.32.0)

ChallengeSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Settings for POLICY_BASED_CHALLENGE keys to control when a challenge is triggered.

Attributes

Name Description
default_settings google.cloud.recaptchaenterprise_v1.types.WebKeySettings.ActionSettings
Required. Defines when a challenge is triggered (unless the default threshold is overridden for the given action, see action_settings).
action_settings MutableMapping[str, google.cloud.recaptchaenterprise_v1.types.WebKeySettings.ActionSettings]
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.

Classes

ActionSettingsEntry

ActionSettingsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.