TlsRouteRouteDestinationResponse

data class TlsRouteRouteDestinationResponse(val serviceName: String, val weight: Int)

Describe the destination for traffic to be routed to.

Constructors

Link copied to clipboard
fun TlsRouteRouteDestinationResponse(serviceName: String, weight: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The URL of a BackendService to route traffic to.

Link copied to clipboard
val weight: Int

Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.