Class SqlTiersServiceConnection (2.19.0)

This interface defines virtual methods for each of the user-facing overload sets in SqlTiersServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type SqlTiersServiceClient.

To create a concrete instance, see MakeSqlTiersServiceConnection().

For mocking, see sql_v1_mocks::MockSqlTiersServiceConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual List(google::cloud::sql::v1::SqlTiersListRequest const &)

Parameter
NameDescription
request google::cloud::sql::v1::SqlTiersListRequest const &
Returns
TypeDescription
StatusOr< google::cloud::sql::v1::TiersListResponse >