annotations = $annotations; } /** * @return string[] */ public function getAnnotations() { return $this->annotations; } /** * @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(EmbeddedTask::class, 'Google_Service_CloudBuild_EmbeddedTask');