public sealed class GrpcRoute.Types.MethodMatch : IMessage<GrpcRoute.Types.MethodMatch>, IEquatable<GrpcRoute.Types.MethodMatch>, IDeepCloneable<GrpcRoute.Types.MethodMatch>, IBufferMessage, IMessageReference documentation and code samples for the Network Services v1 API class GrpcRoute.Types.MethodMatch.
Specifies a match against a method.
Implements
IMessageGrpcRouteTypesMethodMatch, IEquatableGrpcRouteTypesMethodMatch, IDeepCloneableGrpcRouteTypesMethodMatch, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkServices.V1Assembly
Google.Cloud.NetworkServices.V1.dll
Constructors
MethodMatch()
public MethodMatch()MethodMatch(MethodMatch)
public MethodMatch(GrpcRoute.Types.MethodMatch other)| Parameter | |
|---|---|
| Name | Description |
other |
GrpcRouteTypesMethodMatch |
Properties
CaseSensitive
public bool CaseSensitive { get; set; }Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be used with a type of REGULAR_EXPRESSION.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
GrpcMethod
public string GrpcMethod { get; set; }Required. Name of the method to match against. If unspecified, will match all methods.
| Property Value | |
|---|---|
| Type | Description |
string |
|
GrpcService
public string GrpcService { get; set; }Required. Name of the service to match against. If unspecified, will match all services.
| Property Value | |
|---|---|
| Type | Description |
string |
|
HasCaseSensitive
public bool HasCaseSensitive { get; }Gets whether the "case_sensitive" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Type
public GrpcRoute.Types.MethodMatch.Types.Type Type { get; set; }Optional. Specifies how to match against the name. If not specified, a default value of "EXACT" is used.
| Property Value | |
|---|---|
| Type | Description |
GrpcRouteTypesMethodMatchTypesType |
|