description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * @param string[] */ public function setManagedSidecars($managedSidecars) { $this->managedSidecars = $managedSidecars; } /** * @return string[] */ public function getManagedSidecars() { return $this->managedSidecars; } /** * @param ParamSpec[] */ public function setParams($params) { $this->params = $params; } /** * @return ParamSpec[] */ public function getParams() { return $this->params; } /** * @param TaskResult[] */ public function setResults($results) { $this->results = $results; } /** * @return TaskResult[] */ public function getResults() { return $this->results; } /** * @param Sidecar[] */ public function setSidecars($sidecars) { $this->sidecars = $sidecars; } /** * @return Sidecar[] */ public function getSidecars() { return $this->sidecars; } /** * @param StepTemplate */ public function setStepTemplate(StepTemplate $stepTemplate) { $this->stepTemplate = $stepTemplate; } /** * @return StepTemplate */ public function getStepTemplate() { return $this->stepTemplate; } /** * @param Step[] */ public function setSteps($steps) { $this->steps = $steps; } /** * @return Step[] */ public function getSteps() { return $this->steps; } /** * @param VolumeSource[] */ public function setVolumes($volumes) { $this->volumes = $volumes; } /** * @return VolumeSource[] */ public function getVolumes() { return $this->volumes; } /** * @param WorkspaceDeclaration[] */ public function setWorkspaces($workspaces) { $this->workspaces = $workspaces; } /** * @return WorkspaceDeclaration[] */ public function getWorkspaces() { return $this->workspaces; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TaskSpec::class, 'Google_Service_CloudBuild_TaskSpec');