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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-14 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."]]],[]]