[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Memorystore for Redis V1 API - Module Google::Cloud::Redis::Cluster::V1::ConnectionType (v1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-ConnectionType)\n- [1.0.1](/ruby/docs/reference/google-cloud-redis-cluster-v1/1.0.1/Google-Cloud-Redis-Cluster-V1-ConnectionType)\n- [0.6.0](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.6.0/Google-Cloud-Redis-Cluster-V1-ConnectionType)\n- [0.5.0](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.5.0/Google-Cloud-Redis-Cluster-V1-ConnectionType)\n- [0.4.2](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.4.2/Google-Cloud-Redis-Cluster-V1-ConnectionType)\n- [0.3.0](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.3.0/Google-Cloud-Redis-Cluster-V1-ConnectionType)\n- [0.2.2](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.2.2/Google-Cloud-Redis-Cluster-V1-ConnectionType)\n- [0.1.0](/ruby/docs/reference/google-cloud-redis-cluster-v1/0.1.0/Google-Cloud-Redis-Cluster-V1-ConnectionType) \nReference documentation and code samples for the Google Cloud Memorystore for Redis V1 API module Google::Cloud::Redis::Cluster::V1::ConnectionType.\n\nType of a PSC connection, for cluster access purpose.\n\nConstants\n---------\n\n### CONNECTION_TYPE_UNSPECIFIED\n\n**value:** 0 \nCluster endpoint Type is not set\n\n### CONNECTION_TYPE_DISCOVERY\n\n**value:** 1 \nCluster endpoint that will be used as for cluster topology discovery.\n\n### CONNECTION_TYPE_PRIMARY\n\n**value:** 2 \nCluster endpoint that will be used as primary endpoint to access primary.\n\n### CONNECTION_TYPE_READER\n\n**value:** 3 \nCluster endpoint that will be used as reader endpoint to access replicas."]]