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\u003eThe latest release candidate version is 2.37.0-rc, and a list of available versions from 2.36.0 down to 2.11.0 are provided.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSqlConnectServiceConnection\u003c/code\u003e is an object related to \u003ccode\u003eSqlConnectServiceClient\u003c/code\u003e, providing virtual methods for each overload set.\u003c/p\u003e\n"],["\u003cp\u003eUsers can inject custom behavior, like Google Mock objects, into tests using \u003ccode\u003eSqlConnectServiceClient\u003c/code\u003e thanks to the provided virtual method interface.\u003c/p\u003e\n"],["\u003cp\u003eThe page describes functions \u003ccode\u003eoptions()\u003c/code\u003e, \u003ccode\u003eGetConnectSettings(google::cloud::sql::v1::GetConnectSettingsRequest const &)\u003c/code\u003e and \u003ccode\u003eGenerateEphemeralCert(google::cloud::sql::v1::GenerateEphemeralCertRequest const &)\u003c/code\u003e with their parameters and return types.\u003c/p\u003e\n"],["\u003cp\u003eTo create a real instance of this object, you can use \u003ccode\u003eMakeSqlConnectServiceConnection()\u003c/code\u003e, and for mocking, use \u003ccode\u003esql_v1_mocks::MockSqlConnectServiceConnection\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]