# Google Cloud Memorystore for Redis V1 API - Module Google::Cloud::Redis::Cluster::V1::ConnectionType (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.6.0 0.5.0 0.4.2 0.3.0 0.2.2 0.1.0 Reference documentation and code samples for the Google Cloud Memorystore for Redis V1 API module Google::Cloud::Redis::Cluster::V1::ConnectionType.

Type of a PSC connection, for cluster access purpose.

## Constants

### CONNECTION_TYPE_UNSPECIFIED

**value:** 0  
Cluster endpoint Type is not set

### CONNECTION_TYPE_DISCOVERY

**value:** 1  
Cluster endpoint that will be used as for cluster topology discovery.

### CONNECTION_TYPE_PRIMARY

**value:** 2  
Cluster endpoint that will be used as primary endpoint to access primary.

### CONNECTION_TYPE_READER

**value:** 3  
Cluster endpoint that will be used as reader endpoint to access replicas.