template = $template; } /** * @return RevisionTemplate */ public function getTemplate() { return $this->template; } /** * @param TrafficTarget[] */ public function setTraffic($traffic) { $this->traffic = $traffic; } /** * @return TrafficTarget[] */ public function getTraffic() { return $this->traffic; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ServiceSpec::class, 'Google_Service_CloudRun_ServiceSpec');