Google Cloud BigQuery C++ Client  2.6.0
A C++ Client Library for Google Cloud BigQuery
Public Member Functions | List of all members
google::cloud::bigquery::MigrationServiceConnection Class Referenceabstract

The MigrationServiceConnection object for MigrationServiceClient. More...

#include <google/cloud/bigquery/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_mocks::MockMigrationServiceConnection.

Definition at line 61 of file migration_connection.h.

Constructor & Destructor Documentation

◆ ~MigrationServiceConnection()

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

Member Function Documentation

◆ CreateMigrationWorkflow()

virtual StatusOr<google::cloud::bigquery::migration::v2::MigrationWorkflow> google::cloud::bigquery::MigrationServiceConnection::CreateMigrationWorkflow ( google::cloud::bigquery::migration::v2::CreateMigrationWorkflowRequest const &  request)
virtual

◆ DeleteMigrationWorkflow()

virtual Status google::cloud::bigquery::MigrationServiceConnection::DeleteMigrationWorkflow ( google::cloud::bigquery::migration::v2::DeleteMigrationWorkflowRequest const &  request)
virtual

◆ GetMigrationSubtask()

virtual StatusOr<google::cloud::bigquery::migration::v2::MigrationSubtask> google::cloud::bigquery::MigrationServiceConnection::GetMigrationSubtask ( google::cloud::bigquery::migration::v2::GetMigrationSubtaskRequest const &  request)
virtual

◆ GetMigrationWorkflow()

virtual StatusOr<google::cloud::bigquery::migration::v2::MigrationWorkflow> google::cloud::bigquery::MigrationServiceConnection::GetMigrationWorkflow ( google::cloud::bigquery::migration::v2::GetMigrationWorkflowRequest const &  request)
virtual

◆ ListMigrationSubtasks()

virtual StreamRange<google::cloud::bigquery::migration::v2::MigrationSubtask> google::cloud::bigquery::MigrationServiceConnection::ListMigrationSubtasks ( google::cloud::bigquery::migration::v2::ListMigrationSubtasksRequest  request)
virtual

◆ ListMigrationWorkflows()

virtual StreamRange<google::cloud::bigquery::migration::v2::MigrationWorkflow> google::cloud::bigquery::MigrationServiceConnection::ListMigrationWorkflows ( google::cloud::bigquery::migration::v2::ListMigrationWorkflowsRequest  request)
virtual

◆ options()

virtual Options google::cloud::bigquery::MigrationServiceConnection::options ( )
inlinevirtual

Definition at line 65 of file migration_connection.h.

◆ StartMigrationWorkflow()

virtual Status google::cloud::bigquery::MigrationServiceConnection::StartMigrationWorkflow ( google::cloud::bigquery::migration::v2::StartMigrationWorkflowRequest const &  request)
virtual