Class: Google::Apis::NetappV1::OntapVolumeTarget

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

Instance Method Summary collapse

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_pathString

Optional. Absolute directory path in the destination volume. Corresponds to the JSON property restoreDestinationPath

Returns:

  • (String)


2174
2175
2176
# File 'lib/google/apis/netapp_v1/classes.rb', line 2174

def restore_destination_path
  @restore_destination_path
end

#volume_uuidString

Required. The UUID of the ONTAP volume to restore to. Corresponds to the JSON property volumeUuid

Returns:

  • (String)


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