envoy.extensions.filters.http.header_to_metadata.v3.Config.Rule
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.header_to_metadata.v3.Config.Rule
.withCookie('string')
.withHeader('string')
.withOnHeaderMissing(types.envoy.extensions.filters.http.header_to_metadata.v3.Config.KeyValuePair)
.withOnHeaderPresent(types.envoy.extensions.filters.http.header_to_metadata.v3.Config.KeyValuePair)
.withRemove(false)
._validate()
Fields