0.16.0 (latest) 0.15.0 0.14.0 0.13.3 0.12.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.2 0.5.1 0.4.2 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Memorystore V1 Client class ConnectionDetail.

Information of each PSC connection.

Generated from protobuf message `google.cloud.memorystore.v1.Instance.ConnectionDetail`

## Namespace

Google \\ Cloud \\ Memorystore \\ V1 \\ Instance

## 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-memorystore/latest/V1.PscAutoConnection` Immutable. Detailed information of a PSC connection that is created through service connectivity automation. |
| `↳ psc_connection` | `https://docs.cloud.google.com/php/docs/reference/cloud-memorystore/latest/V1.PscConnection` Detailed information of a PSC connection that is created by the user. |

### getPscAutoConnection

Immutable. 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-memorystore/latest/V1.PscAutoConnection|null` |   |

### hasPscAutoConnection

### setPscAutoConnection

Immutable. 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-memorystore/latest/V1.PscAutoConnection` |

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

### getPscConnection

Detailed information of a PSC connection that is created by the user.

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

### hasPscConnection

### setPscConnection

Detailed information of a PSC connection that is created by the user.

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

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

### getConnection

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