[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eNfsShare\u003c/code\u003e class within the Google Cloud Bare Metal Solution v2 API, including its properties and functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNfsShare\u003c/code\u003e class represents an NFS share and is part of the \u003ccode\u003eGoogle.Cloud.BareMetalSolution.V2\u003c/code\u003e namespace, with the latest version of this class being \u003ccode\u003e1.7.0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNfsShare\u003c/code\u003e has properties such as \u003ccode\u003eAllowedClients\u003c/code\u003e, \u003ccode\u003eId\u003c/code\u003e, \u003ccode\u003eLabels\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eRequestedSizeGib\u003c/code\u003e, \u003ccode\u003eState\u003c/code\u003e, \u003ccode\u003eStorageType\u003c/code\u003e, and \u003ccode\u003eVolume\u003c/code\u003e to define and manage the NFS share's characteristics.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<NfsShare>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<NfsShare>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering methods for message handling, equality checks, deep cloning, and buffer message operations.\u003c/p\u003e\n"],["\u003cp\u003eThe document details two constructors for the NfsShare class, one being the default and the other being able to take in another NfsShare to instantiate.\u003c/p\u003e\n"]]],[],null,["# Bare Metal Solution v2 API - Class NfsShare (1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.NfsShare)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.6.0/Google.Cloud.BareMetalSolution.V2.NfsShare)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.5.0/Google.Cloud.BareMetalSolution.V2.NfsShare)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.4.0/Google.Cloud.BareMetalSolution.V2.NfsShare)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.3.0/Google.Cloud.BareMetalSolution.V2.NfsShare)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.2.0/Google.Cloud.BareMetalSolution.V2.NfsShare)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.1.0/Google.Cloud.BareMetalSolution.V2.NfsShare)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.0.0/Google.Cloud.BareMetalSolution.V2.NfsShare) \n\n public sealed class NfsShare : IMessage\u003cNfsShare\u003e, IEquatable\u003cNfsShare\u003e, IDeepCloneable\u003cNfsShare\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Bare Metal Solution v2 API class NfsShare.\n\nAn NFS share. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e NfsShare \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[NfsShare](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.NfsShare), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[NfsShare](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.NfsShare), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[NfsShare](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.NfsShare), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.BareMetalSolution.V2](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.BareMetalSolution.V2.dll\n\nConstructors\n------------\n\n### NfsShare()\n\n public NfsShare()\n\n### NfsShare(NfsShare)\n\n public NfsShare(NfsShare other)\n\nProperties\n----------\n\n### AllowedClients\n\n public RepeatedField\u003cNfsShare.Types.AllowedClient\u003e AllowedClients { get; }\n\nList of allowed access points.\n\n### Id\n\n public string Id { get; set; }\n\nOutput only. An identifier for the NFS share, generated by the backend.\nThis is the same value as nfs_share_id and will replace it in the future.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nLabels as key value pairs.\n\n### NFSShareName\n\n public NFSShareName NFSShareName { get; set; }\n\n[NFSShareName](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.NFSShareName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.NfsShare#Google_Cloud_BareMetalSolution_V2_NfsShare_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nImmutable. The name of the NFS share.\n\n### NfsShareId\n\n public string NfsShareId { get; set; }\n\nOutput only. An identifier for the NFS share, generated by the backend.\nThis field will be deprecated in the future, use `id` instead.\n\n### RequestedSizeGib\n\n public long RequestedSizeGib { get; set; }\n\nThe requested size, in GiB.\n\n### State\n\n public NfsShare.Types.State State { get; set; }\n\nOutput only. The state of the NFS share.\n\n### StorageType\n\n public NfsShare.Types.StorageType StorageType { get; set; }\n\nImmutable. The storage type of the underlying volume.\n\n### Volume\n\n public string Volume { get; set; }\n\nOutput only. The underlying volume of the share. Created automatically\nduring provisioning.\n\n### VolumeAsVolumeName\n\n public VolumeName VolumeAsVolumeName { get; set; }\n\n[VolumeName](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VolumeName)-typed view over the [Volume](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.NfsShare#Google_Cloud_BareMetalSolution_V2_NfsShare_Volume) resource name property."]]