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.



665
666
667
# File 'lib/google/apis/backupdr_v1/classes.rb', line 665

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)


647
648
649
# File 'lib/google/apis/backupdr_v1/classes.rb', line 647

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)


653
654
655
# File 'lib/google/apis/backupdr_v1/classes.rb', line 653

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)


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

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)


663
664
665
# File 'lib/google/apis/backupdr_v1/classes.rb', line 663

def recovery_range_start_time
  @recovery_range_start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



670
671
672
673
674
675
# File 'lib/google/apis/backupdr_v1/classes.rb', line 670

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