autoscaling = $autoscaling; } /** * @return GkeNodePoolAutoscalingConfig */ public function getAutoscaling() { return $this->autoscaling; } /** * Optional. The node pool configuration. * * @param GkeNodeConfig $config */ public function setConfig(GkeNodeConfig $config) { $this->config = $config; } /** * @return GkeNodeConfig */ public function getConfig() { return $this->config; } /** * Optional. The list of Compute Engine zones * (https://cloud.google.com/compute/docs/zones#available) where node pool * nodes associated with a Dataproc on GKE virtual cluster will be * located.Note: All node pools associated with a virtual cluster must be * located in the same region as the virtual cluster, and they must be located * in the same zone within that region.If a location is not specified during * node pool creation, Dataproc on GKE will choose the zone. * * @param string[] $locations */ public function setLocations($locations) { $this->locations = $locations; } /** * @return string[] */ public function getLocations() { return $this->locations; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GkeNodePoolConfig::class, 'Google_Service_Dataproc_GkeNodePoolConfig');