Class SqlSslCertsServiceConnection (2.18.0)

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

To create a concrete instance, see MakeSqlSslCertsServiceConnection().

For mocking, see sql_v1_mocks::MockSqlSslCertsServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual Delete(google::cloud::sql::v1::SqlSslCertsDeleteRequest const &)

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

virtual Get(google::cloud::sql::v1::SqlSslCertsGetRequest const &)

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

virtual Insert(google::cloud::sql::v1::SqlSslCertsInsertRequest const &)

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

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

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