goal = $goal; } /** * @return self::GOAL_* */ public function getGoal() { return $this->goal; } /** * Required. The name of the metric. * * @param string $metric */ public function setMetric($metric) { $this->metric = $metric; } /** * @return string */ public function getMetric() { return $this->metric; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudMlV1StudyConfigMetricSpec::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1StudyConfigMetricSpec');