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

The DataTransferServiceConnection object for DataTransferServiceClient. More...

#include <google/cloud/bigquery/data_transfer_connection.h>

Public Member Functions

virtual ~DataTransferServiceConnection ()=0
 
virtual Options options ()
 
virtual StatusOr< google::cloud::bigquery::datatransfer::v1::DataSource > GetDataSource (google::cloud::bigquery::datatransfer::v1::GetDataSourceRequest const &request)
 
virtual StreamRange< google::cloud::bigquery::datatransfer::v1::DataSource > ListDataSources (google::cloud::bigquery::datatransfer::v1::ListDataSourcesRequest request)
 
virtual StatusOr< google::cloud::bigquery::datatransfer::v1::TransferConfig > CreateTransferConfig (google::cloud::bigquery::datatransfer::v1::CreateTransferConfigRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::datatransfer::v1::TransferConfig > UpdateTransferConfig (google::cloud::bigquery::datatransfer::v1::UpdateTransferConfigRequest const &request)
 
virtual Status DeleteTransferConfig (google::cloud::bigquery::datatransfer::v1::DeleteTransferConfigRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::datatransfer::v1::TransferConfig > GetTransferConfig (google::cloud::bigquery::datatransfer::v1::GetTransferConfigRequest const &request)
 
virtual StreamRange< google::cloud::bigquery::datatransfer::v1::TransferConfig > ListTransferConfigs (google::cloud::bigquery::datatransfer::v1::ListTransferConfigsRequest request)
 
virtual StatusOr< google::cloud::bigquery::datatransfer::v1::ScheduleTransferRunsResponse > ScheduleTransferRuns (google::cloud::bigquery::datatransfer::v1::ScheduleTransferRunsRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::datatransfer::v1::StartManualTransferRunsResponse > StartManualTransferRuns (google::cloud::bigquery::datatransfer::v1::StartManualTransferRunsRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::datatransfer::v1::TransferRun > GetTransferRun (google::cloud::bigquery::datatransfer::v1::GetTransferRunRequest const &request)
 
virtual Status DeleteTransferRun (google::cloud::bigquery::datatransfer::v1::DeleteTransferRunRequest const &request)
 
virtual StreamRange< google::cloud::bigquery::datatransfer::v1::TransferRun > ListTransferRuns (google::cloud::bigquery::datatransfer::v1::ListTransferRunsRequest request)
 
virtual StreamRange< google::cloud::bigquery::datatransfer::v1::TransferMessage > ListTransferLogs (google::cloud::bigquery::datatransfer::v1::ListTransferLogsRequest request)
 
virtual StatusOr< google::cloud::bigquery::datatransfer::v1::CheckValidCredsResponse > CheckValidCreds (google::cloud::bigquery::datatransfer::v1::CheckValidCredsRequest const &request)
 
virtual Status EnrollDataSources (google::cloud::bigquery::datatransfer::v1::EnrollDataSourcesRequest const &request)
 

Detailed Description

The DataTransferServiceConnection object for DataTransferServiceClient.

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

To create a concrete instance, see MakeDataTransferServiceConnection().

For mocking, see bigquery_mocks::MockDataTransferServiceConnection.

Definition at line 61 of file data_transfer_connection.h.

Constructor & Destructor Documentation

◆ ~DataTransferServiceConnection()

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

Member Function Documentation

◆ CheckValidCreds()

virtual StatusOr< google::cloud::bigquery::datatransfer::v1::CheckValidCredsResponse> google::cloud::bigquery::DataTransferServiceConnection::CheckValidCreds ( google::cloud::bigquery::datatransfer::v1::CheckValidCredsRequest const &  request)
virtual

◆ CreateTransferConfig()

virtual StatusOr<google::cloud::bigquery::datatransfer::v1::TransferConfig> google::cloud::bigquery::DataTransferServiceConnection::CreateTransferConfig ( google::cloud::bigquery::datatransfer::v1::CreateTransferConfigRequest const &  request)
virtual

◆ DeleteTransferConfig()

virtual Status google::cloud::bigquery::DataTransferServiceConnection::DeleteTransferConfig ( google::cloud::bigquery::datatransfer::v1::DeleteTransferConfigRequest const &  request)
virtual

◆ DeleteTransferRun()

virtual Status google::cloud::bigquery::DataTransferServiceConnection::DeleteTransferRun ( google::cloud::bigquery::datatransfer::v1::DeleteTransferRunRequest const &  request)
virtual

◆ EnrollDataSources()

virtual Status google::cloud::bigquery::DataTransferServiceConnection::EnrollDataSources ( google::cloud::bigquery::datatransfer::v1::EnrollDataSourcesRequest const &  request)
virtual

◆ GetDataSource()

virtual StatusOr<google::cloud::bigquery::datatransfer::v1::DataSource> google::cloud::bigquery::DataTransferServiceConnection::GetDataSource ( google::cloud::bigquery::datatransfer::v1::GetDataSourceRequest const &  request)
virtual

◆ GetTransferConfig()

virtual StatusOr<google::cloud::bigquery::datatransfer::v1::TransferConfig> google::cloud::bigquery::DataTransferServiceConnection::GetTransferConfig ( google::cloud::bigquery::datatransfer::v1::GetTransferConfigRequest const &  request)
virtual

◆ GetTransferRun()

virtual StatusOr<google::cloud::bigquery::datatransfer::v1::TransferRun> google::cloud::bigquery::DataTransferServiceConnection::GetTransferRun ( google::cloud::bigquery::datatransfer::v1::GetTransferRunRequest const &  request)
virtual

◆ ListDataSources()

virtual StreamRange<google::cloud::bigquery::datatransfer::v1::DataSource> google::cloud::bigquery::DataTransferServiceConnection::ListDataSources ( google::cloud::bigquery::datatransfer::v1::ListDataSourcesRequest  request)
virtual

◆ ListTransferConfigs()

virtual StreamRange<google::cloud::bigquery::datatransfer::v1::TransferConfig> google::cloud::bigquery::DataTransferServiceConnection::ListTransferConfigs ( google::cloud::bigquery::datatransfer::v1::ListTransferConfigsRequest  request)
virtual

◆ ListTransferLogs()

virtual StreamRange< google::cloud::bigquery::datatransfer::v1::TransferMessage> google::cloud::bigquery::DataTransferServiceConnection::ListTransferLogs ( google::cloud::bigquery::datatransfer::v1::ListTransferLogsRequest  request)
virtual

◆ ListTransferRuns()

virtual StreamRange<google::cloud::bigquery::datatransfer::v1::TransferRun> google::cloud::bigquery::DataTransferServiceConnection::ListTransferRuns ( google::cloud::bigquery::datatransfer::v1::ListTransferRunsRequest  request)
virtual

◆ options()

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

Definition at line 65 of file data_transfer_connection.h.

◆ ScheduleTransferRuns()

virtual StatusOr< google::cloud::bigquery::datatransfer::v1::ScheduleTransferRunsResponse> google::cloud::bigquery::DataTransferServiceConnection::ScheduleTransferRuns ( google::cloud::bigquery::datatransfer::v1::ScheduleTransferRunsRequest const &  request)
virtual

◆ StartManualTransferRuns()

virtual StatusOr<google::cloud::bigquery::datatransfer::v1:: StartManualTransferRunsResponse> google::cloud::bigquery::DataTransferServiceConnection::StartManualTransferRuns ( google::cloud::bigquery::datatransfer::v1::StartManualTransferRunsRequest const &  request)
virtual

◆ UpdateTransferConfig()

virtual StatusOr<google::cloud::bigquery::datatransfer::v1::TransferConfig> google::cloud::bigquery::DataTransferServiceConnection::UpdateTransferConfig ( google::cloud::bigquery::datatransfer::v1::UpdateTransferConfigRequest const &  request)
virtual