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-07-02 UTC."],[[["This page details the `SqlDatabasesServiceConnection` object, which is used with the `SqlDatabasesServiceClient` for interacting with Google Cloud SQL databases, and version 2.37.0-rc is the latest version."],["The `SqlDatabasesServiceConnection` interface allows for custom behavior injection, useful for testing with mock objects, like `MockSqlDatabasesServiceConnection`."],["The `SqlDatabasesServiceConnection` defines virtual methods such as `Delete`, `Get`, `Insert`, `List`, `Patch`, and `Update`, each handling different database operations."],["Each of these virtual functions takes a `request` parameter and returns either a `StatusOr\u003cOperation\u003e` or `StatusOr\u003cDatabase\u003e` or `StatusOr\u003cDatabasesListResponse\u003e`, depending on what operation is being performed."],["The document covers a range of versions for the `SqlDatabasesServiceConnection`, starting from version 2.11.0 and going all the way up to the latest 2.37.0-rc."]]],[]]