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 ConnectionDetail.

Detailed information of each PSC connection.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ psc_auto_connection` | `https://docs.cloud.google.com/php/docs/reference/cloud-redis-cluster/latest/V1.PscAutoConnection` Detailed information of a PSC connection that is created through service connectivity automation. |
| `↳ psc_connection` | `https://docs.cloud.google.com/php/docs/reference/cloud-redis-cluster/latest/V1.PscConnection` Detailed information of a PSC connection that is created by the customer who owns the cluster. |

### getPscAutoConnection

Detailed information of a PSC connection that is created through
service connectivity automation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-redis-cluster/latest/V1.PscAutoConnection|null` |   |

### hasPscAutoConnection

### setPscAutoConnection

Detailed information of a PSC connection that is created through
service connectivity automation.

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

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

### getPscConnection

Detailed information of a PSC connection that is created by the customer
who owns the cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-redis-cluster/latest/V1.PscConnection|null` |   |

### hasPscConnection

### setPscConnection

Detailed information of a PSC connection that is created by the customer
who owns the cluster.

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

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

### getConnection

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