Home

envoy.extensions.filters.http.bandwidth_limit.v3.BandwidthLimit

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.extensions.filters.http.bandwidth_limit.v3.BandwidthLimit
.withEnableMode(types.envoy.extensions.filters.http.bandwidth_limit.v3.BandwidthLimit.EnableMode.DISABLED)
.withEnableResponseTrailers(false)
.withFillInterval(types.google.protobuf.Duration)
.withLimitKbps(1)
.withResponseTrailerPrefix('string')
.withRuntimeEnabled(types.envoy.config.core.v3.RuntimeFeatureFlag)
.withStatPrefix('string')
._validate()

Nested Enums

Fields

Name Type One-of group Required Constraints
enable_mode envoy.extensions.filters.http.bandwidth_limit.v3.BandwidthLimit.EnableMode   {"Enum":{"defined_only":true}}
enable_response_trailers bool  
fill_interval google.protobuf.Duration   {"Duration":{"gte":{"nanos":20000000},"lte":{"seconds":1}}}
limit_kbps google.protobuf.UInt64Value   {"Uint64":{"gte":1}}
response_trailer_prefix string   {"String_":{"WellKnown":{"WellKnownRegex":1},"strict":false}}
runtime_enabled envoy.config.core.v3.RuntimeFeatureFlag  
stat_prefix string   {"String_":{"WellKnown":null,"min_len":1}}