Class: Google::Apis::WorkloadmanagerV1::BackupProperties
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::BackupProperties
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb
Overview
Backup properties.
Instance Attribute Summary collapse
-
#latest_backup_status ⇒ String
Output only.
-
#latest_backup_time ⇒ String
The time when the latest backup was performed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackupProperties
constructor
A new instance of BackupProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackupProperties
Returns a new instance of BackupProperties.
627 628 629 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 627 def initialize(**args) update!(**args) end |
Instance Attribute Details
#latest_backup_status ⇒ String
Output only. The state of the latest backup.
Corresponds to the JSON property latestBackupStatus
620 621 622 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 620 def latest_backup_status @latest_backup_status end |
#latest_backup_time ⇒ String
The time when the latest backup was performed.
Corresponds to the JSON property latestBackupTime
625 626 627 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 625 def latest_backup_time @latest_backup_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
632 633 634 635 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 632 def update!(**args) @latest_backup_status = args[:latest_backup_status] if args.key?(:latest_backup_status) @latest_backup_time = args[:latest_backup_time] if args.key?(:latest_backup_time) end |