class Google::Apis::SpannerV1::BackupInfo
Information about a backup.
Attributes
backup[RW]
Name of the backup. Corresponds to the JSON property `backup` @return [String]
create_time[RW]
The time the CreateBackup request was received. Corresponds to the JSON property `createTime` @return [String]
source_database[RW]
Name of the database the backup was created from. Corresponds to the JSON property `sourceDatabase` @return [String]
version_time[RW]
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
`. Corresponds to the JSON property `versionTime` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/spanner_v1/classes.rb, line 140 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/spanner_v1/classes.rb, line 145 def update!(**args) @backup = args[:backup] if args.key?(:backup) @create_time = args[:create_time] if args.key?(:create_time) @source_database = args[:source_database] if args.key?(:source_database) @version_time = args[:version_time] if args.key?(:version_time) end