This interface defines virtual methods for each of the user-facing overload sets in SqlConnectServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type SqlConnectServiceClient.
To create a concrete instance, see MakeSqlConnectServiceConnection().
[[["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 webpage provides documentation for the \u003ccode\u003eSqlConnectServiceConnection\u003c/code\u003e class within the Google Cloud C++ client library, specifically for SQL v1.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 2.37.0-rc, with a history of versions available, ranging back to version 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSqlConnectServiceConnection\u003c/code\u003e class is an interface defining methods used by the \u003ccode\u003eSqlConnectServiceClient\u003c/code\u003e, enabling the injection of custom behaviors, particularly useful for testing purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes virtual functions such as \u003ccode\u003eoptions()\u003c/code\u003e, \u003ccode\u003eGetConnectSettings()\u003c/code\u003e, and \u003ccode\u003eGenerateEphemeralCert()\u003c/code\u003e, each detailed with parameter and return type information.\u003c/p\u003e\n"],["\u003cp\u003eFor mocking, the \u003ccode\u003esql_v1_mocks::MockSqlConnectServiceConnection\u003c/code\u003e is available, with \u003ccode\u003eMakeSqlConnectServiceConnection()\u003c/code\u003e available for creating a concrete instance.\u003c/p\u003e\n"]]],[],null,[]]