Class: Google::Apis::MigrationcenterV1::MachineArchitectureDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/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.



2532
2533
2534
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2532

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

Instance Attribute Details

#biosGoogle::Apis::MigrationcenterV1::BiosDetails

Details about the BIOS. Corresponds to the JSON property bios



2495
2496
2497
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2495

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)


2500
2501
2502
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2500

def cpu_architecture
  @cpu_architecture
end

#cpu_nameString

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

Returns:

  • (String)


2505
2506
2507
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2505

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)


2510
2511
2512
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2510

def cpu_socket_count
  @cpu_socket_count
end

#cpu_thread_countFixnum

Number of CPU threads allocated to the machine. Corresponds to the JSON property cpuThreadCount

Returns:

  • (Fixnum)


2515
2516
2517
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2515

def cpu_thread_count
  @cpu_thread_count
end

#firmware_typeString

Firmware type. Corresponds to the JSON property firmwareType

Returns:

  • (String)


2520
2521
2522
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2520

def firmware_type
  @firmware_type
end

#hyperthreadingString

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

Returns:

  • (String)


2525
2526
2527
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2525

def hyperthreading
  @hyperthreading
end

#vendorString

Hardware vendor. Corresponds to the JSON property vendor

Returns:

  • (String)


2530
2531
2532
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2530

def vendor
  @vendor
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2537

def update!(**args)
  @bios = args[:bios] if args.key?(:bios)
  @cpu_architecture = args[:cpu_architecture] if args.key?(:cpu_architecture)
  @cpu_name = args[:cpu_name] if args.key?(:cpu_name)
  @cpu_socket_count = args[:cpu_socket_count] if args.key?(:cpu_socket_count)
  @cpu_thread_count = args[:cpu_thread_count] if args.key?(:cpu_thread_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