Class: Google::Apis::VmmigrationV1::VmwareSourceVmDetails

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

Represent the source Vmware VM details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareSourceVmDetails

Returns a new instance of VmwareSourceVmDetails.



4638
4639
4640
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4638

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

Instance Attribute Details

#committed_storage_bytesFixnum

Output only. The total size of the disks being migrated in bytes. Corresponds to the JSON property committedStorageBytes

Returns:

  • (Fixnum)


4620
4621
4622
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4620

def committed_storage_bytes
  @committed_storage_bytes
end

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

Output only. The disks attached to the source VM. Corresponds to the JSON property disks



4625
4626
4627
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4625

def disks
  @disks
end

#firmwareString

Output only. The firmware type of the source VM. Corresponds to the JSON property firmware

Returns:

  • (String)


4630
4631
4632
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4630

def firmware
  @firmware
end

#vm_capabilities_infoGoogle::Apis::VmmigrationV1::VmCapabilities

Migrating VM source information about the VM capabilities needed for some Compute Engine features. Corresponds to the JSON property vmCapabilitiesInfo



4636
4637
4638
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4636

def vm_capabilities_info
  @vm_capabilities_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4643
4644
4645
4646
4647
4648
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4643

def update!(**args)
  @committed_storage_bytes = args[:committed_storage_bytes] if args.key?(:committed_storage_bytes)
  @disks = args[:disks] if args.key?(:disks)
  @firmware = args[:firmware] if args.key?(:firmware)
  @vm_capabilities_info = args[:vm_capabilities_info] if args.key?(:vm_capabilities_info)
end