RouteSpecGrpcRouteMatch

data class RouteSpecGrpcRouteMatch(val metadatas: List<RouteSpecGrpcRouteMatchMetadata>? = null, val methodName: String? = null, val port: Int? = null, val prefix: String? = null, val serviceName: String? = null)

Constructors

Link copied to clipboard
constructor(metadatas: List<RouteSpecGrpcRouteMatchMetadata>? = null, methodName: String? = null, port: Int? = null, prefix: String? = null, serviceName: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Data to match from the gRPC request.

Link copied to clipboard
val methodName: String? = null

Method name to match from the request. If you specify a name, you must also specify a service_name.

Link copied to clipboard
val port: Int? = null

The port number to match from the request.

Link copied to clipboard
val prefix: String? = null

Value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

Link copied to clipboard
val serviceName: String? = null

Fully qualified domain name for the service to match from the request.