Class: Google::Apis::BackupdrV1::RestoreBackupResponse
- Inherits:
-
Object
- Object
- Google::Apis::BackupdrV1::RestoreBackupResponse
- 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
-
#target_resource ⇒ Google::Apis::BackupdrV1::TargetResource
Details of the target resource created/modified as part of restore.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RestoreBackupResponse
constructor
A new instance of RestoreBackupResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RestoreBackupResponse
Returns a new instance of RestoreBackupResponse.
3379 3380 3381 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3379 def initialize(**args) update!(**args) end |
Instance Attribute Details
#target_resource ⇒ Google::Apis::BackupdrV1::TargetResource
Details of the target resource created/modified as part of restore.
Corresponds to the JSON property targetResource
3377 3378 3379 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3377 def target_resource @target_resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3384 3385 3386 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3384 def update!(**args) @target_resource = args[:target_resource] if args.key?(:target_resource) end |