Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings::ChallengeSettings.
Settings for POLICY_BASED_CHALLENGE keys to control when a challenge is triggered.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#action_settings
def action_settings() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings::ActionSettings}
Returns
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings::ActionSettings}) — Optional. The action to score threshold map.
The action name should be the same as the action name passed in the
data-actionattribute (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.
#action_settings=
def action_settings=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings::ActionSettings}
Parameter
-
value (::Google::Protobuf::Map{::String => ::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings::ActionSettings}) — Optional. The action to score threshold map.
The action name should be the same as the action name passed in the
data-actionattribute (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.
Returns
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings::ActionSettings}) — Optional. The action to score threshold map.
The action name should be the same as the action name passed in the
data-actionattribute (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.
#default_settings
def default_settings() -> ::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings::ActionSettings
Returns
-
(::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings::ActionSettings) — Required. Defines when a challenge is triggered (unless the default
threshold is overridden for the given action, see
action_settings).
#default_settings=
def default_settings=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings::ActionSettings
Parameter
-
value (::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings::ActionSettings) — Required. Defines when a challenge is triggered (unless the default
threshold is overridden for the given action, see
action_settings).
Returns
-
(::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings::ActionSettings) — Required. Defines when a challenge is triggered (unless the default
threshold is overridden for the given action, see
action_settings).