done = $done; } /** * @return bool */ public function getDone() { return $this->done; } /** * @param Status */ public function setError(Status $error) { $this->error = $error; } /** * @return Status */ public function getError() { return $this->error; } /** * @param array[] */ public function setMetadata($metadata) { $this->metadata = $metadata; } /** * @return array[] */ public function getMetadata() { return $this->metadata; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param array[] */ public function setResponse($response) { $this->response = $response; } /** * @return array[] */ public function getResponse() { return $this->response; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Operation::class, 'Google_Service_CloudSourceRepositories_Operation');