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 C++ client library for SQL.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release candidate version is 2.37.0-rc, and a list of versions ranging from 2.36.0 down to 2.11.0 is provided, each linked to its respective documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSqlInstanceNamesServiceConnection\u003c/code\u003e interface allows for the injection of custom behaviors for testing \u003ccode\u003eSqlInstanceNamesServiceClient\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eA concrete instance can be created using \u003ccode\u003eMakeSqlInstanceNamesServiceConnection()\u003c/code\u003e, and mocking can be done using \u003ccode\u003esql_v1_mocks::MockSqlInstanceNamesServiceConnection\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains a virtual \u003ccode\u003eoptions()\u003c/code\u003e function, that returns an Options object, which is described in the functions section.\u003c/p\u003e\n"]]],[],null,[]]