This interface defines virtual methods for each of the user-facing overload sets in SqlUsersServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type SqlUsersServiceClient.
To create a concrete instance, see MakeSqlUsersServiceConnection().
[[["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\u003eSqlUsersServiceConnection\u003c/code\u003e class, which is a key component for interacting with the \u003ccode\u003eSqlUsersServiceClient\u003c/code\u003e in the Google Cloud SQL API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eSqlUsersServiceConnection\u003c/code\u003e class is 2.37.0-rc, with a list of previous versions ranging down to 2.11.0 being accessible for review.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSqlUsersServiceConnection\u003c/code\u003e class allows the injection of custom behavior, using a Mock object, for testing purposes when working with \u003ccode\u003eSqlUsersServiceClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSqlUsersServiceConnection\u003c/code\u003e class defines virtual methods for core operations such as \u003ccode\u003eDelete\u003c/code\u003e, \u003ccode\u003eInsert\u003c/code\u003e, \u003ccode\u003eList\u003c/code\u003e, and \u003ccode\u003eUpdate\u003c/code\u003e, all of which take in requests and return \u003ccode\u003eStatusOr\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eA concrete instance can be created by using \u003ccode\u003eMakeSqlUsersServiceConnection()\u003c/code\u003e, and \u003ccode\u003esql_v1_mocks::MockSqlUsersServiceConnection\u003c/code\u003e is for mocking.\u003c/p\u003e\n"]]],[],null,[]]