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, which is part of the Google Cloud C++ client library for SQL, offering a range of versions from 2.11.0 up to the latest release candidate 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSqlConnectServiceConnection\u003c/code\u003e interface defines virtual methods corresponding to each user-facing overload in \u003ccode\u003eSqlConnectServiceClient\u003c/code\u003e, enabling users to inject custom behaviors during testing.\u003c/p\u003e\n"],["\u003cp\u003eUsers can create a concrete instance of \u003ccode\u003eSqlConnectServiceConnection\u003c/code\u003e by using the \u003ccode\u003eMakeSqlConnectServiceConnection()\u003c/code\u003e function.\u003c/p\u003e\n"],["\u003cp\u003eMocking capabilities are provided through the \u003ccode\u003esql_v1_mocks::MockSqlConnectServiceConnection\u003c/code\u003e class, allowing for more effective testing strategies.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSqlConnectServiceConnection\u003c/code\u003e class includes functions for \u003ccode\u003eoptions()\u003c/code\u003e, \u003ccode\u003eGetConnectSettings\u003c/code\u003e, and \u003ccode\u003eGenerateEphemeralCert\u003c/code\u003e, each with specific request and response types as described in the provided information.\u003c/p\u003e\n"]]],[],null,[]]