The MigrationServiceConnection
object for MigrationServiceClient
.
More...
#include <google/cloud/bigquery/migration/v2/migration_connection.h>
The MigrationServiceConnection
object for MigrationServiceClient
.
This interface defines virtual methods for each of the user-facing overload sets in MigrationServiceClient
. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type MigrationServiceClient
.
To create a concrete instance, see MakeMigrationServiceConnection()
.
For mocking, see bigquery_migration_v2_mocks::MockMigrationServiceConnection
.
◆ ~MigrationServiceConnection()
virtual google::cloud::bigquery_migration_v2::MigrationServiceConnection::~MigrationServiceConnection |
( |
| ) |
|
|
pure virtual |
◆ CreateMigrationWorkflow()
virtual StatusOr< google::cloud::bigquery::migration::v2::MigrationWorkflow > google::cloud::bigquery_migration_v2::MigrationServiceConnection::CreateMigrationWorkflow |
( |
google::cloud::bigquery::migration::v2::CreateMigrationWorkflowRequest const & |
request | ) |
|
|
virtual |
◆ DeleteMigrationWorkflow()
virtual Status google::cloud::bigquery_migration_v2::MigrationServiceConnection::DeleteMigrationWorkflow |
( |
google::cloud::bigquery::migration::v2::DeleteMigrationWorkflowRequest const & |
request | ) |
|
|
virtual |
◆ GetMigrationSubtask()
virtual StatusOr< google::cloud::bigquery::migration::v2::MigrationSubtask > google::cloud::bigquery_migration_v2::MigrationServiceConnection::GetMigrationSubtask |
( |
google::cloud::bigquery::migration::v2::GetMigrationSubtaskRequest const & |
request | ) |
|
|
virtual |
◆ GetMigrationWorkflow()
virtual StatusOr< google::cloud::bigquery::migration::v2::MigrationWorkflow > google::cloud::bigquery_migration_v2::MigrationServiceConnection::GetMigrationWorkflow |
( |
google::cloud::bigquery::migration::v2::GetMigrationWorkflowRequest const & |
request | ) |
|
|
virtual |
◆ ListMigrationSubtasks()
virtual StreamRange< google::cloud::bigquery::migration::v2::MigrationSubtask > google::cloud::bigquery_migration_v2::MigrationServiceConnection::ListMigrationSubtasks |
( |
google::cloud::bigquery::migration::v2::ListMigrationSubtasksRequest |
request | ) |
|
|
virtual |
◆ ListMigrationWorkflows()
virtual StreamRange< google::cloud::bigquery::migration::v2::MigrationWorkflow > google::cloud::bigquery_migration_v2::MigrationServiceConnection::ListMigrationWorkflows |
( |
google::cloud::bigquery::migration::v2::ListMigrationWorkflowsRequest |
request | ) |
|
|
virtual |
◆ options()
virtual Options google::cloud::bigquery_migration_v2::MigrationServiceConnection::options |
( |
| ) |
|
|
inlinevirtual |
◆ StartMigrationWorkflow()
virtual Status google::cloud::bigquery_migration_v2::MigrationServiceConnection::StartMigrationWorkflow |
( |
google::cloud::bigquery::migration::v2::StartMigrationWorkflowRequest const & |
request | ) |
|
|
virtual |