Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::ChallengeRuleGroup.
A collection of challenge rules that applies to one or more actions.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#actions
def actions() -> ::Array<::String>
Returns
- (::Array<::String>) — Required. Action name provided at token generation. The action name is not case-sensitive and can only contain alphanumeric characters, slashes, and underscores. If "*" is provided, the rule group applies to all actions. If multiple actions are provided, the rule group is applied to all of them. This field is required.
#actions=
def actions=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Required. Action name provided at token generation. The action name is not case-sensitive and can only contain alphanumeric characters, slashes, and underscores. If "*" is provided, the rule group applies to all actions. If multiple actions are provided, the rule group is applied to all of them. This field is required.
Returns
- (::Array<::String>) — Required. Action name provided at token generation. The action name is not case-sensitive and can only contain alphanumeric characters, slashes, and underscores. If "*" is provided, the rule group applies to all actions. If multiple actions are provided, the rule group is applied to all of them. This field is required.
#challenge_rules
def challenge_rules() -> ::Array<::Google::Cloud::RecaptchaEnterprise::V1::ChallengeRule>
Returns
- (::Array<::Google::Cloud::RecaptchaEnterprise::V1::ChallengeRule>) — Required. A list of rules that configure when and how reCAPTCHA presents a challenge. reCAPTCHA evaluates these rules in order and applies the first one that matches.
#challenge_rules=
def challenge_rules=(value) -> ::Array<::Google::Cloud::RecaptchaEnterprise::V1::ChallengeRule>
Parameter
- value (::Array<::Google::Cloud::RecaptchaEnterprise::V1::ChallengeRule>) — Required. A list of rules that configure when and how reCAPTCHA presents a challenge. reCAPTCHA evaluates these rules in order and applies the first one that matches.
Returns
- (::Array<::Google::Cloud::RecaptchaEnterprise::V1::ChallengeRule>) — Required. A list of rules that configure when and how reCAPTCHA presents a challenge. reCAPTCHA evaluates these rules in order and applies the first one that matches.