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

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

Message requesting rename of a server.

## Inheritance

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

## Implements

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

### RenameNetworkRequest()

    public RenameNetworkRequest()

### RenameNetworkRequest(RenameNetworkRequest)

    public RenameNetworkRequest(RenameNetworkRequest other)

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

## Properties

### Name

    public string Name { get; set; }

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

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

### NetworkName

    public NetworkName NetworkName { get; set; }

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

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

### NewNetworkId

    public string NewNetworkId { get; set; }

Required. The new `id` of the network.

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