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_blacklist" 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.setBlockDuration(Integer blockDuration)
Can only be specified if the action for the rule is "rate_based_ban" If specified, determines
the time (in seconds) the traffic will continue to be blocked by the rate limit after the rate
falls below the threshold.
|
SecurityPolicyRuleRateLimitOptions |
SecurityPolicyRuleRateLimitOptions.setConformAction(String conformAction)
Action to take when requests are under the given threshold.
|
SecurityPolicyRuleRateLimitOptions |
SecurityPolicyRuleRateLimitOptions.setEnforceOnKey(String enforceOnKey)
Determines the key to enforce the threshold_rps limit on.
|
SecurityPolicyRuleRateLimitOptions |
SecurityPolicyRuleRateLimitOptions.setExceedAction(String exceedAction)
When a request is denied, returns the HTTP response code specified.
|
SecurityPolicyRuleRateLimitOptions |
SecurityPolicyRuleRateLimitOptions.setRateLimitThreshold(SecurityPolicyRuleRateLimitOptionsThreshold rateLimitThreshold)
Threshold at which to begin ratelimiting.
|
SecurityPolicyRuleRateLimitOptions |
SecurityPolicyRuleRateLimitOptions.setThresholdRps(Integer thresholdRps)
Rate in requests per second 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_blacklist" or "throttle".
|
Copyright © 2011–2020 Google. All rights reserved.