This interface defines virtual methods for each of the user-facing overload sets in CloudRedisClusterClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type CloudRedisClusterClient.
[[["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-08-14 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eCloudRedisClusterConnection\u003c/code\u003e interface, which provides virtual methods corresponding to the user-facing overload sets in \u003ccode\u003eCloudRedisClusterClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is \u003ccode\u003e2.37.0-rc\u003c/code\u003e, with a list of previous versions accessible, starting from version \u003ccode\u003e2.36.0\u003c/code\u003e and going down to \u003ccode\u003e2.11.0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eUsers can leverage this interface to inject custom behaviors into their tests using mock objects, with a specific reference to \u003ccode\u003eMockCloudRedisClusterConnection\u003c/code\u003e for mocking purposes.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCloudRedisClusterConnection\u003c/code\u003e offers a variety of virtual functions, including \u003ccode\u003eListClusters\u003c/code\u003e, \u003ccode\u003eGetCluster\u003c/code\u003e, \u003ccode\u003eUpdateCluster\u003c/code\u003e, \u003ccode\u003eDeleteCluster\u003c/code\u003e, and more, each managing different aspects of Redis cluster operations.\u003c/p\u003e\n"],["\u003cp\u003eThere are also virtual functions to manipulate backups, such as \u003ccode\u003eListBackups\u003c/code\u003e, \u003ccode\u003eGetBackup\u003c/code\u003e, \u003ccode\u003eDeleteBackup\u003c/code\u003e, and \u003ccode\u003eExportBackup\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Class CloudRedisClusterConnection (2.42.0-rc)\n\nVersion latestkeyboard_arrow_down\n\n- [2.42.0-rc (latest)](/cpp/docs/reference/redis/latest/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.41.0](/cpp/docs/reference/redis/2.41.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.40.0](/cpp/docs/reference/redis/2.40.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.39.0](/cpp/docs/reference/redis/2.39.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.38.0](/cpp/docs/reference/redis/2.38.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.37.0](/cpp/docs/reference/redis/2.37.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.36.0](/cpp/docs/reference/redis/2.36.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.35.0](/cpp/docs/reference/redis/2.35.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.34.0](/cpp/docs/reference/redis/2.34.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.33.0](/cpp/docs/reference/redis/2.33.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.32.0](/cpp/docs/reference/redis/2.32.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.31.0](/cpp/docs/reference/redis/2.31.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.30.0](/cpp/docs/reference/redis/2.30.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.29.0](/cpp/docs/reference/redis/2.29.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.28.0](/cpp/docs/reference/redis/2.28.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.27.0](/cpp/docs/reference/redis/2.27.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.26.0](/cpp/docs/reference/redis/2.26.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.25.1](/cpp/docs/reference/redis/2.25.1/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.24.0](/cpp/docs/reference/redis/2.24.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.23.0](/cpp/docs/reference/redis/2.23.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.22.1](/cpp/docs/reference/redis/2.22.1/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.21.0](/cpp/docs/reference/redis/2.21.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.20.0](/cpp/docs/reference/redis/2.20.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.19.0](/cpp/docs/reference/redis/2.19.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.18.0](/cpp/docs/reference/redis/2.18.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.17.0](/cpp/docs/reference/redis/2.17.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.16.0](/cpp/docs/reference/redis/2.16.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.15.1](/cpp/docs/reference/redis/2.15.1/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.14.0](/cpp/docs/reference/redis/2.14.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.13.0](/cpp/docs/reference/redis/2.13.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.12.0](/cpp/docs/reference/redis/2.12.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection)\n- [2.11.0](/cpp/docs/reference/redis/2.11.0/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection) \nThe [`CloudRedisClusterConnection`](/cpp/docs/reference/redis/latest/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterConnection) object for [`CloudRedisClusterClient`](/cpp/docs/reference/redis/latest/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterClient). \nThis interface defines virtual methods for each of the user-facing overload sets in [`CloudRedisClusterClient`](/cpp/docs/reference/redis/latest/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterClient). This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type [`CloudRedisClusterClient`](/cpp/docs/reference/redis/latest/classgoogle_1_1cloud_1_1redis__cluster__v1_1_1CloudRedisClusterClient).\n\nTo create a concrete instance, see [`MakeCloudRedisClusterConnection()`](/cpp/docs/reference/redis/latest/namespacegoogle_1_1cloud_1_1redis__cluster__v1).\n\nFor mocking, see [`redis_cluster_v1_mocks::MockCloudRedisClusterConnection`](/cpp/docs/reference/redis/latest/classgoogle_1_1cloud_1_1redis__cluster__v1__mocks_1_1MockCloudRedisClusterConnection).\n\nFunctions\n---------\n\n### virtual options()\n\n### virtual ListClusters(google::cloud::redis::cluster::v1::ListClustersRequest)\n\n### virtual GetCluster(google::cloud::redis::cluster::v1::GetClusterRequest const \\&)\n\n### virtual UpdateCluster(google::cloud::redis::cluster::v1::UpdateClusterRequest const \\&)\n\n### virtual UpdateCluster(NoAwaitTag, google::cloud::redis::cluster::v1::UpdateClusterRequest const \\&)\n\n### virtual UpdateCluster(google::longrunning::Operation const \\&)\n\n### virtual DeleteCluster(google::cloud::redis::cluster::v1::DeleteClusterRequest const \\&)\n\n### virtual DeleteCluster(NoAwaitTag, google::cloud::redis::cluster::v1::DeleteClusterRequest const \\&)\n\n### virtual DeleteCluster(google::longrunning::Operation const \\&)\n\n### virtual CreateCluster(google::cloud::redis::cluster::v1::CreateClusterRequest const \\&)\n\n### virtual CreateCluster(NoAwaitTag, google::cloud::redis::cluster::v1::CreateClusterRequest const \\&)\n\n### virtual CreateCluster(google::longrunning::Operation const \\&)\n\n### virtual GetClusterCertificateAuthority(google::cloud::redis::cluster::v1::GetClusterCertificateAuthorityRequest const \\&)\n\n### virtual RescheduleClusterMaintenance(google::cloud::redis::cluster::v1::RescheduleClusterMaintenanceRequest const \\&)\n\n### virtual RescheduleClusterMaintenance(NoAwaitTag, google::cloud::redis::cluster::v1::RescheduleClusterMaintenanceRequest const \\&)\n\n### virtual RescheduleClusterMaintenance(google::longrunning::Operation const \\&)\n\n### virtual ListBackupCollections(google::cloud::redis::cluster::v1::ListBackupCollectionsRequest)\n\n### virtual GetBackupCollection(google::cloud::redis::cluster::v1::GetBackupCollectionRequest const \\&)\n\n### virtual ListBackups(google::cloud::redis::cluster::v1::ListBackupsRequest)\n\n### virtual GetBackup(google::cloud::redis::cluster::v1::GetBackupRequest const \\&)\n\n### virtual DeleteBackup(google::cloud::redis::cluster::v1::DeleteBackupRequest const \\&)\n\n### virtual DeleteBackup(NoAwaitTag, google::cloud::redis::cluster::v1::DeleteBackupRequest const \\&)\n\n### virtual DeleteBackup(google::longrunning::Operation const \\&)\n\n### virtual ExportBackup(google::cloud::redis::cluster::v1::ExportBackupRequest const \\&)\n\n### virtual ExportBackup(NoAwaitTag, google::cloud::redis::cluster::v1::ExportBackupRequest const \\&)\n\n### virtual ExportBackup(google::longrunning::Operation const \\&)\n\n### virtual BackupCluster(google::cloud::redis::cluster::v1::BackupClusterRequest const \\&)\n\n### virtual BackupCluster(NoAwaitTag, google::cloud::redis::cluster::v1::BackupClusterRequest const \\&)\n\n### virtual BackupCluster(google::longrunning::Operation const \\&)\n\n### virtual ListLocations(google::cloud::location::ListLocationsRequest)\n\n### virtual GetLocation(google::cloud::location::GetLocationRequest const \\&)\n\n### virtual ListOperations(google::longrunning::ListOperationsRequest)\n\n### virtual GetOperation(google::longrunning::GetOperationRequest const \\&)\n\n### virtual DeleteOperation(google::longrunning::DeleteOperationRequest const \\&)\n\n### virtual CancelOperation(google::longrunning::CancelOperationRequest const \\&)"]]