Class: Google::Apis::VmmigrationV1alpha1::VmwareSourceVmDetails

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

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.



3456
3457
3458
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3456

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

Instance Attribute Details

#committed_storage_bytesFixnum

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

Returns:

  • (Fixnum)


3444
3445
3446
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3444

def committed_storage_bytes
  @committed_storage_bytes
end

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

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



3449
3450
3451
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3449

def disks
  @disks
end

#firmwareString

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

Returns:

  • (String)


3454
3455
3456
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3454

def firmware
  @firmware
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3461
3462
3463
3464
3465
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3461

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)
end