hosts = $hosts; } /** * @return string[] */ public function getHosts() { return $this->hosts; } /** * @param HttpHeaderMatch */ public function setHttpHeaderMatch(HttpHeaderMatch $httpHeaderMatch) { $this->httpHeaderMatch = $httpHeaderMatch; } /** * @return HttpHeaderMatch */ public function getHttpHeaderMatch() { return $this->httpHeaderMatch; } /** * @param string[] */ public function setMethods($methods) { $this->methods = $methods; } /** * @return string[] */ public function getMethods() { return $this->methods; } /** * @param string[] */ public function setPorts($ports) { $this->ports = $ports; } /** * @return string[] */ public function getPorts() { return $this->ports; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Destination::class, 'Google_Service_NetworkSecurity_Destination');