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.
695 696 697 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 695 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
677 678 679 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 677 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
683 684 685 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 683 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
688 689 690 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 688 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
693 694 695 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 693 def recovery_range_start_time @recovery_range_start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
700 701 702 703 704 705 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 700 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 |