Class SqlSslCertsServiceConnection (2.22.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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::sql::v1::SqlSslCertsDeleteRequest const &
Returns
TypeDescription
StatusOr< google::cloud::sql::v1::Operation >

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

Parameter
NameDescription
request google::cloud::sql::v1::SqlSslCertsGetRequest const &
Returns
TypeDescription
StatusOr< google::cloud::sql::v1::SslCert >

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

Parameter
NameDescription
request google::cloud::sql::v1::SqlSslCertsInsertRequest const &
Returns
TypeDescription
StatusOr< google::cloud::sql::v1::SslCertsInsertResponse >

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

Parameter
NameDescription
request google::cloud::sql::v1::SqlSslCertsListRequest const &
Returns
TypeDescription
StatusOr< google::cloud::sql::v1::SslCertsListResponse >