Class: Google::Apis::NetappV1::RestoreVolumeRequest
- Inherits:
-
Object
- Object
- Google::Apis::NetappV1::RestoreVolumeRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/netapp_v1/classes.rb,
lib/google/apis/netapp_v1/representations.rb,
lib/google/apis/netapp_v1/representations.rb
Overview
Request message for RestoreVolume API.
Instance Attribute Summary collapse
-
#backup_source ⇒ Google::Apis::NetappV1::BackupSource
Represents the backup source of the restore operation.
-
#ontap_volume_target ⇒ Google::Apis::NetappV1::OntapVolumeTarget
Represents the ONTAP volume target of the restore operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RestoreVolumeRequest
constructor
A new instance of RestoreVolumeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RestoreVolumeRequest
Returns a new instance of RestoreVolumeRequest.
2592 2593 2594 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2592 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup_source ⇒ Google::Apis::NetappV1::BackupSource
Represents the backup source of the restore operation.
Corresponds to the JSON property backupSource
2585 2586 2587 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2585 def backup_source @backup_source end |
#ontap_volume_target ⇒ Google::Apis::NetappV1::OntapVolumeTarget
Represents the ONTAP volume target of the restore operation.
Corresponds to the JSON property ontapVolumeTarget
2590 2591 2592 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2590 def ontap_volume_target @ontap_volume_target end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2597 2598 2599 2600 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2597 def update!(**args) @backup_source = args[:backup_source] if args.key?(:backup_source) @ontap_volume_target = args[:ontap_volume_target] if args.key?(:ontap_volume_target) end |