Class: Google::Apis::BackupdrV1::RestoreBackupResponse

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

Response message for restoring from a Backup.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RestoreBackupResponse

Returns a new instance of RestoreBackupResponse.



5309
5310
5311
# File 'lib/google/apis/backupdr_v1/classes.rb', line 5309

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

Instance Attribute Details

#target_resourceGoogle::Apis::BackupdrV1::TargetResource

Details of the target resource created/modified as part of restore. Corresponds to the JSON property targetResource



5307
5308
5309
# File 'lib/google/apis/backupdr_v1/classes.rb', line 5307

def target_resource
  @target_resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5314
5315
5316
# File 'lib/google/apis/backupdr_v1/classes.rb', line 5314

def update!(**args)
  @target_resource = args[:target_resource] if args.key?(:target_resource)
end