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.



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

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)


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

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)


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