alias = $alias; } /** * @return string */ public function getAlias() { return $this->alias; } /** * @param string */ public function setExpression($expression) { $this->expression = $expression; } /** * @return string */ public function getExpression() { return $this->expression; } /** * @param string */ public function setFormattingType($formattingType) { $this->formattingType = $formattingType; } /** * @return string */ public function getFormattingType() { return $this->formattingType; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Metric::class, 'Google_Service_AnalyticsReporting_Metric');