Class RestoreInfo

java.lang.Object
com.google.cloud.spanner.RestoreInfo

public class RestoreInfo extends Object
Represents the restore information of a Cloud Spanner database.
  • Method Details

    • getBackup

      public BackupId getBackup()
      The backup source of the restored database. The backup may no longer exist.
    • getSourceType

      public RestoreInfo.RestoreSourceType getSourceType()
      The source type of the restore.
    • getBackupCreateTime

      public com.google.cloud.Timestamp getBackupCreateTime()
      The create time of the backup for the restore.
    • getSourceDatabase

      public DatabaseId getSourceDatabase()
      The source database that was used to create the backup. The database may no longer exist.
    • getProto

      @Nullable public RestoreInfo getProto()
      Returns the raw proto instance that was used to construct this RestoreInfo.