Reference documentation and code samples for the Google Cloud Container V1 Client class LocalNvmeSsdBlockConfig.
LocalNvmeSsdBlockConfig contains configuration for using raw-block local
NVMe SSDs
Generated from protobuf message google.container.v1.LocalNvmeSsdBlockConfig
Namespace
Google \ Cloud \ Container \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ local_ssd_count
int
Number of local NVMe SSDs to use. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info.
getLocalSsdCount
Number of local NVMe SSDs to use. The limit for this value is dependent
upon the maximum number of disk available on a machine per zone. See:
https://cloud.google.com/compute/docs/disks/local-ssd
for more information.
A zero (or unset) value has different meanings depending on machine type
being used:
For pre-Gen3 machines, which support flexible numbers of local ssds,
zero (or unset) means to disable using local SSDs as ephemeral storage.
For Gen3 machines which dictate a specific number of local ssds, zero
(or unset) means to use the default number of local ssds that goes with
that machine type. For example, for a c3-standard-8-lssd machine, 2 local
ssds would be provisioned. For c3-standard-8 (which doesn't support local
ssds), 0 will be provisioned. See
https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds
for more info.
Returns
Type
Description
int
setLocalSsdCount
Number of local NVMe SSDs to use. The limit for this value is dependent
upon the maximum number of disk available on a machine per zone. See:
https://cloud.google.com/compute/docs/disks/local-ssd
for more information.
A zero (or unset) value has different meanings depending on machine type
being used:
For pre-Gen3 machines, which support flexible numbers of local ssds,
zero (or unset) means to disable using local SSDs as ephemeral storage.
For Gen3 machines which dictate a specific number of local ssds, zero
(or unset) means to use the default number of local ssds that goes with
that machine type. For example, for a c3-standard-8-lssd machine, 2 local
ssds would be provisioned. For c3-standard-8 (which doesn't support local
ssds), 0 will be provisioned. See
https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds
for more info.
[[["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 LocalNvmeSsdBlockConfig (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/php/docs/reference/cloud-container/latest/V1.LocalNvmeSsdBlockConfig)\n- [2.4.0](/php/docs/reference/cloud-container/2.4.0/V1.LocalNvmeSsdBlockConfig)\n- [2.3.4](/php/docs/reference/cloud-container/2.3.4/V1.LocalNvmeSsdBlockConfig)\n- [2.2.1](/php/docs/reference/cloud-container/2.2.1/V1.LocalNvmeSsdBlockConfig)\n- [2.1.0](/php/docs/reference/cloud-container/2.1.0/V1.LocalNvmeSsdBlockConfig)\n- [2.0.0](/php/docs/reference/cloud-container/2.0.0/V1.LocalNvmeSsdBlockConfig)\n- [1.33.0](/php/docs/reference/cloud-container/1.33.0/V1.LocalNvmeSsdBlockConfig)\n- [1.32.0](/php/docs/reference/cloud-container/1.32.0/V1.LocalNvmeSsdBlockConfig)\n- [1.31.0](/php/docs/reference/cloud-container/1.31.0/V1.LocalNvmeSsdBlockConfig)\n- [1.30.3](/php/docs/reference/cloud-container/1.30.3/V1.LocalNvmeSsdBlockConfig)\n- [1.24.0](/php/docs/reference/cloud-container/1.24.0/V1.LocalNvmeSsdBlockConfig)\n- [1.23.0](/php/docs/reference/cloud-container/1.23.0/V1.LocalNvmeSsdBlockConfig)\n- [1.22.0](/php/docs/reference/cloud-container/1.22.0/V1.LocalNvmeSsdBlockConfig)\n- [1.21.1](/php/docs/reference/cloud-container/1.21.1/V1.LocalNvmeSsdBlockConfig)\n- [1.20.0](/php/docs/reference/cloud-container/1.20.0/V1.LocalNvmeSsdBlockConfig)\n- [1.19.0](/php/docs/reference/cloud-container/1.19.0/V1.LocalNvmeSsdBlockConfig)\n- [1.18.0](/php/docs/reference/cloud-container/1.18.0/V1.LocalNvmeSsdBlockConfig)\n- [1.17.1](/php/docs/reference/cloud-container/1.17.1/V1.LocalNvmeSsdBlockConfig)\n- [1.16.0](/php/docs/reference/cloud-container/1.16.0/V1.LocalNvmeSsdBlockConfig)\n- [1.15.0](/php/docs/reference/cloud-container/1.15.0/V1.LocalNvmeSsdBlockConfig)\n- [1.14.0](/php/docs/reference/cloud-container/1.14.0/V1.LocalNvmeSsdBlockConfig)\n- [1.13.1](/php/docs/reference/cloud-container/1.13.1/V1.LocalNvmeSsdBlockConfig)\n- [1.12.1](/php/docs/reference/cloud-container/1.12.1/V1.LocalNvmeSsdBlockConfig)\n- [1.10.3](/php/docs/reference/cloud-container/1.10.3/V1.LocalNvmeSsdBlockConfig)\n- [1.9.1](/php/docs/reference/cloud-container/1.9.1/V1.LocalNvmeSsdBlockConfig) \nReference documentation and code samples for the Google Cloud Container V1 Client class LocalNvmeSsdBlockConfig.\n\nLocalNvmeSsdBlockConfig contains configuration for using raw-block local\nNVMe SSDs\n\nGenerated from protobuf message `google.container.v1.LocalNvmeSsdBlockConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Container \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getLocalSsdCount\n\nNumber of local NVMe SSDs to use. The limit for this value is dependent\nupon the maximum number of disk available on a machine per zone. See:\n\u003chttps://cloud.google.com/compute/docs/disks/local-ssd\u003e\nfor more information.\n\nA zero (or unset) value has different meanings depending on machine type\nbeing used:\n\n1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage.\n2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See \u003chttps://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds\u003e for more info.\n\n### setLocalSsdCount\n\nNumber of local NVMe SSDs to use. The limit for this value is dependent\nupon the maximum number of disk available on a machine per zone. See:\n\u003chttps://cloud.google.com/compute/docs/disks/local-ssd\u003e\nfor more information.\n\nA zero (or unset) value has different meanings depending on machine type\nbeing used:\n\n1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage.\n2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See \u003chttps://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds\u003e for more info."]]