nodePool = $nodePool; } /** * @return string */ public function getNodePool() { return $this->nodePool; } /** * @param GkeNodePoolConfig */ public function setNodePoolConfig(GkeNodePoolConfig $nodePoolConfig) { $this->nodePoolConfig = $nodePoolConfig; } /** * @return GkeNodePoolConfig */ public function getNodePoolConfig() { return $this->nodePoolConfig; } /** * @param string[] */ public function setRoles($roles) { $this->roles = $roles; } /** * @return string[] */ public function getRoles() { return $this->roles; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GkeNodePoolTarget::class, 'Google_Service_Dataproc_GkeNodePoolTarget');