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

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

A Network.

## Inheritance

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

## Implements

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

### Network()

    public Network()

### Network(Network)

    public Network(Network other)

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

## Properties

### Cidr

    public string Cidr { get; set; }

The cidr of the Network.

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

### GatewayIp

    public string GatewayIp { get; set; }

Output only. Gateway ip address.

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

### Id

    public string Id { get; set; }

An identifier for the `Network`, generated by the backend.

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

### IpAddress

    public string IpAddress { get; set; }

IP address configured.

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

### JumboFramesEnabled

    public bool JumboFramesEnabled { get; set; }

Whether network uses standard frames or jumbo ones.

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

### Labels

    public MapField<string, string> Labels { get; }

Labels as key value pairs.

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

### MacAddress

    public RepeatedField<string> MacAddress { get; }

List of physical interfaces.

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

### MountPoints

    public RepeatedField<NetworkMountPoint> MountPoints { get; }

Input only. List of mount points to attach the network to.

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

### Name

    public string Name { get; set; }

Output only. The resource name of this `Network`.
Resource names are schemeless URIs that follow the conventions in
<https://cloud.google.com/apis/design/resource_names>.
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.Network.md.txt#Google_Cloud_BareMetalSolution_V2_Network_Name) resource name property.

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

### Pod

    public string Pod { get; set; }

Output only. Pod name.

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

### Reservations

    public RepeatedField<NetworkAddressReservation> Reservations { get; }

List of IP address reservations in this network.
When updating this field, an error will be generated if a reservation
conflicts with an IP address already allocated to a physical server.

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

### ServicesCidr

    public string ServicesCidr { get; set; }

IP range for reserved for services (e.g. NFS).

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

### State

    public Network.Types.State State { get; set; }

The Network state.

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

### Type

    public Network.Types.Type Type { get; set; }

The type of this network.

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

### VlanId

    public string VlanId { get; set; }

The vlan id of the Network.

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

### Vrf

    public VRF Vrf { get; set; }

The vrf for the Network.

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