Uses of Class
com.google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptions.Builder
-
Uses of SecurityPolicyRuleRateLimitOptions.Builder in com.google.cloud.compute.v1
Methods in com.google.cloud.compute.v1 that return SecurityPolicyRuleRateLimitOptions.BuilderModifier and TypeMethodDescriptionSecurityPolicyRuleRateLimitOptions.Builder.addAllEnforceOnKeyConfigs(Iterable<? extends SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig> values) If specified, any combination of values of enforce_on_key_type/enforce_on_key_name is treated as the key on which ratelimit threshold/action is enforced.SecurityPolicyRuleRateLimitOptions.Builder.addEnforceOnKeyConfigs(int index, SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig value) If specified, any combination of values of enforce_on_key_type/enforce_on_key_name is treated as the key on which ratelimit threshold/action is enforced.SecurityPolicyRuleRateLimitOptions.Builder.addEnforceOnKeyConfigs(int index, SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig.Builder builderForValue) If specified, any combination of values of enforce_on_key_type/enforce_on_key_name is treated as the key on which ratelimit threshold/action is enforced.SecurityPolicyRuleRateLimitOptions.Builder.addEnforceOnKeyConfigs(SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig value) If specified, any combination of values of enforce_on_key_type/enforce_on_key_name is treated as the key on which ratelimit threshold/action is enforced.SecurityPolicyRuleRateLimitOptions.Builder.addEnforceOnKeyConfigs(SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig.Builder builderForValue) If specified, any combination of values of enforce_on_key_type/enforce_on_key_name is treated as the key on which ratelimit threshold/action is enforced.SecurityPolicyRuleRateLimitOptions.Builder.clear()SecurityPolicyRuleRateLimitOptions.Builder.clearBanDurationSec()Can only be specified if the action for the rule is "rate_based_ban".SecurityPolicyRuleRateLimitOptions.Builder.clearBanThreshold()Can only be specified if the action for the rule is "rate_based_ban".SecurityPolicyRuleRateLimitOptions.Builder.clearConformAction()Action to take for requests that are under the configured rate limit threshold.SecurityPolicyRuleRateLimitOptions.Builder.clearEnforceOnKey()Determines the key to enforce the rate_limit_threshold on.SecurityPolicyRuleRateLimitOptions.Builder.clearEnforceOnKeyConfigs()If specified, any combination of values of enforce_on_key_type/enforce_on_key_name is treated as the key on which ratelimit threshold/action is enforced.SecurityPolicyRuleRateLimitOptions.Builder.clearEnforceOnKeyName()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.Builder.clearExceedAction()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.Builder.clearExceedRedirectOptions()Parameters defining the redirect action that is used as the exceed action.SecurityPolicyRuleRateLimitOptions.Builder.clearRateLimitThreshold()Threshold at which to begin ratelimiting.SecurityPolicyRule.Builder.getRateLimitOptionsBuilder()Must be specified if the action is "rate_based_ban" or "throttle" or "fairshare".SecurityPolicyRuleRateLimitOptions.Builder.mergeBanThreshold(SecurityPolicyRuleRateLimitOptionsThreshold value) Can only be specified if the action for the rule is "rate_based_ban".SecurityPolicyRuleRateLimitOptions.Builder.mergeExceedRedirectOptions(SecurityPolicyRuleRedirectOptions value) Parameters defining the redirect action that is used as the exceed action.SecurityPolicyRuleRateLimitOptions.Builder.mergeFrom(SecurityPolicyRuleRateLimitOptions other) SecurityPolicyRuleRateLimitOptions.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) SecurityPolicyRuleRateLimitOptions.Builder.mergeFrom(com.google.protobuf.Message other) SecurityPolicyRuleRateLimitOptions.Builder.mergeRateLimitThreshold(SecurityPolicyRuleRateLimitOptionsThreshold value) Threshold at which to begin ratelimiting.SecurityPolicyRuleRateLimitOptions.newBuilder()SecurityPolicyRuleRateLimitOptions.newBuilder(SecurityPolicyRuleRateLimitOptions prototype) SecurityPolicyRuleRateLimitOptions.newBuilderForType()SecurityPolicyRuleRateLimitOptions.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) SecurityPolicyRuleRateLimitOptions.Builder.removeEnforceOnKeyConfigs(int index) If specified, any combination of values of enforce_on_key_type/enforce_on_key_name is treated as the key on which ratelimit threshold/action is enforced.SecurityPolicyRuleRateLimitOptions.Builder.setBanDurationSec(int value) Can only be specified if the action for the rule is "rate_based_ban".SecurityPolicyRuleRateLimitOptions.Builder.setBanThreshold(SecurityPolicyRuleRateLimitOptionsThreshold value) Can only be specified if the action for the rule is "rate_based_ban".SecurityPolicyRuleRateLimitOptions.Builder.setBanThreshold(SecurityPolicyRuleRateLimitOptionsThreshold.Builder builderForValue) Can only be specified if the action for the rule is "rate_based_ban".SecurityPolicyRuleRateLimitOptions.Builder.setConformAction(String value) Action to take for requests that are under the configured rate limit threshold.SecurityPolicyRuleRateLimitOptions.Builder.setConformActionBytes(com.google.protobuf.ByteString value) Action to take for requests that are under the configured rate limit threshold.SecurityPolicyRuleRateLimitOptions.Builder.setEnforceOnKey(String value) Determines the key to enforce the rate_limit_threshold on.SecurityPolicyRuleRateLimitOptions.Builder.setEnforceOnKeyBytes(com.google.protobuf.ByteString value) Determines the key to enforce the rate_limit_threshold on.SecurityPolicyRuleRateLimitOptions.Builder.setEnforceOnKeyConfigs(int index, SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig value) If specified, any combination of values of enforce_on_key_type/enforce_on_key_name is treated as the key on which ratelimit threshold/action is enforced.SecurityPolicyRuleRateLimitOptions.Builder.setEnforceOnKeyConfigs(int index, SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig.Builder builderForValue) If specified, any combination of values of enforce_on_key_type/enforce_on_key_name is treated as the key on which ratelimit threshold/action is enforced.SecurityPolicyRuleRateLimitOptions.Builder.setEnforceOnKeyName(String value) 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.Builder.setEnforceOnKeyNameBytes(com.google.protobuf.ByteString value) 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.Builder.setExceedAction(String value) 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.Builder.setExceedActionBytes(com.google.protobuf.ByteString value) 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.Builder.setExceedRedirectOptions(SecurityPolicyRuleRedirectOptions value) Parameters defining the redirect action that is used as the exceed action.SecurityPolicyRuleRateLimitOptions.Builder.setExceedRedirectOptions(SecurityPolicyRuleRedirectOptions.Builder builderForValue) Parameters defining the redirect action that is used as the exceed action.SecurityPolicyRuleRateLimitOptions.Builder.setRateLimitThreshold(SecurityPolicyRuleRateLimitOptionsThreshold value) Threshold at which to begin ratelimiting.SecurityPolicyRuleRateLimitOptions.Builder.setRateLimitThreshold(SecurityPolicyRuleRateLimitOptionsThreshold.Builder builderForValue) Threshold at which to begin ratelimiting.SecurityPolicyRuleRateLimitOptions.toBuilder()Methods in com.google.cloud.compute.v1 with parameters of type SecurityPolicyRuleRateLimitOptions.BuilderModifier and TypeMethodDescriptionSecurityPolicyRule.Builder.setRateLimitOptions(SecurityPolicyRuleRateLimitOptions.Builder builderForValue) Must be specified if the action is "rate_based_ban" or "throttle" or "fairshare".