Package | Description |
---|---|
com.google.api.services.compute.model |
Modifier and Type | Method and Description |
---|---|
SecurityPolicyRuleRateLimitOptions |
SecurityPolicyRuleRateLimitOptions.clone() |
SecurityPolicyRuleRateLimitOptions |
SecurityPolicyRule.getRateLimitOptions()
Must be specified if the action is "rate_based_ban" or "throttle".
|
SecurityPolicyRuleRateLimitOptions |
SecurityPolicyRuleRateLimitOptions.set(String fieldName,
Object value) |
SecurityPolicyRuleRateLimitOptions |
SecurityPolicyRuleRateLimitOptions.setBanDurationSec(Integer banDurationSec)
Can only be specified if the action for the rule is "rate_based_ban".
|
SecurityPolicyRuleRateLimitOptions |
SecurityPolicyRuleRateLimitOptions.setBanThreshold(SecurityPolicyRuleRateLimitOptionsThreshold banThreshold)
Can only be specified if the action for the rule is "rate_based_ban".
|
SecurityPolicyRuleRateLimitOptions |
SecurityPolicyRuleRateLimitOptions.setConformAction(String conformAction)
Action to take for requests that are under the configured rate limit threshold.
|
SecurityPolicyRuleRateLimitOptions |
SecurityPolicyRuleRateLimitOptions.setEnforceOnKey(String enforceOnKey)
Determines the key to enforce the rate_limit_threshold on.
|
SecurityPolicyRuleRateLimitOptions |
SecurityPolicyRuleRateLimitOptions.setEnforceOnKeyName(String enforceOnKeyName)
Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the
HTTP header whose value is taken as the key value.
|
SecurityPolicyRuleRateLimitOptions |
SecurityPolicyRuleRateLimitOptions.setExceedAction(String exceedAction)
Action to take for requests that are above the configured rate limit threshold, to either deny
with a specified HTTP response code, or redirect to a different endpoint.
|
SecurityPolicyRuleRateLimitOptions |
SecurityPolicyRuleRateLimitOptions.setExceedRedirectOptions(SecurityPolicyRuleRedirectOptions exceedRedirectOptions)
Parameters defining the redirect action that is used as the exceed action.
|
SecurityPolicyRuleRateLimitOptions |
SecurityPolicyRuleRateLimitOptions.setRateLimitThreshold(SecurityPolicyRuleRateLimitOptionsThreshold rateLimitThreshold)
Threshold at which to begin ratelimiting.
|
Modifier and Type | Method and Description |
---|---|
SecurityPolicyRule |
SecurityPolicyRule.setRateLimitOptions(SecurityPolicyRuleRateLimitOptions rateLimitOptions)
Must be specified if the action is "rate_based_ban" or "throttle".
|
Copyright © 2011–2022 Google. All rights reserved.