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