Class HeaderMatch (0.4.1)

HeaderMatch(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A match against a collection of headers.

Attributes

NameDescription
type_ google.cloud.network_services_v1.types.GrpcRoute.HeaderMatch.Type
Optional. Specifies how to match against the value of the header. If not specified, a default value of EXACT is used.
key str
Required. The key of the header.
value str
Required. The value of the header.

Classes

Type

Type(value)

The type of match.

Values: TYPE_UNSPECIFIED (0): Unspecified. EXACT (1): Will only match the exact value provided. REGULAR_EXPRESSION (2): Will match paths conforming to the prefix specified by value. RE2 syntax is supported.