# Google Cloud Hypercompute Cluster V1 Client - Class NewNetworkConfig (0.3.0)

0.3.0 (latest) 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1 Client class NewNetworkConfig.

When set in a
[NetworkResourceConfig](https://docs.cloud.google.com/php/docs/reference/cloud-hypercomputecluster/latest/V1.NetworkResourceConfig),
indicates that a new network should be created.

Generated from protobuf message `google.cloud.hypercomputecluster.v1.NewNetworkConfig`

## Namespace

Google \\ Cloud \\ HypercomputeCluster \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ network` | `string` Required. Immutable. Name of the network to create, in the format `projects/{project}/global/networks/{network}`. |
| `↳ description` | `string` Optional. Immutable. Description of the network. Maximum of 2048 characters. |

### getNetwork

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setNetwork

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDescription

Optional. Immutable. Description of the network. Maximum of 2048
characters.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDescription

Optional. Immutable. Description of the network. Maximum of 2048
characters.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |