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.



1067
1068
1069
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1067

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



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

def disks
  @disks
end

#disks_target_detailsGoogle::Apis::VmmigrationV1::DisksMigrationDisksTargetDetails

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



1060
1061
1062
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1060

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



1065
1066
1067
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1065

def vm_target_details
  @vm_target_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1072
1073
1074
1075
1076
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 1072

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