Package com.google.cloud.spanner
Class RestoreInfo
java.lang.Object
com.google.cloud.spanner.RestoreInfo
Represents the restore information of a Cloud Spanner database.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Source of the restore information. -
Method Summary
Modifier and TypeMethodDescriptionThe backup source of the restored database.com.google.cloud.Timestamp
The create time of the backup for the restore.getProto()
Returns the raw proto instance that was used to construct thisRestoreInfo
.The source database that was used to create the backup.The source type of the restore.
-
Method Details
-
getBackup
The backup source of the restored database. The backup may no longer exist. -
getSourceType
The source type of the restore. -
getBackupCreateTime
public com.google.cloud.Timestamp getBackupCreateTime()The create time of the backup for the restore. -
getSourceDatabase
The source database that was used to create the backup. The database may no longer exist. -
getProto
Returns the raw proto instance that was used to construct thisRestoreInfo
.
-