This interface defines virtual methods for each of the user-facing overload sets in SqlInstanceNamesServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type SqlInstanceNamesServiceClient.
To create a concrete instance, see MakeSqlInstanceNamesServiceConnection().
[[["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\u003eSqlInstanceNamesServiceConnection\u003c/code\u003e class within the Google Cloud SQL C++ library, with version 2.37.0-rc being the latest and 2.31.0 as the current.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSqlInstanceNamesServiceConnection\u003c/code\u003e class defines virtual methods that mirror the overload sets in \u003ccode\u003eSqlInstanceNamesServiceClient\u003c/code\u003e, facilitating the injection of custom behavior for testing purposes.\u003c/p\u003e\n"],["\u003cp\u003eUsers can create a concrete instance of \u003ccode\u003eSqlInstanceNamesServiceConnection\u003c/code\u003e using the \u003ccode\u003eMakeSqlInstanceNamesServiceConnection()\u003c/code\u003e function.\u003c/p\u003e\n"],["\u003cp\u003eThe page also provides a means of mocking the \u003ccode\u003eSqlInstanceNamesServiceConnection\u003c/code\u003e class through \u003ccode\u003esql_v1_mocks::MockSqlInstanceNamesServiceConnection\u003c/code\u003e for testing.\u003c/p\u003e\n"],["\u003cp\u003eThe options() function retrieves and returns options for the class.\u003c/p\u003e\n"]]],[],null,[]]