metricCosts = $metricCosts; } /** * @return string[] */ public function getMetricCosts() { return $this->metricCosts; } /** * Selects the methods to which this rule applies. Refer to selector for * syntax details. * * @param string $selector */ public function setSelector($selector) { $this->selector = $selector; } /** * @return string */ public function getSelector() { return $this->selector; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(MetricRule::class, 'Google_Service_ServiceNetworking_MetricRule');