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 interacting with the Cloud SQL Connect service, with the latest version being \u003ccode\u003e2.37.0-rc\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSqlConnectServiceConnection\u003c/code\u003e class offers an interface with virtual methods, enabling the customization and testing of behavior for the \u003ccode\u003eSqlConnectServiceClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSqlConnectServiceConnection\u003c/code\u003e class supports several core functions like retrieving connect settings via \u003ccode\u003eGetConnectSettings\u003c/code\u003e and generating ephemeral certificates using \u003ccode\u003eGenerateEphemeralCert\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists documentation for multiple versions of the library, starting from \u003ccode\u003e2.37.0-rc\u003c/code\u003e down to version \u003ccode\u003e2.11.0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eUsers can create a concrete instance of \u003ccode\u003eSqlConnectServiceConnection\u003c/code\u003e using \u003ccode\u003eMakeSqlConnectServiceConnection()\u003c/code\u003e or use \u003ccode\u003eMockSqlConnectServiceConnection\u003c/code\u003e for mocking purposes in tests.\u003c/p\u003e\n"]]],[],null,[]]