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 RenameNfsShareRequest : IMessage<RenameNfsShareRequest>, IEquatable<RenameNfsShareRequest>, IDeepCloneable<RenameNfsShareRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Bare Metal Solution v2 API class RenameNfsShareRequest.

Message requesting rename of a server.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[RenameNfsShareRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.RenameNfsShareRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RenameNfsShareRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.RenameNfsShareRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[RenameNfsShareRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.RenameNfsShareRequest.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

### RenameNfsShareRequest()

    public RenameNfsShareRequest()

### RenameNfsShareRequest(RenameNfsShareRequest)

    public RenameNfsShareRequest(RenameNfsShareRequest other)

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

## Properties

### NFSShareName

    public NFSShareName NFSShareName { get; set; }

[NFSShareName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.NFSShareName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.RenameNfsShareRequest.md.txt#Google_Cloud_BareMetalSolution_V2_RenameNfsShareRequest_Name) resource name property.

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

### Name

    public string Name { get; set; }

Required. The `name` field is used to identify the nfsshare.
Format: projects/{project}/locations/{location}/nfsshares/{nfsshare}

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

### NewNfsshareId

    public string NewNfsshareId { get; set; }

Required. The new `id` of the nfsshare.

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