Class: Google::Apis::NetappV1::RestoreVolumeRequest

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

Request message for RestoreVolume API.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RestoreVolumeRequest

Returns a new instance of RestoreVolumeRequest.



2598
2599
2600
# File 'lib/google/apis/netapp_v1/classes.rb', line 2598

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#backup_sourceGoogle::Apis::NetappV1::BackupSource

Represents the backup source of the restore operation. Corresponds to the JSON property backupSource



2591
2592
2593
# File 'lib/google/apis/netapp_v1/classes.rb', line 2591

def backup_source
  @backup_source
end

#ontap_volume_targetGoogle::Apis::NetappV1::OntapVolumeTarget

Represents the ONTAP volume target of the restore operation. Corresponds to the JSON property ontapVolumeTarget



2596
2597
2598
# File 'lib/google/apis/netapp_v1/classes.rb', line 2596

def ontap_volume_target
  @ontap_volume_target
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2603
2604
2605
2606
# File 'lib/google/apis/netapp_v1/classes.rb', line 2603

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