Home

envoy.config.common.matcher.v3.HttpGenericBodyMatch.GenericTextMatch

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.config.common.matcher.v3.HttpGenericBodyMatch.GenericTextMatch
.withBinaryMatch('c3RyaW5n')
.withStringMatch('string')
._validate()

Fields

Name Type One-of group Required Constraints
binary_match bytes rule   {"Bytes":{"WellKnown":null,"min_len":1}}
string_match string rule   {"String_":{"WellKnown":null,"min_len":1}}