1.8.0 (latest) 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class VolumeConfig.Types.NfsExport : IMessage<VolumeConfig.Types.NfsExport>, IEquatable<VolumeConfig.Types.NfsExport>, IDeepCloneable<VolumeConfig.Types.NfsExport>, IBufferMessage, IMessage

Reference documentation and code samples for the Bare Metal Solution v2 API class VolumeConfig.Types.NfsExport.

A NFS export entry.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> VolumeConfig.Types.NfsExport

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[VolumeConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VolumeConfig.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VolumeConfig.Types.md.txt)[NfsExport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VolumeConfig.Types.NfsExport.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[VolumeConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VolumeConfig.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VolumeConfig.Types.md.txt)[NfsExport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VolumeConfig.Types.NfsExport.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[VolumeConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VolumeConfig.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VolumeConfig.Types.md.txt)[NfsExport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VolumeConfig.Types.NfsExport.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.BareMetalSolution.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.md.txt)

## Assembly

Google.Cloud.BareMetalSolution.V2.dll

## Constructors

### NfsExport()

    public NfsExport()

### NfsExport(NfsExport)

    public NfsExport(VolumeConfig.Types.NfsExport other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `VolumeConfigTypesNfsExport` |

## Properties

### AllowDev

    public bool AllowDev { get; set; }

Allow dev flag in NfsShare AllowedClientsRequest.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### AllowSuid

    public bool AllowSuid { get; set; }

Allow the setuid flag.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### Cidr

    public string Cidr { get; set; }

A CIDR range.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ClientCase

    public VolumeConfig.Types.NfsExport.ClientOneofCase ClientCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `VolumeConfigTypesNfsExportClientOneofCase` |   |

### HasCidr

    public bool HasCidr { get; }

Gets whether the "cidr" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasMachineId

    public bool HasMachineId { get; }

Gets whether the "machine_id" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### MachineId

    public string MachineId { get; set; }

Either a single machine, identified by an ID, or a comma-separated
list of machine IDs.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### NetworkId

    public string NetworkId { get; set; }

Network to use to publish the export.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### NoRootSquash

    public bool NoRootSquash { get; set; }

Disable root squashing, which is a feature of NFS.
Root squash is a special mapping of the remote superuser (root) identity
when using identity authentication.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### Permissions

    public VolumeConfig.Types.NfsExport.Types.Permissions Permissions { get; set; }

Export permissions.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `VolumeConfigTypesNfsExportTypesPermissions` |   |