class Google::Apis::ComputeV1::AdvancedMachineFeatures

Specifies options for controlling advanced machine features. Options that would traditionally be configured in a BIOS belong here. Features that require operating system support may have corresponding entries in the GuestOsFeatures of an Image (e.g., whether or not the OS in the Image supports nested virtualization being enabled or disabled).

Attributes

enable_nested_virtualization[RW]

Whether to enable nested virtualization or not (default is false). Corresponds to the JSON property `enableNestedVirtualization` @return [Boolean]

enable_nested_virtualization?[RW]

Whether to enable nested virtualization or not (default is false). Corresponds to the JSON property `enableNestedVirtualization` @return [Boolean]

threads_per_core[RW]

The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed. Corresponds to the JSON property `threadsPerCore` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 1057
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 1062
def update!(**args)
  @enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
  @threads_per_core = args[:threads_per_core] if args.key?(:threads_per_core)
end