# Cloud Spanner API - Class Google::Cloud::Spanner::Database::BackupInfo (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::BackupInfo.

Admin::Database::V1::BackupInfo instead.

## Inherits

- Object

## Methods

### #backup_id

    def backup_id() -> String

The unique identifier for the backup.
**Returns**

- (String)

### #create_time

    def create_time() -> Time

The timestamp indicating the creation of the backup.
**Returns**

- (Time)

### #instance_id

    def instance_id() -> String

The unique identifier for the instance.
**Returns**

- (String)

### #path

    def path() -> String

The full path for the backup. Values are of the form
`projects/<project>/instances/<instance>/backups/<backup_id>`.
**Returns**

- (String)

### #project_id

    def project_id() -> String

The unique identifier for the project.
**Returns**

- (String)

### #source_database_id

    def source_database_id() -> String

Name of the database the backup was created from.
**Returns**

- (String)

### #source_database_instance_id

    def source_database_instance_id() -> String

The unique identifier for the source database instance.
**Returns**

- (String)

### #source_database_path

    def source_database_path() -> String

The full path for the source database the backup was created from.
Values are of the form
`projects/<project>/instances/<instance>/database/<database_id>`.
**Returns**

- (String)

### #source_database_project_id

    def source_database_project_id() -> String

The unique identifier for the source database project.
**Returns**

- (String)

### #version_time

    def version_time() -> Time

The backup contains an externally consistent copy of
`source_database` at the timestamp specified by
the `version_time` received. If no `version_time` was
given during the creation of the backup, the `version_time`
will be the same as the `create_time`.
**Returns**

- (Time)