maxNodes = $maxNodes; } /** * @return int */ public function getMaxNodes() { return $this->maxNodes; } /** * @param GoogleCloudMlV1MetricSpec[] */ public function setMetrics($metrics) { $this->metrics = $metrics; } /** * @return GoogleCloudMlV1MetricSpec[] */ public function getMetrics() { return $this->metrics; } /** * @param int */ public function setMinNodes($minNodes) { $this->minNodes = $minNodes; } /** * @return int */ public function getMinNodes() { return $this->minNodes; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudMlV1AutoScaling::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1AutoScaling');