[[["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-09-04 UTC."],[],[],null,["# Google Cloud Bare Metal Solution V2 Client - Class NfsShare (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-bare-metal-solution/latest/V2.NfsShare)\n- [1.0.4](/php/docs/reference/cloud-bare-metal-solution/1.0.4/V2.NfsShare)\n- [0.6.5](/php/docs/reference/cloud-bare-metal-solution/0.6.5/V2.NfsShare)\n- [0.5.2](/php/docs/reference/cloud-bare-metal-solution/0.5.2/V2.NfsShare)\n- [0.4.0](/php/docs/reference/cloud-bare-metal-solution/0.4.0/V2.NfsShare)\n- [0.3.2](/php/docs/reference/cloud-bare-metal-solution/0.3.2/V2.NfsShare)\n- [0.2.8](/php/docs/reference/cloud-bare-metal-solution/0.2.8/V2.NfsShare) \nReference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class NfsShare.\n\nAn NFS share.\n\nGenerated from protobuf message `google.cloud.baremetalsolution.v2.NfsShare`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BareMetalSolution \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nImmutable. The name of the NFS share.\n\n### setName\n\nImmutable. The name of the NFS share.\n\n### getNfsShareId\n\nOutput only. An identifier for the NFS share, generated by the backend.\n\nThis field will be deprecated in the future, use `id` instead.\n\n### setNfsShareId\n\nOutput only. An identifier for the NFS share, generated by the backend.\n\nThis field will be deprecated in the future, use `id` instead.\n\n### getId\n\nOutput only. An identifier for the NFS share, generated by the backend.\n\nThis is the same value as nfs_share_id and will replace it in the future.\n\n### setId\n\nOutput only. An identifier for the NFS share, generated by the backend.\n\nThis is the same value as nfs_share_id and will replace it in the future.\n\n### getState\n\nOutput only. The state of the NFS share.\n\n### setState\n\nOutput only. The state of the NFS share.\n\n### getVolume\n\nOutput only. The underlying volume of the share. Created automatically\nduring provisioning.\n\n### setVolume\n\nOutput only. The underlying volume of the share. Created automatically\nduring provisioning.\n\n### getAllowedClients\n\nList of allowed access points.\n\n### setAllowedClients\n\nList of allowed access points.\n\n### getLabels\n\nLabels as key value pairs.\n\n### setLabels\n\nLabels as key value pairs.\n\n### getRequestedSizeGib\n\nThe requested size, in GiB.\n\n### setRequestedSizeGib\n\nThe requested size, in GiB.\n\n### getStorageType\n\nImmutable. The storage type of the underlying volume.\n\n### setStorageType\n\nImmutable. The storage type of the underlying volume."]]