Class: Google::Apis::VmmigrationV1::ComputeEngineDisksTargetDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/vmmigration_v1/classes.rb,
lib/google/apis/vmmigration_v1/representations.rb,
lib/google/apis/vmmigration_v1/representations.rb

Overview

ComputeEngineDisksTargetDetails is a collection of created Persistent Disks details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ComputeEngineDisksTargetDetails

Returns a new instance of ComputeEngineDisksTargetDetails.



1049
1050
1051
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1049

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

Instance Attribute Details

#disksArray<Google::Apis::VmmigrationV1::PersistentDisk>

The details of each created Persistent Disk. Corresponds to the JSON property disks



1037
1038
1039
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1037

def disks
  @disks
end

#disks_target_detailsGoogle::Apis::VmmigrationV1::DisksMigrationDisksTargetDetails

Details for a disks-only migration. Corresponds to the JSON property disksTargetDetails



1042
1043
1044
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1042

def disks_target_details
  @disks_target_details
end

#vm_target_detailsGoogle::Apis::VmmigrationV1::DisksMigrationVmTargetDetails

Details for the VM created VM as part of disks migration. Corresponds to the JSON property vmTargetDetails



1047
1048
1049
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1047

def vm_target_details
  @vm_target_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1054
1055
1056
1057
1058
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1054

def update!(**args)
  @disks = args[:disks] if args.key?(:disks)
  @disks_target_details = args[:disks_target_details] if args.key?(:disks_target_details)
  @vm_target_details = args[:vm_target_details] if args.key?(:vm_target_details)
end