Reference documentation and code samples for the Network Services V1BETA1 API class Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::To::Destination::HeaderSet.
Describes a set of HTTP headers to match against.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#headers
def headers() -> ::Array<::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::HeaderMatch>
Returns
- (::Array<::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::HeaderMatch>) — Required. A list of headers to match against in http header. If multiple header matches are provided, they will be evaluated as an AND, i.e. all header matches must match for the request to match.
#headers=
def headers=(value) -> ::Array<::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::HeaderMatch>
Parameter
- value (::Array<::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::HeaderMatch>) — Required. A list of headers to match against in http header. If multiple header matches are provided, they will be evaluated as an AND, i.e. all header matches must match for the request to match.
Returns
- (::Array<::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::HeaderMatch>) — Required. A list of headers to match against in http header. If multiple header matches are provided, they will be evaluated as an AND, i.e. all header matches must match for the request to match.