finallyTasks = $finallyTasks; } /** * @return PipelineTask[] */ public function getFinallyTasks() { return $this->finallyTasks; } /** * @param string */ public function setGeneratedYaml($generatedYaml) { $this->generatedYaml = $generatedYaml; } /** * @return string */ public function getGeneratedYaml() { return $this->generatedYaml; } /** * @param ParamSpec[] */ public function setParams($params) { $this->params = $params; } /** * @return ParamSpec[] */ public function getParams() { return $this->params; } /** * @param PipelineResult[] */ public function setResults($results) { $this->results = $results; } /** * @return PipelineResult[] */ public function getResults() { return $this->results; } /** * @param PipelineTask[] */ public function setTasks($tasks) { $this->tasks = $tasks; } /** * @return PipelineTask[] */ public function getTasks() { return $this->tasks; } /** * @param PipelineWorkspaceDeclaration[] */ public function setWorkspaces($workspaces) { $this->workspaces = $workspaces; } /** * @return PipelineWorkspaceDeclaration[] */ public function getWorkspaces() { return $this->workspaces; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(PipelineSpec::class, 'Google_Service_CloudBuild_PipelineSpec');