GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule class
The config for a reCAPTCHA managed rule. Models a single interval start_score, end_score. The start_score is implicit. It is either the closest smaller end_score (if one is available) or 0. Intervals in aggregate span 0, 1 without overlapping.
Constructors
-
GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule({Input<
GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleAction> ? action, Input<double> ? endScore}) -
Creates a new GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule.
actionThe action taken if the reCAPTCHA score of a request is within the intervalstart_score, end_score.endScoreThe end score (inclusive) of the score range for an action. Must be a value between 0.0 and 1.0, at 11 discrete values; e.g. 0, 0.1, 0.2, 0.3, ... 0.9, 1.0. A score of 0.0 indicates the riskiest request (likely a bot), whereas 1.0 indicates the safest request (likely a human). See https://cloud.google.com/recaptcha-enterprise/docs/interpret-assessment.const -
GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
action
→ Input<
GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleAction> ? -
The action taken if the reCAPTCHA score of a request is within the interval
start_score, end_score.final -
endScore
→ Input<
double> ? -
The end score (inclusive) of the score range for an action. Must be a value between 0.0 and 1.0, at 11 discrete values; e.g. 0, 0.1, 0.2, 0.3, ... 0.9, 1.0. A score of 0.0 indicates the riskiest request (likely a bot), whereas 1.0 indicates the safest request (likely a human). See https://cloud.google.com/recaptcha-enterprise/docs/interpret-assessment.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited