Class: Google::Apis::MigrationcenterV1::MachineArchitectureDetails
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::MachineArchitectureDetails
- 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
-
#bios ⇒ Google::Apis::MigrationcenterV1::BiosDetails
Details about the BIOS.
-
#cpu_architecture ⇒ String
CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.
-
#cpu_name ⇒ String
CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.
-
#cpu_socket_count ⇒ Fixnum
Number of processor sockets allocated to the machine.
-
#cpu_thread_count ⇒ Fixnum
Number of CPU threads allocated to the machine.
-
#firmware_type ⇒ String
Firmware type.
-
#hyperthreading ⇒ String
CPU hyper-threading support.
-
#vendor ⇒ String
Hardware vendor.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MachineArchitectureDetails
constructor
A new instance of MachineArchitectureDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MachineArchitectureDetails
Returns a new instance of MachineArchitectureDetails.
2751 2752 2753 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2751 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bios ⇒ Google::Apis::MigrationcenterV1::BiosDetails
Details about the BIOS.
Corresponds to the JSON property bios
2714 2715 2716 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2714 def bios @bios end |
#cpu_architecture ⇒ String
CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.
Corresponds to the JSON property cpuArchitecture
2719 2720 2721 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2719 def cpu_architecture @cpu_architecture end |
#cpu_name ⇒ String
CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.
Corresponds to the JSON property cpuName
2724 2725 2726 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2724 def cpu_name @cpu_name end |
#cpu_socket_count ⇒ Fixnum
Number of processor sockets allocated to the machine.
Corresponds to the JSON property cpuSocketCount
2729 2730 2731 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2729 def cpu_socket_count @cpu_socket_count end |
#cpu_thread_count ⇒ Fixnum
Number of CPU threads allocated to the machine.
Corresponds to the JSON property cpuThreadCount
2734 2735 2736 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2734 def cpu_thread_count @cpu_thread_count end |
#firmware_type ⇒ String
Firmware type.
Corresponds to the JSON property firmwareType
2739 2740 2741 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2739 def firmware_type @firmware_type end |
#hyperthreading ⇒ String
CPU hyper-threading support.
Corresponds to the JSON property hyperthreading
2744 2745 2746 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2744 def hyperthreading @hyperthreading end |
#vendor ⇒ String
Hardware vendor.
Corresponds to the JSON property vendor
2749 2750 2751 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2749 def vendor @vendor end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2756 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 |