Class SqlFlagsServiceConnection (2.26.0)

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

To create a concrete instance, see MakeSqlFlagsServiceConnection().

For mocking, see sql_v1_mocks::MockSqlFlagsServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

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

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