Class: Google::Apis::VmmigrationV1alpha1::ComputeEngineDisksTargetDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/vmmigration_v1alpha1/classes.rb,
lib/google/apis/vmmigration_v1alpha1/representations.rb,
lib/google/apis/vmmigration_v1alpha1/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.



1082
1083
1084
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1082

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

Instance Attribute Details

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

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



1070
1071
1072
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1070

def disks
  @disks
end

#disks_target_detailsGoogle::Apis::VmmigrationV1alpha1::DisksMigrationDisksTargetDetails

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



1075
1076
1077
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1075

def disks_target_details
  @disks_target_details
end

#vm_target_detailsGoogle::Apis::VmmigrationV1alpha1::DisksMigrationVmTargetDetails

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



1080
1081
1082
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1080

def vm_target_details
  @vm_target_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1087
1088
1089
1090
1091
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1087

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