Class: Google::Cloud::NetworkServices::V1::GrpcRoute::HeaderMatch
- Inherits:
-
Object
- Object
- Google::Cloud::NetworkServices::V1::GrpcRoute::HeaderMatch
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/networkservices/v1/grpc_route.rb
Overview
A match against a collection of headers.
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#key ⇒ ::String
Required.
-
#type ⇒ ::Google::Cloud::NetworkServices::V1::GrpcRoute::HeaderMatch::Type
Optional.
-
#value ⇒ ::String
Required.
Instance Attribute Details
#key ⇒ ::String
Returns Required. The key of the header.
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 |
# File 'proto_docs/google/cloud/networkservices/v1/grpc_route.rb', line 152 class HeaderMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of match. module Type # Unspecified. TYPE_UNSPECIFIED = 0 # Will only match the exact value provided. EXACT = 1 # Will match paths conforming to the prefix specified by value. RE2 # syntax is supported. REGULAR_EXPRESSION = 2 end end |
#type ⇒ ::Google::Cloud::NetworkServices::V1::GrpcRoute::HeaderMatch::Type
Returns Optional. Specifies how to match against the value of the header. If not specified, a default value of EXACT is used.
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 |
# File 'proto_docs/google/cloud/networkservices/v1/grpc_route.rb', line 152 class HeaderMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of match. module Type # Unspecified. TYPE_UNSPECIFIED = 0 # Will only match the exact value provided. EXACT = 1 # Will match paths conforming to the prefix specified by value. RE2 # syntax is supported. REGULAR_EXPRESSION = 2 end end |
#value ⇒ ::String
Returns Required. The value of the header.
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 |
# File 'proto_docs/google/cloud/networkservices/v1/grpc_route.rb', line 152 class HeaderMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of match. module Type # Unspecified. TYPE_UNSPECIFIED = 0 # Will only match the exact value provided. EXACT = 1 # Will match paths conforming to the prefix specified by value. RE2 # syntax is supported. REGULAR_EXPRESSION = 2 end end |