goal = $goal; } public function getGoal() { return $this->goal; } public function setMetric($metric) { $this->metric = $metric; } 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');