[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Network Services V1 Client - Class MethodMatch (0.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.6.1 (latest)](/php/docs/reference/cloud-networkservices/latest/V1.GrpcRoute.MethodMatch)\n- [0.6.0](/php/docs/reference/cloud-networkservices/0.6.0/V1.GrpcRoute.MethodMatch)\n- [0.5.0](/php/docs/reference/cloud-networkservices/0.5.0/V1.GrpcRoute.MethodMatch)\n- [0.4.0](/php/docs/reference/cloud-networkservices/0.4.0/V1.GrpcRoute.MethodMatch)\n- [0.3.0](/php/docs/reference/cloud-networkservices/0.3.0/V1.GrpcRoute.MethodMatch)\n- [0.2.3](/php/docs/reference/cloud-networkservices/0.2.3/V1.GrpcRoute.MethodMatch)\n- [0.1.1](/php/docs/reference/cloud-networkservices/0.1.1/V1.GrpcRoute.MethodMatch) \nReference documentation and code samples for the Google Cloud Network Services V1 Client class MethodMatch.\n\nSpecifies a match against a method.\n\nGenerated from protobuf message `google.cloud.networkservices.v1.GrpcRoute.MethodMatch`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetworkServices \\\\ V1 \\\\ GrpcRoute\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getType\n\nOptional. Specifies how to match against the name. If not specified, a\ndefault value of \"EXACT\" is used.\n\n### setType\n\nOptional. Specifies how to match against the name. If not specified, a\ndefault value of \"EXACT\" is used.\n\n### getGrpcService\n\nRequired. Name of the service to match against. If unspecified, will\nmatch all services.\n\n### setGrpcService\n\nRequired. Name of the service to match against. If unspecified, will\nmatch all services.\n\n### getGrpcMethod\n\nRequired. Name of the method to match against. If unspecified, will match\nall methods.\n\n### setGrpcMethod\n\nRequired. Name of the method to match against. If unspecified, will match\nall methods.\n\n### getCaseSensitive\n\nOptional. Specifies that matches are case sensitive. The default value\nis true. case_sensitive must not be used with a type of\nREGULAR_EXPRESSION.\n\n### hasCaseSensitive\n\n### clearCaseSensitive\n\n### setCaseSensitive\n\nOptional. Specifies that matches are case sensitive. The default value\nis true. case_sensitive must not be used with a type of\nREGULAR_EXPRESSION."]]