serviceName = $serviceName; } /** * @return string */ public function getServiceName() { return $this->serviceName; } /** * Optional. Specifies the proportion of requests forwarded 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. * * @param int $weight */ public function setWeight($weight) { $this->weight = $weight; } /** * @return int */ public function getWeight() { return $this->weight; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TlsRouteRouteDestination::class, 'Google_Service_NetworkServices_TlsRouteRouteDestination');