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.



2187
2188
2189
# File 'lib/google/apis/netapp_v1/classes.rb', line 2187

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)


2180
2181
2182
# File 'lib/google/apis/netapp_v1/classes.rb', line 2180

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)


2185
2186
2187
# File 'lib/google/apis/netapp_v1/classes.rb', line 2185

def volume_uuid
  @volume_uuid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2192
2193
2194
2195
# File 'lib/google/apis/netapp_v1/classes.rb', line 2192

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