This interface defines virtual methods for each of the user-facing overload sets in CloudRedisClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type CloudRedisClient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eCloudRedisConnection\u003c/code\u003e interface, which defines virtual methods for each user-facing overload set in \u003ccode\u003eCloudRedisClient\u003c/code\u003e, allowing for custom behavior injection during testing.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release candidate is version 2.37.0-rc, while the latest stable release is 2.36.0, and the page focuses on version 2.24.0 and provides links to older versions down to 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCloudRedisConnection\u003c/code\u003e supports various operations, including listing, getting, creating, updating, upgrading, importing, exporting, failing over, deleting, and rescheduling maintenance for Redis instances.\u003c/p\u003e\n"],["\u003cp\u003eFor creating concrete instances, refer to the \u003ccode\u003eMakeCloudRedisConnection()\u003c/code\u003e function, and for mocking, use \u003ccode\u003eredis_v1_mocks::MockCloudRedisConnection\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe methods of the \u003ccode\u003eCloudRedisConnection\u003c/code\u003e interface can take in parameters, such as \u003ccode\u003erequest\u003c/code\u003e, and will return a \u003ccode\u003eType\u003c/code\u003e based on the virtual function, such as \u003ccode\u003eStatusOr< google::cloud::redis::v1::Instance >\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]