Class: Google::Apis::MigrationcenterV1alpha1::MachineArchitectureDetails

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

Details of the machine architecture.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MachineArchitectureDetails

Returns a new instance of MachineArchitectureDetails.



5287
5288
5289
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5287

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

Instance Attribute Details

#biosGoogle::Apis::MigrationcenterV1alpha1::BiosDetails

Details about the BIOS. Corresponds to the JSON property bios



5250
5251
5252
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5250

def bios
  @bios
end

#cpu_architectureString

CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc. Corresponds to the JSON property cpuArchitecture

Returns:

  • (String)


5255
5256
5257
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5255

def cpu_architecture
  @cpu_architecture
end

#cpu_manufacturerString

Optional. CPU manufacturer, e.g., "Intel", "AMD". Corresponds to the JSON property cpuManufacturer

Returns:

  • (String)


5260
5261
5262
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5260

def cpu_manufacturer
  @cpu_manufacturer
end

#cpu_nameString

CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc. Corresponds to the JSON property cpuName

Returns:

  • (String)


5265
5266
5267
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5265

def cpu_name
  @cpu_name
end

#cpu_socket_countFixnum

Number of processor sockets allocated to the machine. Corresponds to the JSON property cpuSocketCount

Returns:

  • (Fixnum)


5270
5271
5272
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5270

def cpu_socket_count
  @cpu_socket_count
end

#firmware_typeString

Firmware type. Corresponds to the JSON property firmwareType

Returns:

  • (String)


5275
5276
5277
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5275

def firmware_type
  @firmware_type
end

#hyperthreadingString

CPU hyper-threading support. Corresponds to the JSON property hyperthreading

Returns:

  • (String)


5280
5281
5282
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5280

def hyperthreading
  @hyperthreading
end

#vendorString

Hardware vendor. Corresponds to the JSON property vendor

Returns:

  • (String)


5285
5286
5287
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5285

def vendor
  @vendor
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5292

def update!(**args)
  @bios = args[:bios] if args.key?(:bios)
  @cpu_architecture = args[:cpu_architecture] if args.key?(:cpu_architecture)
  @cpu_manufacturer = args[:cpu_manufacturer] if args.key?(:cpu_manufacturer)
  @cpu_name = args[:cpu_name] if args.key?(:cpu_name)
  @cpu_socket_count = args[:cpu_socket_count] if args.key?(:cpu_socket_count)
  @firmware_type = args[:firmware_type] if args.key?(:firmware_type)
  @hyperthreading = args[:hyperthreading] if args.key?(:hyperthreading)
  @vendor = args[:vendor] if args.key?(:vendor)
end