# Google Cloud Redis Cluster V1 Client - Class PscConfig (0.8.0)

0.8.0 (latest) 0.7.0 0.6.4 0.5.1 0.4.1 0.3.2 0.2.5 0.1.0 Reference documentation and code samples for the Google Cloud Redis Cluster V1 Client class PscConfig.

Generated from protobuf message `google.cloud.redis.cluster.v1.PscConfig`

## Namespace

Google \\ Cloud \\ Redis \\ Cluster \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ network` | `string` Required. The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}. |

### getNetwork

Required. The network where the IP address of the discovery endpoint will
be reserved, in the form of
projects/{network_project}/global/networks/{network_id}.

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

### setNetwork

Required. The network where the IP address of the discovery endpoint will
be reserved, in the form of
projects/{network_project}/global/networks/{network_id}.

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

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