# Bare Metal Solution v2 API - Class InstanceConfig.Types.NetworkAddress (1.8.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.8.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.InstanceConfig.Types.NetworkAddress)
- [1.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.7.0/Google.Cloud.BareMetalSolution.V2.InstanceConfig.Types.NetworkAddress)
- [1.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.6.0/Google.Cloud.BareMetalSolution.V2.InstanceConfig.Types.NetworkAddress)
- [1.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.5.0/Google.Cloud.BareMetalSolution.V2.InstanceConfig.Types.NetworkAddress)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.4.0/Google.Cloud.BareMetalSolution.V2.InstanceConfig.Types.NetworkAddress)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.3.0/Google.Cloud.BareMetalSolution.V2.InstanceConfig.Types.NetworkAddress)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.2.0/Google.Cloud.BareMetalSolution.V2.InstanceConfig.Types.NetworkAddress)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.1.0/Google.Cloud.BareMetalSolution.V2.InstanceConfig.Types.NetworkAddress)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.0.0/Google.Cloud.BareMetalSolution.V2.InstanceConfig.Types.NetworkAddress)

    public sealed class InstanceConfig.Types.NetworkAddress : IMessage<InstanceConfig.Types.NetworkAddress>, IEquatable<InstanceConfig.Types.NetworkAddress>, IDeepCloneable<InstanceConfig.Types.NetworkAddress>, IBufferMessage, IMessage

Reference documentation and code samples for the Bare Metal Solution v2 API class InstanceConfig.Types.NetworkAddress.

A network.

## Inheritance

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

## Implements

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

## 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)

## Assembly

Google.Cloud.BareMetalSolution.V2.dll

## Constructors

### NetworkAddress()

    public NetworkAddress()

### NetworkAddress(NetworkAddress)

    public NetworkAddress(InstanceConfig.Types.NetworkAddress other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.InstanceConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.InstanceConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.InstanceConfig.Types.NetworkAddress` |

## Properties

### Address

    public string Address { get; set; }

IPv4 address to be assigned to the server.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ExistingNetworkId

    public string ExistingNetworkId { get; set; }

Name of the existing network to use.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### NetworkId

    public string NetworkId { get; set; }

Id of the network to use, within the same ProvisioningConfig request.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |