Class RestoreInfo (6.52.1)

public class RestoreInfo

Represents the restore information of a Cloud Spanner database.

Inheritance

java.lang.Object > RestoreInfo

Methods

getBackup()

public BackupId getBackup()

The backup source of the restored database. The backup may no longer exist.

Returns
TypeDescription
BackupId

getBackupCreateTime()

public Timestamp getBackupCreateTime()

The create time of the backup for the restore.

Returns
TypeDescription
com.google.cloud.Timestamp

getProto()

public RestoreInfo getProto()

Returns the raw proto instance that was used to construct this RestoreInfo.

Returns
TypeDescription
RestoreInfo

getSourceDatabase()

public DatabaseId getSourceDatabase()

The source database that was used to create the backup. The database may no longer exist.

Returns
TypeDescription
DatabaseId

getSourceType()

public RestoreInfo.RestoreSourceType getSourceType()

The source type of the restore.

Returns
TypeDescription
RestoreInfo.RestoreSourceType