Reference documentation and code samples for the Google Cloud Network Services V1 Client class RouteDestination.
Describe the destination for traffic to be routed to.
Generated from protobuf message google.cloud.networkservices.v1.TlsRoute.RouteDestination
Namespace
Google \ Cloud \ NetworkServices \ V1 \ TlsRouteMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ service_name
string
Required. The URL of a BackendService to route traffic to.
↳ 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.
getServiceName
Required. The URL of a BackendService to route traffic to.
string
setServiceName
Required. The URL of a BackendService to route traffic to.
var
string
$this
getWeight
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.
int
setWeight
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.
var
int
$this