The set of known quotas. At least one quota configuration is required
redisServerUrl
string
Redis connection string :
ex) localhost:6379
connectionPoolSize
int64
Maximum number of idle connections to redis
Default is 10 connections per every CPU as reported by runtime.NumCPU.
Params.Override
Field
Type
Description
dimensions
map<string, string>
The specific dimensions for which this override applies.
String representation of instance dimensions is used to check against configured dimensions.
dimensions should not be empty
maxAmount
int64
The upper limit for this quota override.
This value should be bigger than 0
Params.Quota
Field
Type
Description
name
string
The name of the quota
maxAmount
int64
The upper limit for this quota. max_amount should be bigger than 0
The amount of time allocated quota remains valid before it is
automatically released. This is only meaningful for rate limit quotas.
value should be 0 < valid_duration