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

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.

#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)