Class: Google::Apis::BigtableadminV2::RestoreInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/bigtableadmin_v2/classes.rb,
lib/google/apis/bigtableadmin_v2/representations.rb,
lib/google/apis/bigtableadmin_v2/representations.rb

Overview

Information about a table restore.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RestoreInfo

Returns a new instance of RestoreInfo.



4042
4043
4044
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 4042

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#backup_infoGoogle::Apis::BigtableadminV2::BackupInfo

Information about a backup. Corresponds to the JSON property backupInfo



4035
4036
4037
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 4035

def backup_info
  @backup_info
end

#source_typeString

The type of the restore source. Corresponds to the JSON property sourceType

Returns:

  • (String)


4040
4041
4042
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 4040

def source_type
  @source_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4047
4048
4049
4050
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 4047

def update!(**args)
  @backup_info = args[:backup_info] if args.key?(:backup_info)
  @source_type = args[:source_type] if args.key?(:source_type)
end