Reference documentation and code samples for the Google Cloud Network Services V1 Client class MethodMatch.
Specifies a match against a method.
Generated from protobuf message google.cloud.networkservices.v1.GrpcRoute.MethodMatch
Namespace
Google \ Cloud \ NetworkServices \ V1 \ GrpcRouteMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ type
int
Optional. Specifies how to match against the name. If not specified, a default value of "EXACT" is used.
↳ grpc_service
string
Required. Name of the service to match against. If unspecified, will match all services.
↳ grpc_method
string
Required. Name of the method to match against. If unspecified, will match all methods.
↳ case_sensitive
bool
Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be used with a type of REGULAR_EXPRESSION.
getType
Optional. Specifies how to match against the name. If not specified, a default value of "EXACT" is used.
int
setType
Optional. Specifies how to match against the name. If not specified, a default value of "EXACT" is used.
var
int
$this
getGrpcService
Required. Name of the service to match against. If unspecified, will match all services.
string
setGrpcService
Required. Name of the service to match against. If unspecified, will match all services.
var
string
$this
getGrpcMethod
Required. Name of the method to match against. If unspecified, will match all methods.
string
setGrpcMethod
Required. Name of the method to match against. If unspecified, will match all methods.
var
string
$this
getCaseSensitive
Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be used with a type of REGULAR_EXPRESSION.
bool
hasCaseSensitive
clearCaseSensitive
setCaseSensitive
Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be used with a type of REGULAR_EXPRESSION.
var
bool
$this