Class: Google::Apis::WorkloadmanagerV1::BackupProperties

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BackupProperties

Returns a new instance of BackupProperties.



628
629
630
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 628

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

Instance Attribute Details

#latest_backup_statusString

Output only. The state of the latest backup. Corresponds to the JSON property latestBackupStatus

Returns:

  • (String)


621
622
623
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 621

def latest_backup_status
  @latest_backup_status
end

#latest_backup_timeString

The time when the latest backup was performed. Corresponds to the JSON property latestBackupTime

Returns:

  • (String)


626
627
628
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 626

def latest_backup_time
  @latest_backup_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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