rebootTime = $rebootTime; } /** * @return string */ public function getRebootTime() { return $this->rebootTime; } /** * The update state of an OS update. * * Accepted values: updateStateUnspecified, updateStateNotStarted, * updateStateDownloadInProgress, updateStateNeedReboot * * @param self::STATE_* $state */ public function setState($state) { $this->state = $state; } /** * @return self::STATE_* */ public function getState() { return $this->state; } /** * New required platform version from the pending updated kiosk app. * * @param string $targetKioskAppVersion */ public function setTargetKioskAppVersion($targetKioskAppVersion) { $this->targetKioskAppVersion = $targetKioskAppVersion; } /** * @return string */ public function getTargetKioskAppVersion() { return $this->targetKioskAppVersion; } /** * New platform version of the OS image being downloaded and applied. It is * only set when update status is UPDATE_STATUS_DOWNLOAD_IN_PROGRESS or * UPDATE_STATUS_NEED_REBOOT. Note this could be a dummy "0.0.0.0" for * UPDATE_STATUS_NEED_REBOOT for some edge cases, e.g. update engine is * restarted without a reboot. * * @param string $targetOsVersion */ public function setTargetOsVersion($targetOsVersion) { $this->targetOsVersion = $targetOsVersion; } /** * @return string */ public function getTargetOsVersion() { return $this->targetOsVersion; } /** * Date and time of the last update check. * * @param string $updateCheckTime */ public function setUpdateCheckTime($updateCheckTime) { $this->updateCheckTime = $updateCheckTime; } /** * @return string */ public function getUpdateCheckTime() { return $this->updateCheckTime; } /** * Date and time of the last successful OS update. * * @param string $updateTime */ public function setUpdateTime($updateTime) { $this->updateTime = $updateTime; } /** * @return string */ public function getUpdateTime() { return $this->updateTime; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(OsUpdateStatus::class, 'Google_Service_Directory_OsUpdateStatus');