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

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

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

When set in a
\[NetworkResourceConfig\]\[google.cloud.hypercomputecluster.v1beta.NetworkResourceConfig\],
indicates that an existing network should be imported.

## Inheritance

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

## Implements

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

### ExistingNetworkConfig()

    public ExistingNetworkConfig()

### ExistingNetworkConfig(ExistingNetworkConfig)

    public ExistingNetworkConfig(ExistingNetworkConfig other)

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

## Properties

### Network

    public string Network { get; set; }

Required. Immutable. Name of the network to import, in the format
`projects/{project}/global/networks/{network}`.

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

### NetworkAsNetworkName

    public NetworkName NetworkAsNetworkName { get; set; }

[NetworkName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.NetworkName)-typed view over the [Network](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.ExistingNetworkConfig#Google_Cloud_HypercomputeCluster_V1Beta_ExistingNetworkConfig_Network) resource name property.

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

### Subnetwork

    public string Subnetwork { get; set; }

Required. Immutable. Particular subnetwork to use, in the format
`projects/{project}/regions/{region}/subnetworks/{subnetwork}`.

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

### SubnetworkAsSubnetworkName

    public SubnetworkName SubnetworkAsSubnetworkName { get; set; }

[SubnetworkName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.SubnetworkName)-typed view over the [Subnetwork](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.ExistingNetworkConfig#Google_Cloud_HypercomputeCluster_V1Beta_ExistingNetworkConfig_Subnetwork) resource name property.

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