Google Cloud BigQuery C++ Client 2.11.0
A C++ Client Library for Google Cloud BigQuery
Loading...
Searching...
No Matches
Public Member Functions | List of all members
google::cloud::bigquery_migration_v2::MigrationServiceConnection Class Referenceabstract

The MigrationServiceConnection object for MigrationServiceClient. More...

#include <google/cloud/bigquery/migration/v2/migration_connection.h>

Public Member Functions

virtual ~MigrationServiceConnection ()=0
 
virtual Options options ()
 
virtual StatusOr< google::cloud::bigquery::migration::v2::MigrationWorkflow > CreateMigrationWorkflow (google::cloud::bigquery::migration::v2::CreateMigrationWorkflowRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::migration::v2::MigrationWorkflow > GetMigrationWorkflow (google::cloud::bigquery::migration::v2::GetMigrationWorkflowRequest const &request)
 
virtual StreamRange< google::cloud::bigquery::migration::v2::MigrationWorkflow > ListMigrationWorkflows (google::cloud::bigquery::migration::v2::ListMigrationWorkflowsRequest request)
 
virtual Status DeleteMigrationWorkflow (google::cloud::bigquery::migration::v2::DeleteMigrationWorkflowRequest const &request)
 
virtual Status StartMigrationWorkflow (google::cloud::bigquery::migration::v2::StartMigrationWorkflowRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::migration::v2::MigrationSubtask > GetMigrationSubtask (google::cloud::bigquery::migration::v2::GetMigrationSubtaskRequest const &request)
 
virtual StreamRange< google::cloud::bigquery::migration::v2::MigrationSubtask > ListMigrationSubtasks (google::cloud::bigquery::migration::v2::ListMigrationSubtasksRequest request)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~MigrationServiceConnection()

virtual google::cloud::bigquery_migration_v2::MigrationServiceConnection::~MigrationServiceConnection ( )
pure virtual

Member Function Documentation

◆ 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