name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param string */ public function setParallelism($parallelism) { $this->parallelism = $parallelism; } /** * @return string */ public function getParallelism() { return $this->parallelism; } /** * @param bool */ public function setPermissiveSsh($permissiveSsh) { $this->permissiveSsh = $permissiveSsh; } /** * @return bool */ public function getPermissiveSsh() { return $this->permissiveSsh; } /** * @param bool */ public function setRequireHostsFile($requireHostsFile) { $this->requireHostsFile = $requireHostsFile; } /** * @return bool */ public function getRequireHostsFile() { return $this->requireHostsFile; } /** * @param bool */ public function setRunAsNonRoot($runAsNonRoot) { $this->runAsNonRoot = $runAsNonRoot; } /** * @return bool */ public function getRunAsNonRoot() { return $this->runAsNonRoot; } /** * @param string */ public function setSchedulingPolicy($schedulingPolicy) { $this->schedulingPolicy = $schedulingPolicy; } /** * @return string */ public function getSchedulingPolicy() { return $this->schedulingPolicy; } /** * @param string */ public function setTaskCount($taskCount) { $this->taskCount = $taskCount; } /** * @return string */ public function getTaskCount() { return $this->taskCount; } /** * @param string */ public function setTaskCountPerNode($taskCountPerNode) { $this->taskCountPerNode = $taskCountPerNode; } /** * @return string */ public function getTaskCountPerNode() { return $this->taskCountPerNode; } /** * @param Environment[] */ public function setTaskEnvironments($taskEnvironments) { $this->taskEnvironments = $taskEnvironments; } /** * @return Environment[] */ public function getTaskEnvironments() { return $this->taskEnvironments; } /** * @param TaskSpec */ public function setTaskSpec(TaskSpec $taskSpec) { $this->taskSpec = $taskSpec; } /** * @return TaskSpec */ public function getTaskSpec() { return $this->taskSpec; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TaskGroup::class, 'Google_Service_Batch_TaskGroup');