Cloud Spanner Database Admin V1 API - Class Google::Cloud::Spanner::Admin::Database::V1::BackupInfo (v1.0.0)

Reference documentation and code samples for the Cloud Spanner Database Admin V1 API class Google::Cloud::Spanner::Admin::Database::V1::BackupInfo.

Information about a backup.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#backup

def backup() -> ::String
Returns
  • (::String) — Name of the backup.

#backup=

def backup=(value) -> ::String
Parameter
  • value (::String) — Name of the backup.
Returns
  • (::String) — Name of the backup.

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#create_time=

def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#source_database

def source_database() -> ::String
Returns
  • (::String) — Name of the database the backup was created from.

#source_database=

def source_database=(value) -> ::String
Parameter
  • value (::String) — Name of the database the backup was created from.
Returns
  • (::String) — Name of the database the backup was created from.

#version_time

def version_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — The backup contains an externally consistent copy of source_database at the timestamp specified by version_time. If the CreateBackup request did not specify version_time, the version_time of the backup is equivalent to the create_time.

#version_time=

def version_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::Google::Protobuf::Timestamp) — The backup contains an externally consistent copy of source_database at the timestamp specified by version_time. If the CreateBackup request did not specify version_time, the version_time of the backup is equivalent to the create_time.
Returns
  • (::Google::Protobuf::Timestamp) — The backup contains an externally consistent copy of source_database at the timestamp specified by version_time. If the CreateBackup request did not specify version_time, the version_time of the backup is equivalent to the create_time.