Reference documentation and code samples for the Google Cloud Container V1 Client class AdvancedMachineFeatures.
Specifies options for controlling advanced machine features.
Generated from protobuf message google.container.v1.AdvancedMachineFeatures
Namespace
Google \ Cloud \ Container \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ threads_per_core
int|string
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.
↳ enable_nested_virtualization
bool
Whether or not to enable nested virtualization (defaults to false).
↳ performance_monitoring_unit
int
Type of Performance Monitoring Unit (PMU) requested on node pool instances. If unset, PMU will not be available to the node.
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
Type
Description
int|string
hasThreadsPerCore
clearThreadsPerCore
setThreadsPerCore
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.
Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
getEnableNestedVirtualization
Whether or not to enable nested virtualization (defaults to false).
Returns
Type
Description
bool
hasEnableNestedVirtualization
clearEnableNestedVirtualization
setEnableNestedVirtualization
Whether or not to enable nested virtualization (defaults to false).
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getPerformanceMonitoringUnit
Type of Performance Monitoring Unit (PMU) requested on node pool instances.
If unset, PMU will not be available to the node.
Returns
Type
Description
int
hasPerformanceMonitoringUnit
clearPerformanceMonitoringUnit
setPerformanceMonitoringUnit
Type of Performance Monitoring Unit (PMU) requested on node pool instances.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Container V1 Client - Class AdvancedMachineFeatures (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/php/docs/reference/cloud-container/latest/V1.AdvancedMachineFeatures)\n- [2.4.0](/php/docs/reference/cloud-container/2.4.0/V1.AdvancedMachineFeatures)\n- [2.3.4](/php/docs/reference/cloud-container/2.3.4/V1.AdvancedMachineFeatures)\n- [2.2.1](/php/docs/reference/cloud-container/2.2.1/V1.AdvancedMachineFeatures)\n- [2.1.0](/php/docs/reference/cloud-container/2.1.0/V1.AdvancedMachineFeatures)\n- [2.0.0](/php/docs/reference/cloud-container/2.0.0/V1.AdvancedMachineFeatures)\n- [1.33.0](/php/docs/reference/cloud-container/1.33.0/V1.AdvancedMachineFeatures)\n- [1.32.0](/php/docs/reference/cloud-container/1.32.0/V1.AdvancedMachineFeatures)\n- [1.31.0](/php/docs/reference/cloud-container/1.31.0/V1.AdvancedMachineFeatures)\n- [1.30.3](/php/docs/reference/cloud-container/1.30.3/V1.AdvancedMachineFeatures)\n- [1.24.0](/php/docs/reference/cloud-container/1.24.0/V1.AdvancedMachineFeatures)\n- [1.23.0](/php/docs/reference/cloud-container/1.23.0/V1.AdvancedMachineFeatures)\n- [1.22.0](/php/docs/reference/cloud-container/1.22.0/V1.AdvancedMachineFeatures)\n- [1.21.1](/php/docs/reference/cloud-container/1.21.1/V1.AdvancedMachineFeatures)\n- [1.20.0](/php/docs/reference/cloud-container/1.20.0/V1.AdvancedMachineFeatures)\n- [1.19.0](/php/docs/reference/cloud-container/1.19.0/V1.AdvancedMachineFeatures)\n- [1.18.0](/php/docs/reference/cloud-container/1.18.0/V1.AdvancedMachineFeatures)\n- [1.17.1](/php/docs/reference/cloud-container/1.17.1/V1.AdvancedMachineFeatures)\n- [1.16.0](/php/docs/reference/cloud-container/1.16.0/V1.AdvancedMachineFeatures)\n- [1.15.0](/php/docs/reference/cloud-container/1.15.0/V1.AdvancedMachineFeatures)\n- [1.14.0](/php/docs/reference/cloud-container/1.14.0/V1.AdvancedMachineFeatures)\n- [1.13.1](/php/docs/reference/cloud-container/1.13.1/V1.AdvancedMachineFeatures)\n- [1.12.1](/php/docs/reference/cloud-container/1.12.1/V1.AdvancedMachineFeatures)\n- [1.10.3](/php/docs/reference/cloud-container/1.10.3/V1.AdvancedMachineFeatures)\n- [1.9.1](/php/docs/reference/cloud-container/1.9.1/V1.AdvancedMachineFeatures) \nReference documentation and code samples for the Google Cloud Container V1 Client class AdvancedMachineFeatures.\n\nSpecifies options for controlling advanced machine features.\n\nGenerated from protobuf message `google.container.v1.AdvancedMachineFeatures`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Container \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getThreadsPerCore\n\nThe number of threads per physical core. To disable simultaneous\nmultithreading (SMT) set this to 1. If unset, the maximum number of threads\nsupported per core by the underlying processor is assumed.\n\n### hasThreadsPerCore\n\n### clearThreadsPerCore\n\n### setThreadsPerCore\n\nThe number of threads per physical core. To disable simultaneous\nmultithreading (SMT) set this to 1. If unset, the maximum number of threads\nsupported per core by the underlying processor is assumed.\n\n### getEnableNestedVirtualization\n\nWhether or not to enable nested virtualization (defaults to false).\n\n### hasEnableNestedVirtualization\n\n### clearEnableNestedVirtualization\n\n### setEnableNestedVirtualization\n\nWhether or not to enable nested virtualization (defaults to false).\n\n### getPerformanceMonitoringUnit\n\nType of Performance Monitoring Unit (PMU) requested on node pool instances.\n\nIf unset, PMU will not be available to the node.\n\n### hasPerformanceMonitoringUnit\n\n### clearPerformanceMonitoringUnit\n\n### setPerformanceMonitoringUnit\n\nType of Performance Monitoring Unit (PMU) requested on node pool instances.\n\nIf unset, PMU will not be available to the node."]]