0.13.0 (latest) 0.12.0 0.11.0 0.10.3 0.9.0 0.8.0 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 ClusterEndpoint.

ClusterEndpoint consists of PSC connections that are created
as a group in each VPC network for accessing the cluster. In each group,
there shall be one connection for each service attachment in the cluster.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ connections` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-redis-cluster/latest/V1.ConnectionDetail>` A group of PSC connections. They are created in the same VPC network, one for each service attachment in the cluster. |

### getConnections

A group of PSC connections. They are created in the same VPC network, one
for each service attachment in the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-redis-cluster/latest/V1.ConnectionDetail>` |   |

### setConnections

A group of PSC connections. They are created in the same VPC network, one
for each service attachment in the cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-redis-cluster/latest/V1.ConnectionDetail>` |

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