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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/bigtableadmin_v2/classes.rb,
generated/google/apis/bigtableadmin_v2/representations.rb,
generated/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.



1612
1613
1614
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1612

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

Instance Attribute Details

#backup_infoGoogle::Apis::BigtableadminV2::BackupInfo

Information about a backup. Corresponds to the JSON property backupInfo



1605
1606
1607
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1605

def backup_info
  @backup_info
end

#source_typeString

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

Returns:

  • (String)


1610
1611
1612
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1610

def source_type
  @source_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1617
1618
1619
1620
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1617

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