labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param InstanceGroupConfig */ public function setNodeGroupConfig(InstanceGroupConfig $nodeGroupConfig) { $this->nodeGroupConfig = $nodeGroupConfig; } /** * @return InstanceGroupConfig */ public function getNodeGroupConfig() { return $this->nodeGroupConfig; } /** * @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(NodeGroup::class, 'Google_Service_Dataproc_NodeGroup');