Home

envoy.type.v3.TokenBucket

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.TokenBucket
.withFillInterval(types.google.protobuf.Duration)
.withMaxTokens(1)
.withTokensPerFill(1)
._validate()

Fields

Name Type One-of group Required Constraints
fill_interval google.protobuf.Duration   {"Duration":{"gt":{},"required":true}}
max_tokens uint32   {"Uint32":{"gt":0}}
tokens_per_fill google.protobuf.UInt32Value   {"Uint32":{"gt":0}}