Class SqlBackupRunsServiceConnection (2.32.0-rc)

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

To create a concrete instance, see MakeSqlBackupRunsServiceConnection().

For mocking, see sql_v1_mocks::MockSqlBackupRunsServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

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

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

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

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

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

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

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

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