Class MethodMatch (0.5.10)

MethodMatch(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

NameDescription
type_ google.cloud.network_services_v1.types.GrpcRoute.MethodMatch.Type
Optional. Specifies how to match against the name. If not specified, a default value of "EXACT" is used.
grpc_service str
Required. Name of the service to match against. If unspecified, will match all services.
grpc_method str
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. This field is a member of oneof_ _case_sensitive.

Classes

Type

Type(value)

The type of the match.

Values: TYPE_UNSPECIFIED (0): Unspecified. EXACT (1): Will only match the exact name provided. REGULAR_EXPRESSION (2): Will interpret grpc_method and grpc_service as regexes. RE2 syntax is supported.