Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::GrpcRoute::HeaderMatch.
A match against a collection of headers.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#key
def key() -> ::String
Returns
- (::String) — Required. The key of the header.
#key=
def key=(value) -> ::String
Parameter
- value (::String) — Required. The key of the header.
Returns
- (::String) — Required. The key of the header.
#type
def type() -> ::Google::Cloud::NetworkServices::V1::GrpcRoute::HeaderMatch::Type
Returns
- (::Google::Cloud::NetworkServices::V1::GrpcRoute::HeaderMatch::Type) — Optional. Specifies how to match against the value of the header. If not specified, a default value of EXACT is used.
#type=
def type=(value) -> ::Google::Cloud::NetworkServices::V1::GrpcRoute::HeaderMatch::Type
Parameter
- value (::Google::Cloud::NetworkServices::V1::GrpcRoute::HeaderMatch::Type) — Optional. Specifies how to match against the value of the header. If not specified, a default value of EXACT is used.
Returns
- (::Google::Cloud::NetworkServices::V1::GrpcRoute::HeaderMatch::Type) — Optional. Specifies how to match against the value of the header. If not specified, a default value of EXACT is used.
#value
def value() -> ::String
Returns
- (::String) — Required. The value of the header.
#value=
def value=(value) -> ::String
Parameter
- value (::String) — Required. The value of the header.
Returns
- (::String) — Required. The value of the header.