[[["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-04 UTC."],[],[],null,["# Google Cloud Redis Cluster V1 Client - Class ConnectionType (0.5.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.5.1 (latest)](/php/docs/reference/cloud-redis-cluster/latest/V1.ConnectionType)\n- [0.5.0](/php/docs/reference/cloud-redis-cluster/0.5.0/V1.ConnectionType)\n- [0.4.1](/php/docs/reference/cloud-redis-cluster/0.4.1/V1.ConnectionType)\n- [0.3.2](/php/docs/reference/cloud-redis-cluster/0.3.2/V1.ConnectionType)\n- [0.2.5](/php/docs/reference/cloud-redis-cluster/0.2.5/V1.ConnectionType)\n- [0.1.0](/php/docs/reference/cloud-redis-cluster/0.1.0/V1.ConnectionType) \nReference documentation and code samples for the Google Cloud Redis Cluster V1 Client class ConnectionType.\n\nType of a PSC connection, for cluster access purpose.\n\nProtobuf type `google.cloud.redis.cluster.v1.ConnectionType`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Redis \\\\ Cluster \\\\ V1\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### CONNECTION_TYPE_UNSPECIFIED\n\n Value: 0\n\nCluster endpoint Type is not set\n\nGenerated from protobuf enum `CONNECTION_TYPE_UNSPECIFIED = 0;`\n\n### CONNECTION_TYPE_DISCOVERY\n\n Value: 1\n\nCluster endpoint that will be used as for cluster topology discovery.\n\nGenerated from protobuf enum `CONNECTION_TYPE_DISCOVERY = 1;`\n\n### CONNECTION_TYPE_PRIMARY\n\n Value: 2\n\nCluster endpoint that will be used as primary endpoint to access primary.\n\nGenerated from protobuf enum `CONNECTION_TYPE_PRIMARY = 2;`\n\n### CONNECTION_TYPE_READER\n\n Value: 3\n\nCluster endpoint that will be used as reader endpoint to access replicas.\n\nGenerated from protobuf enum `CONNECTION_TYPE_READER = 3;`"]]