Class: Google::Apis::MigrationcenterV1alpha1::VmwarePlatformDetails

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

Overview

VMware specific details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwarePlatformDetails

Returns a new instance of VmwarePlatformDetails.



7563
7564
7565
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7563

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

Instance Attribute Details

#esx_versionString

ESX version. Corresponds to the JSON property esxVersion

Returns:

  • (String)


7549
7550
7551
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7549

def esx_version
  @esx_version
end

#osidString

VMware os enum - https://vdc-repo.vmware.com/vmwb-repository/dcr-public/ da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/ vim.vm.GuestOsDescriptor.GuestOsIdentifier.html. Corresponds to the JSON property osid

Returns:

  • (String)


7556
7557
7558
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7556

def osid
  @osid
end

#vcenter_versionString

vCenter version. Corresponds to the JSON property vcenterVersion

Returns:

  • (String)


7561
7562
7563
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7561

def vcenter_version
  @vcenter_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7568
7569
7570
7571
7572
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7568

def update!(**args)
  @esx_version = args[:esx_version] if args.key?(:esx_version)
  @osid = args[:osid] if args.key?(:osid)
  @vcenter_version = args[:vcenter_version] if args.key?(:vcenter_version)
end