Class: Google::Apis::BigtableadminV2::BackupInfo

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 backup.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BackupInfo

Returns a new instance of BackupInfo.



434
435
436
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 434

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

Instance Attribute Details

#backupString

Output only. Name of the backup. Corresponds to the JSON property backup

Returns:

  • (String)


408
409
410
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 408

def backup
  @backup
end

#end_timeString

Output only. This time that the backup was finished. Row data in the backup will be no newer than this timestamp. Corresponds to the JSON property endTime

Returns:

  • (String)


414
415
416
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 414

def end_time
  @end_time
end

#source_backupString

Output only. Name of the backup from which this backup was copied. If a backup is not created by copying a backup, this field will be empty. Values are of the form: projects//instances//clusters//backups/ Corresponds to the JSON property sourceBackup

Returns:

  • (String)


421
422
423
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 421

def source_backup
  @source_backup
end

#source_tableString

Output only. Name of the table the backup was created from. Corresponds to the JSON property sourceTable

Returns:

  • (String)


426
427
428
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 426

def source_table
  @source_table
end

#start_timeString

Output only. The time that the backup was started. Row data in the backup will be no older than this timestamp. Corresponds to the JSON property startTime

Returns:

  • (String)


432
433
434
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 432

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



439
440
441
442
443
444
445
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 439

def update!(**args)
  @backup = args[:backup] if args.key?(:backup)
  @end_time = args[:end_time] if args.key?(:end_time)
  @source_backup = args[:source_backup] if args.key?(:source_backup)
  @source_table = args[:source_table] if args.key?(:source_table)
  @start_time = args[:start_time] if args.key?(:start_time)
end