description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * @param string[] */ public function setHosts($hosts) { $this->hosts = $hosts; } /** * @return string[] */ public function getHosts() { return $this->hosts; } /** * @param string */ public function setPathMatcher($pathMatcher) { $this->pathMatcher = $pathMatcher; } /** * @return string */ public function getPathMatcher() { return $this->pathMatcher; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(HostRule::class, 'Google_Service_Compute_HostRule');