This interface defines virtual methods for each of the user-facing overload sets in SqlDatabasesServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type SqlDatabasesServiceClient.
To create a concrete instance, see MakeSqlDatabasesServiceConnection().
[[["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 page details the \u003ccode\u003eSqlDatabasesServiceConnection\u003c/code\u003e object, which is used with the \u003ccode\u003eSqlDatabasesServiceClient\u003c/code\u003e for interacting with Google Cloud SQL databases, and version 2.37.0-rc is the latest version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSqlDatabasesServiceConnection\u003c/code\u003e interface allows for custom behavior injection, useful for testing with mock objects, like \u003ccode\u003eMockSqlDatabasesServiceConnection\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSqlDatabasesServiceConnection\u003c/code\u003e defines virtual methods such as \u003ccode\u003eDelete\u003c/code\u003e, \u003ccode\u003eGet\u003c/code\u003e, \u003ccode\u003eInsert\u003c/code\u003e, \u003ccode\u003eList\u003c/code\u003e, \u003ccode\u003ePatch\u003c/code\u003e, and \u003ccode\u003eUpdate\u003c/code\u003e, each handling different database operations.\u003c/p\u003e\n"],["\u003cp\u003eEach of these virtual functions takes a \u003ccode\u003erequest\u003c/code\u003e parameter and returns either a \u003ccode\u003eStatusOr<Operation>\u003c/code\u003e or \u003ccode\u003eStatusOr<Database>\u003c/code\u003e or \u003ccode\u003eStatusOr<DatabasesListResponse>\u003c/code\u003e, depending on what operation is being performed.\u003c/p\u003e\n"],["\u003cp\u003eThe document covers a range of versions for the \u003ccode\u003eSqlDatabasesServiceConnection\u003c/code\u003e, starting from version 2.11.0 and going all the way up to the latest 2.37.0-rc.\u003c/p\u003e\n"]]],[],null,[]]