metricName = $metricName; } /** * @return string */ public function getMetricName() { return $this->metricName; } /** * @param string[] */ public function setRestrictedMetricTypes($restrictedMetricTypes) { $this->restrictedMetricTypes = $restrictedMetricTypes; } /** * @return string[] */ public function getRestrictedMetricTypes() { return $this->restrictedMetricTypes; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ActiveMetricRestriction::class, 'Google_Service_AnalyticsData_ActiveMetricRestriction');