public class RestoreInfo
Represents the restore information of a Cloud Spanner database.
Methods
getBackup()
public BackupId getBackup()
The backup source of the restored database. The backup may no longer exist.
Type | Description |
BackupId |
getBackupCreateTime()
public Timestamp getBackupCreateTime()
The create time of the backup for the restore.
Type | Description |
com.google.cloud.Timestamp |
getProto()
public RestoreInfo getProto()
Returns the raw proto instance that was used to construct this RestoreInfo.
Type | Description |
RestoreInfo |
getSourceDatabase()
public DatabaseId getSourceDatabase()
The source database that was used to create the backup. The database may no longer exist.
Type | Description |
DatabaseId |
getSourceType()
public RestoreInfo.RestoreSourceType getSourceType()
The source type of the restore.
Type | Description |
RestoreInfo.RestoreSourceType |