Class: Google::Apis::MigrationcenterV1alpha1::VirtualMachineArchitectureDetails
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::VirtualMachineArchitectureDetails
- 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 VM architecture.
Instance Attribute Summary collapse
-
#bios ⇒ Google::Apis::MigrationcenterV1alpha1::BiosDetails
Details about the BIOS.
-
#cpu_architecture ⇒ String
CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.
-
#cpu_manufacturer ⇒ String
CPU manufacturer, e.g., "Intel", "AMD".
-
#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
Deprecated: use VirtualMachineDetails.core_count instead.
-
#firmware ⇒ String
Firmware (BIOS/efi).
-
#hyperthreading ⇒ String
CPU hyperthreading support.
-
#vendor ⇒ String
Hardware vendor.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VirtualMachineArchitectureDetails
constructor
A new instance of VirtualMachineArchitectureDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VirtualMachineArchitectureDetails
Returns a new instance of VirtualMachineArchitectureDetails.
7460 7461 7462 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7460 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bios ⇒ Google::Apis::MigrationcenterV1alpha1::BiosDetails
Details about the BIOS.
Corresponds to the JSON property bios
7417 7418 7419 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7417 def bios @bios end |
#cpu_architecture ⇒ String
CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.
Corresponds to the JSON property cpuArchitecture
7422 7423 7424 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7422 def cpu_architecture @cpu_architecture end |
#cpu_manufacturer ⇒ String
CPU manufacturer, e.g., "Intel", "AMD".
Corresponds to the JSON property cpuManufacturer
7427 7428 7429 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7427 def cpu_manufacturer @cpu_manufacturer end |
#cpu_name ⇒ String
CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.
Corresponds to the JSON property cpuName
7432 7433 7434 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7432 def cpu_name @cpu_name end |
#cpu_socket_count ⇒ Fixnum
Number of processor sockets allocated to the machine.
Corresponds to the JSON property cpuSocketCount
7437 7438 7439 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7437 def cpu_socket_count @cpu_socket_count end |
#cpu_thread_count ⇒ Fixnum
Deprecated: use VirtualMachineDetails.core_count instead. Number of CPU
threads allocated to the machine.
Corresponds to the JSON property cpuThreadCount
7443 7444 7445 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7443 def cpu_thread_count @cpu_thread_count end |
#firmware ⇒ String
Firmware (BIOS/efi).
Corresponds to the JSON property firmware
7448 7449 7450 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7448 def firmware @firmware end |
#hyperthreading ⇒ String
CPU hyperthreading support.
Corresponds to the JSON property hyperthreading
7453 7454 7455 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7453 def hyperthreading @hyperthreading end |
#vendor ⇒ String
Hardware vendor.
Corresponds to the JSON property vendor
7458 7459 7460 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7458 def vendor @vendor end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7465 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) @cpu_thread_count = args[:cpu_thread_count] if args.key?(:cpu_thread_count) @firmware = args[:firmware] if args.key?(:firmware) @hyperthreading = args[:hyperthreading] if args.key?(:hyperthreading) @vendor = args[:vendor] if args.key?(:vendor) end |