Reference documentation and code samples for the Google Cloud Container V1 Client class EphemeralStorageLocalSsdConfig.
EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral
storage using Local SSDs.
Generated from protobuf message google.container.v1.EphemeralStorageLocalSsdConfig
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 SSDs to use to back ephemeral storage. Uses NVMe interfaces. 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. 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. 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.
↳ data_cache_count
int
Number of local SSDs to use for GKE Data Cache.
getLocalSsdCount
Number of local SSDs to use to back ephemeral storage. Uses NVMe
interfaces.
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. 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.
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 SSDs to use to back ephemeral storage. Uses NVMe
interfaces.
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. 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.
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 EphemeralStorageLocalSsdConfig (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/php/docs/reference/cloud-container/latest/V1.EphemeralStorageLocalSsdConfig)\n- [2.4.0](/php/docs/reference/cloud-container/2.4.0/V1.EphemeralStorageLocalSsdConfig)\n- [2.3.4](/php/docs/reference/cloud-container/2.3.4/V1.EphemeralStorageLocalSsdConfig)\n- [2.2.1](/php/docs/reference/cloud-container/2.2.1/V1.EphemeralStorageLocalSsdConfig)\n- [2.1.0](/php/docs/reference/cloud-container/2.1.0/V1.EphemeralStorageLocalSsdConfig)\n- [2.0.0](/php/docs/reference/cloud-container/2.0.0/V1.EphemeralStorageLocalSsdConfig)\n- [1.33.0](/php/docs/reference/cloud-container/1.33.0/V1.EphemeralStorageLocalSsdConfig)\n- [1.32.0](/php/docs/reference/cloud-container/1.32.0/V1.EphemeralStorageLocalSsdConfig)\n- [1.31.0](/php/docs/reference/cloud-container/1.31.0/V1.EphemeralStorageLocalSsdConfig)\n- [1.30.3](/php/docs/reference/cloud-container/1.30.3/V1.EphemeralStorageLocalSsdConfig)\n- [1.24.0](/php/docs/reference/cloud-container/1.24.0/V1.EphemeralStorageLocalSsdConfig)\n- [1.23.0](/php/docs/reference/cloud-container/1.23.0/V1.EphemeralStorageLocalSsdConfig)\n- [1.22.0](/php/docs/reference/cloud-container/1.22.0/V1.EphemeralStorageLocalSsdConfig)\n- [1.21.1](/php/docs/reference/cloud-container/1.21.1/V1.EphemeralStorageLocalSsdConfig)\n- [1.20.0](/php/docs/reference/cloud-container/1.20.0/V1.EphemeralStorageLocalSsdConfig)\n- [1.19.0](/php/docs/reference/cloud-container/1.19.0/V1.EphemeralStorageLocalSsdConfig)\n- [1.18.0](/php/docs/reference/cloud-container/1.18.0/V1.EphemeralStorageLocalSsdConfig)\n- [1.17.1](/php/docs/reference/cloud-container/1.17.1/V1.EphemeralStorageLocalSsdConfig)\n- [1.16.0](/php/docs/reference/cloud-container/1.16.0/V1.EphemeralStorageLocalSsdConfig)\n- [1.15.0](/php/docs/reference/cloud-container/1.15.0/V1.EphemeralStorageLocalSsdConfig)\n- [1.14.0](/php/docs/reference/cloud-container/1.14.0/V1.EphemeralStorageLocalSsdConfig)\n- [1.13.1](/php/docs/reference/cloud-container/1.13.1/V1.EphemeralStorageLocalSsdConfig)\n- [1.12.1](/php/docs/reference/cloud-container/1.12.1/V1.EphemeralStorageLocalSsdConfig)\n- [1.10.3](/php/docs/reference/cloud-container/1.10.3/V1.EphemeralStorageLocalSsdConfig)\n- [1.9.1](/php/docs/reference/cloud-container/1.9.1/V1.EphemeralStorageLocalSsdConfig) \nReference documentation and code samples for the Google Cloud Container V1 Client class EphemeralStorageLocalSsdConfig.\n\nEphemeralStorageLocalSsdConfig contains configuration for the node ephemeral\nstorage using Local SSDs.\n\nGenerated from protobuf message `google.container.v1.EphemeralStorageLocalSsdConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Container \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getLocalSsdCount\n\nNumber of local SSDs to use to back ephemeral storage. Uses NVMe\ninterfaces.\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. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: \u003chttps://cloud.google.com/compute/docs/disks/local-ssd\u003e for more information.\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 SSDs to use to back ephemeral storage. Uses NVMe\ninterfaces.\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. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: \u003chttps://cloud.google.com/compute/docs/disks/local-ssd\u003e for more information.\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### getDataCacheCount\n\nNumber of local SSDs to use for GKE Data Cache.\n\n### setDataCacheCount\n\nNumber of local SSDs to use for GKE Data Cache."]]