name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param Param[] */ public function setParams($params) { $this->params = $params; } /** * @return Param[] */ public function getParams() { return $this->params; } /** * @param int */ public function setRetries($retries) { $this->retries = $retries; } /** * @return int */ public function getRetries() { return $this->retries; } /** * @param string[] */ public function setRunAfter($runAfter) { $this->runAfter = $runAfter; } /** * @return string[] */ public function getRunAfter() { return $this->runAfter; } /** * @param TaskRef */ public function setTaskRef(TaskRef $taskRef) { $this->taskRef = $taskRef; } /** * @return TaskRef */ public function getTaskRef() { return $this->taskRef; } /** * @param EmbeddedTask */ public function setTaskSpec(EmbeddedTask $taskSpec) { $this->taskSpec = $taskSpec; } /** * @return EmbeddedTask */ public function getTaskSpec() { return $this->taskSpec; } /** * @param string */ public function setTimeout($timeout) { $this->timeout = $timeout; } /** * @return string */ public function getTimeout() { return $this->timeout; } /** * @param WhenExpression[] */ public function setWhenExpressions($whenExpressions) { $this->whenExpressions = $whenExpressions; } /** * @return WhenExpression[] */ public function getWhenExpressions() { return $this->whenExpressions; } /** * @param WorkspacePipelineTaskBinding[] */ public function setWorkspaces($workspaces) { $this->workspaces = $workspaces; } /** * @return WorkspacePipelineTaskBinding[] */ public function getWorkspaces() { return $this->workspaces; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(PipelineTask::class, 'Google_Service_CloudBuild_PipelineTask');