# Cluster Director v1beta API - Class NetworkResource (1.0.0-beta01)

    public sealed class NetworkResource : IMessage<NetworkResource>, IEquatable<NetworkResource>, IDeepCloneable<NetworkResource>, IBufferMessage, IMessage

Reference documentation and code samples for the Cluster Director v1beta API class NetworkResource.

A resource representing a network that connects the various components of a
cluster together.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.HypercomputeCluster.V1Beta.dll

## Constructors

### NetworkResource()

    public NetworkResource()

### NetworkResource(NetworkResource)

    public NetworkResource(NetworkResource other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.NetworkResource` |

## Properties

### Config

    public NetworkResourceConfig Config { get; set; }

Immutable. Configuration for this network resource, which describes how it
should be created or imported. This field only controls how the network
resource is initially created or imported. Subsequent changes to the
network resource should be made via the resource's API and will not be
reflected in the configuration.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.NetworkResourceConfig` |   |

### Network

    public NetworkReference Network { get; set; }

Reference to a network in Google Compute Engine.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.NetworkReference` |   |

### ReferenceCase

    public NetworkResource.ReferenceOneofCase ReferenceCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.NetworkResourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.NetworkResource.ReferenceOneofCase` |   |