endTime = $endTime; } /** * @return string */ public function getEndTime() { return $this->endTime; } /** * Information about why the backup operation failed. This is only present if * the run has the FAILED status. OPTIONAL * * @param OperationError $error */ public function setError(OperationError $error) { $this->error = $error; } /** * @return OperationError */ public function getError() { return $this->error; } /** * The time the backup operation started. REQUIRED * * @param string $startTime */ public function setStartTime($startTime) { $this->startTime = $startTime; } /** * @return string */ public function getStartTime() { return $this->startTime; } /** * The status of this run. REQUIRED * * Accepted values: STATUS_UNSPECIFIED, SUCCESSFUL, FAILED * * @param self::STATUS_* $status */ public function setStatus($status) { $this->status = $status; } /** * @return self::STATUS_* */ public function getStatus() { return $this->status; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(BackupRun::class, 'Google_Service_CloudRedis_BackupRun');