All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.AdvancedMachineFeatures.html Maven / Gradle / Ivy

The newest version!






AdvancedMachineFeatures (Compute Engine API v1-rev20250320-2.0.0)












com.google.api.services.compute.model

Class AdvancedMachineFeatures

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class AdvancedMachineFeatures
    extends com.google.api.client.json.GenericJson
    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).

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • AdvancedMachineFeatures

        public AdvancedMachineFeatures()
    • Method Detail

      • getEnableNestedVirtualization

        public Boolean getEnableNestedVirtualization()
        Whether to enable nested virtualization or not (default is false).
        Returns:
        value or null for none
      • setEnableNestedVirtualization

        public AdvancedMachineFeatures setEnableNestedVirtualization(Boolean enableNestedVirtualization)
        Whether to enable nested virtualization or not (default is false).
        Parameters:
        enableNestedVirtualization - enableNestedVirtualization or null for none
      • getEnableUefiNetworking

        public Boolean getEnableUefiNetworking()
        Whether to enable UEFI networking for instance creation.
        Returns:
        value or null for none
      • setEnableUefiNetworking

        public AdvancedMachineFeatures setEnableUefiNetworking(Boolean enableUefiNetworking)
        Whether to enable UEFI networking for instance creation.
        Parameters:
        enableUefiNetworking - enableUefiNetworking or null for none
      • getPerformanceMonitoringUnit

        public String getPerformanceMonitoringUnit()
        Type of Performance Monitoring Unit requested on instance.
        Returns:
        value or null for none
      • setPerformanceMonitoringUnit

        public AdvancedMachineFeatures setPerformanceMonitoringUnit(String performanceMonitoringUnit)
        Type of Performance Monitoring Unit requested on instance.
        Parameters:
        performanceMonitoringUnit - performanceMonitoringUnit or null for none
      • getThreadsPerCore

        public Integer getThreadsPerCore()
        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.
        Returns:
        value or null for none
      • setThreadsPerCore

        public AdvancedMachineFeatures setThreadsPerCore(Integer threadsPerCore)
        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.
        Parameters:
        threadsPerCore - threadsPerCore or null for none
      • getTurboMode

        public String getTurboMode()
        Turbo frequency mode to use for the instance. Supported modes include: * ALL_CORE_MAX Using empty string or not setting this field will use the platform-specific default turbo mode.
        Returns:
        value or null for none
      • setTurboMode

        public AdvancedMachineFeatures setTurboMode(String turboMode)
        Turbo frequency mode to use for the instance. Supported modes include: * ALL_CORE_MAX Using empty string or not setting this field will use the platform-specific default turbo mode.
        Parameters:
        turboMode - turboMode or null for none
      • getVisibleCoreCount

        public Integer getVisibleCoreCount()
        The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
        Returns:
        value or null for none
      • setVisibleCoreCount

        public AdvancedMachineFeatures setVisibleCoreCount(Integer visibleCoreCount)
        The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
        Parameters:
        visibleCoreCount - visibleCoreCount or null for none
      • clone

        public AdvancedMachineFeatures clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2025 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy