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
- (::Google::Protobuf::Timestamp) — The time the CreateBackup request was received.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time the CreateBackup request was received.
Returns
- (::Google::Protobuf::Timestamp) — The time the CreateBackup request was received.
#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 byversion_time
. If the CreateBackup request did not specifyversion_time
, theversion_time
of the backup is equivalent to thecreate_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 byversion_time
. If the CreateBackup request did not specifyversion_time
, theversion_time
of the backup is equivalent to thecreate_time
.
Returns
-
(::Google::Protobuf::Timestamp) — The backup contains an externally consistent copy of
source_database
at the timestamp specified byversion_time
. If the CreateBackup request did not specifyversion_time
, theversion_time
of the backup is equivalent to thecreate_time
.