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

Type of a PSC connection, for cluster access purpose.

Protobuf type `google.cloud.redis.cluster.v1.ConnectionType`

## Namespace

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

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### CONNECTION_TYPE_UNSPECIFIED

    Value: 0

Cluster endpoint Type is not set

Generated from protobuf enum `CONNECTION_TYPE_UNSPECIFIED = 0;`

### CONNECTION_TYPE_DISCOVERY

    Value: 1

Cluster endpoint that will be used as for cluster topology discovery.

Generated from protobuf enum `CONNECTION_TYPE_DISCOVERY = 1;`

### CONNECTION_TYPE_PRIMARY

    Value: 2

Cluster endpoint that will be used as primary endpoint to access primary.

Generated from protobuf enum `CONNECTION_TYPE_PRIMARY = 2;`

### CONNECTION_TYPE_READER

    Value: 3

Cluster endpoint that will be used as reader endpoint to access replicas.

Generated from protobuf enum `CONNECTION_TYPE_READER = 3;`