Class: Google::Cloud::NetworkServices::V1::GrpcRoute::MethodMatch
- Inherits:
-
Object
- Object
- Google::Cloud::NetworkServices::V1::GrpcRoute::MethodMatch
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/networkservices/v1/grpc_route.rb
Overview
Specifies a match against a method.
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#case_sensitive ⇒ ::Boolean
Optional.
-
#grpc_method ⇒ ::String
Required.
-
#grpc_service ⇒ ::String
Required.
-
#type ⇒ ::Google::Cloud::NetworkServices::V1::GrpcRoute::MethodMatch::Type
Optional.
Instance Attribute Details
#case_sensitive ⇒ ::Boolean
Returns Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be used with a type of REGULAR_EXPRESSION.
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 |
# File 'proto_docs/google/cloud/networkservices/v1/grpc_route.rb', line 123 class MethodMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of the match. module Type # Unspecified. TYPE_UNSPECIFIED = 0 # Will only match the exact name provided. EXACT = 1 # Will interpret grpc_method and grpc_service as regexes. RE2 syntax is # supported. REGULAR_EXPRESSION = 2 end end |
#grpc_method ⇒ ::String
Returns Required. Name of the method to match against. If unspecified, will match all methods.
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 |
# File 'proto_docs/google/cloud/networkservices/v1/grpc_route.rb', line 123 class MethodMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of the match. module Type # Unspecified. TYPE_UNSPECIFIED = 0 # Will only match the exact name provided. EXACT = 1 # Will interpret grpc_method and grpc_service as regexes. RE2 syntax is # supported. REGULAR_EXPRESSION = 2 end end |
#grpc_service ⇒ ::String
Returns Required. Name of the service to match against. If unspecified, will match all services.
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 |
# File 'proto_docs/google/cloud/networkservices/v1/grpc_route.rb', line 123 class MethodMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of the match. module Type # Unspecified. TYPE_UNSPECIFIED = 0 # Will only match the exact name provided. EXACT = 1 # Will interpret grpc_method and grpc_service as regexes. RE2 syntax is # supported. REGULAR_EXPRESSION = 2 end end |
#type ⇒ ::Google::Cloud::NetworkServices::V1::GrpcRoute::MethodMatch::Type
Returns Optional. Specifies how to match against the name. If not specified, a default value of "EXACT" is used.
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 |
# File 'proto_docs/google/cloud/networkservices/v1/grpc_route.rb', line 123 class MethodMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of the match. module Type # Unspecified. TYPE_UNSPECIFIED = 0 # Will only match the exact name provided. EXACT = 1 # Will interpret grpc_method and grpc_service as regexes. RE2 syntax is # supported. REGULAR_EXPRESSION = 2 end end |