maxNodes = $maxNodes; } /** * @return int */ public function getMaxNodes() { return $this->maxNodes; } /** * The minimum number of nodes that the group should have. * * @param int $minNodes */ public function setMinNodes($minNodes) { $this->minNodes = $minNodes; } /** * @return int */ public function getMinNodes() { return $this->minNodes; } /** * The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more * information, see Autoscaler modes. * * Accepted values: MODE_UNSPECIFIED, OFF, ON, ONLY_SCALE_OUT * * @param self::MODE_* $mode */ public function setMode($mode) { $this->mode = $mode; } /** * @return self::MODE_* */ public function getMode() { return $this->mode; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(NodeGroupAutoscalingPolicy::class, 'Google_Service_Compute_NodeGroupAutoscalingPolicy');