Class InstanceTemplateAdvancedMachineFeatures


  • public final class InstanceTemplateAdvancedMachineFeatures
    extends java.lang.Object
    • Method Detail

      • enableNestedVirtualization

        public java.util.Optional<java.lang.Boolean> enableNestedVirtualization()
        Returns:
        Defines whether the instance should have nested virtualization enabled. Defaults to false.
      • threadsPerCore

        public java.util.Optional<java.lang.Integer> threadsPerCore()
        Returns:
        The number of threads per physical core. To disable [simultaneous multithreading (SMT)](https://cloud.google.com/compute/docs/instances/disabling-smt) set this to 1.
      • visibleCoreCount

        public java.util.Optional<java.lang.Integer> visibleCoreCount()
        Returns:
        ) The number of physical cores to expose to an instance. [visible cores info (VC)](https://cloud.google.com/compute/docs/instances/customize-visible-cores).