Class: Google::Apis::NetappV1::OntapVolumeTarget
- Inherits:
-
Object
- Object
- Google::Apis::NetappV1::OntapVolumeTarget
- 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
Represents the ONTAP volume target of the restore operation.
Instance Attribute Summary collapse
-
#restore_destination_path ⇒ String
Optional.
-
#volume_uuid ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OntapVolumeTarget
constructor
A new instance of OntapVolumeTarget.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OntapVolumeTarget
Returns a new instance of OntapVolumeTarget.
2181 2182 2183 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2181 def initialize(**args) update!(**args) end |
Instance Attribute Details
#restore_destination_path ⇒ String
Optional. Absolute directory path in the destination volume.
Corresponds to the JSON property restoreDestinationPath
2174 2175 2176 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2174 def restore_destination_path @restore_destination_path end |
#volume_uuid ⇒ String
Required. The UUID of the ONTAP volume to restore to.
Corresponds to the JSON property volumeUuid
2179 2180 2181 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2179 def volume_uuid @volume_uuid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2186 2187 2188 2189 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2186 def update!(**args) @restore_destination_path = args[:restore_destination_path] if args.key?(:restore_destination_path) @volume_uuid = args[:volume_uuid] if args.key?(:volume_uuid) end |