Class: Google::Apis::BackupdrV1::BackupApplianceBackupProperties
- Inherits:
-
Object
- Object
- Google::Apis::BackupdrV1::BackupApplianceBackupProperties
- 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
-
#finalize_time ⇒ String
Output only.
-
#generation_id ⇒ Fixnum
Output only.
-
#recovery_range_end_time ⇒ String
Optional.
-
#recovery_range_start_time ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackupApplianceBackupProperties
constructor
A new instance of BackupApplianceBackupProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_time ⇒ String
Output only. The time when this backup object was finalized (if none, backup
is not finalized).
Corresponds to the JSON property finalizeTime
633 634 635 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 633 def finalize_time @finalize_time end |
#generation_id ⇒ Fixnum
Output only. The numeric generation ID of the backup (monotonically increasing)
.
Corresponds to the JSON property generationId
639 640 641 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 639 def generation_id @generation_id end |
#recovery_range_end_time ⇒ String
Optional. The latest timestamp of data available in this Backup.
Corresponds to the JSON property recoveryRangeEndTime
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_time ⇒ String
Optional. The earliest timestamp of data available in this Backup.
Corresponds to the JSON property recoveryRangeStartTime
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 |