Class SqlTiersServiceConnection (2.32.0-rc)

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
Type Description
Options

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

Parameter
Name Description
request google::cloud::sql::v1::SqlTiersListRequest const &
Returns
Type Description
StatusOr< google::cloud::sql::v1::TiersListResponse >