Class DataTransferServiceConnection (2.22.0)

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_datatransfer_v1_mocks::MockDataTransferServiceConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual GetDataSource(google::cloud::bigquery::datatransfer::v1::GetDataSourceRequest const &)

Parameter
NameDescription
request google::cloud::bigquery::datatransfer::v1::GetDataSourceRequest const &
Returns
TypeDescription
StatusOr< google::cloud::bigquery::datatransfer::v1::DataSource >

virtual ListDataSources(google::cloud::bigquery::datatransfer::v1::ListDataSourcesRequest)

Parameter
NameDescription
request google::cloud::bigquery::datatransfer::v1::ListDataSourcesRequest
Returns
TypeDescription
StreamRange< google::cloud::bigquery::datatransfer::v1::DataSource >

virtual CreateTransferConfig(google::cloud::bigquery::datatransfer::v1::CreateTransferConfigRequest const &)

Parameter
NameDescription
request google::cloud::bigquery::datatransfer::v1::CreateTransferConfigRequest const &
Returns
TypeDescription
StatusOr< google::cloud::bigquery::datatransfer::v1::TransferConfig >

virtual UpdateTransferConfig(google::cloud::bigquery::datatransfer::v1::UpdateTransferConfigRequest const &)

Parameter
NameDescription
request google::cloud::bigquery::datatransfer::v1::UpdateTransferConfigRequest const &
Returns
TypeDescription
StatusOr< google::cloud::bigquery::datatransfer::v1::TransferConfig >

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

Parameter
NameDescription
request google::cloud::bigquery::datatransfer::v1::DeleteTransferConfigRequest const &
Returns
TypeDescription
Status

virtual GetTransferConfig(google::cloud::bigquery::datatransfer::v1::GetTransferConfigRequest const &)

Parameter
NameDescription
request google::cloud::bigquery::datatransfer::v1::GetTransferConfigRequest const &
Returns
TypeDescription
StatusOr< google::cloud::bigquery::datatransfer::v1::TransferConfig >

virtual ListTransferConfigs(google::cloud::bigquery::datatransfer::v1::ListTransferConfigsRequest)

Parameter
NameDescription
request google::cloud::bigquery::datatransfer::v1::ListTransferConfigsRequest
Returns
TypeDescription
StreamRange< google::cloud::bigquery::datatransfer::v1::TransferConfig >

virtual ScheduleTransferRuns(google::cloud::bigquery::datatransfer::v1::ScheduleTransferRunsRequest const &)

Parameter
NameDescription
request google::cloud::bigquery::datatransfer::v1::ScheduleTransferRunsRequest const &
Returns
TypeDescription
StatusOr< google::cloud::bigquery::datatransfer::v1::ScheduleTransferRunsResponse >

virtual StartManualTransferRuns(google::cloud::bigquery::datatransfer::v1::StartManualTransferRunsRequest const &)

Parameter
NameDescription
request google::cloud::bigquery::datatransfer::v1::StartManualTransferRunsRequest const &
Returns
TypeDescription
StatusOr< google::cloud::bigquery::datatransfer::v1::StartManualTransferRunsResponse >

virtual GetTransferRun(google::cloud::bigquery::datatransfer::v1::GetTransferRunRequest const &)

Parameter
NameDescription
request google::cloud::bigquery::datatransfer::v1::GetTransferRunRequest const &
Returns
TypeDescription
StatusOr< google::cloud::bigquery::datatransfer::v1::TransferRun >

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

Parameter
NameDescription
request google::cloud::bigquery::datatransfer::v1::DeleteTransferRunRequest const &
Returns
TypeDescription
Status

virtual ListTransferRuns(google::cloud::bigquery::datatransfer::v1::ListTransferRunsRequest)

Parameter
NameDescription
request google::cloud::bigquery::datatransfer::v1::ListTransferRunsRequest
Returns
TypeDescription
StreamRange< google::cloud::bigquery::datatransfer::v1::TransferRun >

virtual ListTransferLogs(google::cloud::bigquery::datatransfer::v1::ListTransferLogsRequest)

Parameter
NameDescription
request google::cloud::bigquery::datatransfer::v1::ListTransferLogsRequest
Returns
TypeDescription
StreamRange< google::cloud::bigquery::datatransfer::v1::TransferMessage >

virtual CheckValidCreds(google::cloud::bigquery::datatransfer::v1::CheckValidCredsRequest const &)

Parameter
NameDescription
request google::cloud::bigquery::datatransfer::v1::CheckValidCredsRequest const &
Returns
TypeDescription
StatusOr< google::cloud::bigquery::datatransfer::v1::CheckValidCredsResponse >

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

Parameter
NameDescription
request google::cloud::bigquery::datatransfer::v1::EnrollDataSourcesRequest const &
Returns
TypeDescription
Status

virtual UnenrollDataSources(google::cloud::bigquery::datatransfer::v1::UnenrollDataSourcesRequest const &)

Parameter
NameDescription
request google::cloud::bigquery::datatransfer::v1::UnenrollDataSourcesRequest const &
Returns
TypeDescription
Status