# Cloud Spanner API - Class Google::Cloud::Spanner::Database::RestoreInfo (v2.36.0)

2.36.0 (latest) 2.35.0 2.34.0 2.33.0 2.32.0 2.31.0 2.30.0 2.29.0 2.28.0 2.27.0 2.26.0 2.25.0 2.24.0 2.23.0 2.22.0 2.21.0 2.20.0 2.19.1 2.18.1 2.17.0 2.16.1 2.15.0 2.14.0 2.13.0 2.12.1 2.11.0 Reference documentation and code samples for the Cloud Spanner API class Google::Cloud::Spanner::Database::RestoreInfo.

Admin::Database::V1::RestoreInfo instead.

## Inherits

- Object

## Methods

### #backup_info

    def backup_info() -> Google::Cloud::Spanner::Database::BackupInfo, nil

Information about the backup used to restore the database.
The backup may no longer exist.
**Returns**

- ([Google::Cloud::Spanner::Database::BackupInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner/latest/Google-Cloud-Spanner-Database-BackupInfo), nil)

### #source_backup?

    def source_backup?() -> Boolean

Database restored from backup.
**Returns**

- (Boolean)

### #source_type

    def source_type() -> Symbol

The database restored from source type `:BACKUP`.
**Returns**

- (Symbol)