labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * @param string */ public function setType($type) { $this->type = $type; } /** * @return string */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Metric::class, 'Google_Service_Monitoring_Metric');