Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::GrpcRoute::MethodMatch.
Specifies a match against a method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#case_sensitive
def case_sensitive() -> ::Boolean
Returns
- (::Boolean) — Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be used with a type of REGULAR_EXPRESSION.
#case_sensitive=
def case_sensitive=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be used with a type of REGULAR_EXPRESSION.
Returns
- (::Boolean) — Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be used with a type of REGULAR_EXPRESSION.
#grpc_method
def grpc_method() -> ::String
Returns
- (::String) — Required. Name of the method to match against. If unspecified, will match all methods.
#grpc_method=
def grpc_method=(value) -> ::String
Parameter
- value (::String) — Required. Name of the method to match against. If unspecified, will match all methods.
Returns
- (::String) — Required. Name of the method to match against. If unspecified, will match all methods.
#grpc_service
def grpc_service() -> ::String
Returns
- (::String) — Required. Name of the service to match against. If unspecified, will match all services.
#grpc_service=
def grpc_service=(value) -> ::String
Parameter
- value (::String) — Required. Name of the service to match against. If unspecified, will match all services.
Returns
- (::String) — Required. Name of the service to match against. If unspecified, will match all services.
#type
def type() -> ::Google::Cloud::NetworkServices::V1::GrpcRoute::MethodMatch::Type
Returns
- (::Google::Cloud::NetworkServices::V1::GrpcRoute::MethodMatch::Type) — Optional. Specifies how to match against the name. If not specified, a default value of "EXACT" is used.
#type=
def type=(value) -> ::Google::Cloud::NetworkServices::V1::GrpcRoute::MethodMatch::Type
Parameter
- value (::Google::Cloud::NetworkServices::V1::GrpcRoute::MethodMatch::Type) — Optional. Specifies how to match against the name. If not specified, a default value of "EXACT" is used.
Returns
- (::Google::Cloud::NetworkServices::V1::GrpcRoute::MethodMatch::Type) — Optional. Specifies how to match against the name. If not specified, a default value of "EXACT" is used.