Class: Google::Apis::BackupdrV1::BackupApplianceBackupProperties

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

Overview

BackupApplianceBackupProperties represents BackupDR backup appliance's properties.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BackupApplianceBackupProperties

Returns a new instance of BackupApplianceBackupProperties.



651
652
653
# File 'lib/google/apis/backupdr_v1/classes.rb', line 651

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

Instance Attribute Details

#finalize_timeString

Output only. The time when this backup object was finalized (if none, backup is not finalized). Corresponds to the JSON property finalizeTime

Returns:

  • (String)


633
634
635
# File 'lib/google/apis/backupdr_v1/classes.rb', line 633

def finalize_time
  @finalize_time
end

#generation_idFixnum

Output only. The numeric generation ID of the backup (monotonically increasing) . Corresponds to the JSON property generationId

Returns:

  • (Fixnum)


639
640
641
# File 'lib/google/apis/backupdr_v1/classes.rb', line 639

def generation_id
  @generation_id
end

#recovery_range_end_timeString

Optional. The latest timestamp of data available in this Backup. Corresponds to the JSON property recoveryRangeEndTime

Returns:

  • (String)


644
645
646
# File 'lib/google/apis/backupdr_v1/classes.rb', line 644

def recovery_range_end_time
  @recovery_range_end_time
end

#recovery_range_start_timeString

Optional. The earliest timestamp of data available in this Backup. Corresponds to the JSON property recoveryRangeStartTime

Returns:

  • (String)


649
650
651
# File 'lib/google/apis/backupdr_v1/classes.rb', line 649

def recovery_range_start_time
  @recovery_range_start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



656
657
658
659
660
661
# File 'lib/google/apis/backupdr_v1/classes.rb', line 656

def update!(**args)
  @finalize_time = args[:finalize_time] if args.key?(:finalize_time)
  @generation_id = args[:generation_id] if args.key?(:generation_id)
  @recovery_range_end_time = args[:recovery_range_end_time] if args.key?(:recovery_range_end_time)
  @recovery_range_start_time = args[:recovery_range_start_time] if args.key?(:recovery_range_start_time)
end