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.
Returns | |
---|---|
Type | Description |
BackupId |
getBackupCreateTime()
public Timestamp getBackupCreateTime()
The create time of the backup for the restore.
Returns | |
---|---|
Type | Description |
com.google.cloud.Timestamp |
getProto()
public RestoreInfo getProto()
Returns the raw proto instance that was used to construct this RestoreInfo.
Returns | |
---|---|
Type | Description |
RestoreInfo |
getSourceDatabase()
public DatabaseId getSourceDatabase()
The source database that was used to create the backup. The database may no longer exist.
Returns | |
---|---|
Type | Description |
DatabaseId |
getSourceType()
public RestoreInfo.RestoreSourceType getSourceType()
The source type of the restore.
Returns | |
---|---|
Type | Description |
RestoreInfo.RestoreSourceType |