class Google::Apis::SpannerV1::RestoreInfo

Information about the database restore.

Attributes

backup_info[RW]

Information about a backup. Corresponds to the JSON property `backupInfo` @return [Google::Apis::SpannerV1::BackupInfo]

source_type[RW]

The type of the restore source. Corresponds to the JSON property `sourceType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/spanner_v1/classes.rb, line 3513
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 3518
def update!(**args)
  @backup_info = args[:backup_info] if args.key?(:backup_info)
  @source_type = args[:source_type] if args.key?(:source_type)
end