Network Services V1 API - Class Google::Cloud::NetworkServices::V1::GrpcRoute::HeaderMatch (v0.1.0)

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

#type=

def type=(value) -> ::Google::Cloud::NetworkServices::V1::GrpcRoute::HeaderMatch::Type
Parameter
Returns

#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.