envoy.type.v3.RateLimitStrategy.RequestsPerTimeUnit
Example
Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working
code.
local types = import 'types.libsonnet';
types.envoy.type.v3.RateLimitStrategy.RequestsPerTimeUnit
.withRequestsPerTimeUnit(1)
.withTimeUnit(types.envoy.type.v3.RateLimitUnit.UNKNOWN)
._validate()
Fields
Name |
Type |
One-of group |
Required |
Constraints |
requests_per_time_unit |
uint64
|
|
|
|
time_unit |
envoy.type.v3.RateLimitUnit
|
|
|
{"Enum":{"defined_only":true}}
|