public static final class DataTransferServiceGrpc.DataTransferServiceFutureStub extends io.grpc.stub.AbstractStub<DataTransferServiceGrpc.DataTransferServiceFutureStub>
The Google BigQuery Data Transfer Service API enables BigQuery users to configure the transfer of their data from other Google Products into BigQuery. This service contains methods that are end user exposed. It backs up the frontend.
Modifier and Type | Method and Description |
---|---|
protected DataTransferServiceGrpc.DataTransferServiceFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<CheckValidCredsResponse> |
checkValidCreds(CheckValidCredsRequest request)
Returns true if valid credentials exist for the given data source and
requesting user.
|
com.google.common.util.concurrent.ListenableFuture<TransferConfig> |
createTransferConfig(CreateTransferConfigRequest request)
Creates a new data transfer configuration.
|
com.google.common.util.concurrent.ListenableFuture<Empty> |
deleteTransferConfig(DeleteTransferConfigRequest request)
Deletes a data transfer configuration,
including any associated transfer runs and logs.
|
com.google.common.util.concurrent.ListenableFuture<Empty> |
deleteTransferRun(DeleteTransferRunRequest request)
Deletes the specified transfer run.
|
com.google.common.util.concurrent.ListenableFuture<DataSource> |
getDataSource(GetDataSourceRequest request)
Retrieves a supported data source and returns its settings,
which can be used for UI rendering.
|
com.google.common.util.concurrent.ListenableFuture<TransferConfig> |
getTransferConfig(GetTransferConfigRequest request)
Returns information about a data transfer config.
|
com.google.common.util.concurrent.ListenableFuture<TransferRun> |
getTransferRun(GetTransferRunRequest request)
Returns information about the particular transfer run.
|
com.google.common.util.concurrent.ListenableFuture<ListDataSourcesResponse> |
listDataSources(ListDataSourcesRequest request)
Lists supported data sources and returns their settings,
which can be used for UI rendering.
|
com.google.common.util.concurrent.ListenableFuture<ListTransferConfigsResponse> |
listTransferConfigs(ListTransferConfigsRequest request)
Returns information about all data transfers in the project.
|
com.google.common.util.concurrent.ListenableFuture<ListTransferLogsResponse> |
listTransferLogs(ListTransferLogsRequest request)
Returns user facing log messages for the data transfer run.
|
com.google.common.util.concurrent.ListenableFuture<ListTransferRunsResponse> |
listTransferRuns(ListTransferRunsRequest request)
Returns information about running and completed jobs.
|
com.google.common.util.concurrent.ListenableFuture<ScheduleTransferRunsResponse> |
scheduleTransferRuns(ScheduleTransferRunsRequest request)
Creates transfer runs for a time range [start_time, end_time].
|
com.google.common.util.concurrent.ListenableFuture<TransferConfig> |
updateTransferConfig(UpdateTransferConfigRequest request)
Updates a data transfer configuration.
|
protected DataTransferServiceGrpc.DataTransferServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<DataTransferServiceGrpc.DataTransferServiceFutureStub>
public com.google.common.util.concurrent.ListenableFuture<DataSource> getDataSource(GetDataSourceRequest request)
Retrieves a supported data source and returns its settings, which can be used for UI rendering.
public com.google.common.util.concurrent.ListenableFuture<ListDataSourcesResponse> listDataSources(ListDataSourcesRequest request)
Lists supported data sources and returns their settings, which can be used for UI rendering.
public com.google.common.util.concurrent.ListenableFuture<TransferConfig> createTransferConfig(CreateTransferConfigRequest request)
Creates a new data transfer configuration.
public com.google.common.util.concurrent.ListenableFuture<TransferConfig> updateTransferConfig(UpdateTransferConfigRequest request)
Updates a data transfer configuration. All fields must be set, even if they are not updated.
public com.google.common.util.concurrent.ListenableFuture<Empty> deleteTransferConfig(DeleteTransferConfigRequest request)
Deletes a data transfer configuration, including any associated transfer runs and logs.
public com.google.common.util.concurrent.ListenableFuture<TransferConfig> getTransferConfig(GetTransferConfigRequest request)
Returns information about a data transfer config.
public com.google.common.util.concurrent.ListenableFuture<ListTransferConfigsResponse> listTransferConfigs(ListTransferConfigsRequest request)
Returns information about all data transfers in the project.
public com.google.common.util.concurrent.ListenableFuture<ScheduleTransferRunsResponse> scheduleTransferRuns(ScheduleTransferRunsRequest request)
Creates transfer runs for a time range [start_time, end_time]. For each date - or whatever granularity the data source supports - in the range, one transfer run is created. Note that runs are created per UTC time in the time range.
public com.google.common.util.concurrent.ListenableFuture<TransferRun> getTransferRun(GetTransferRunRequest request)
Returns information about the particular transfer run.
public com.google.common.util.concurrent.ListenableFuture<Empty> deleteTransferRun(DeleteTransferRunRequest request)
Deletes the specified transfer run.
public com.google.common.util.concurrent.ListenableFuture<ListTransferRunsResponse> listTransferRuns(ListTransferRunsRequest request)
Returns information about running and completed jobs.
public com.google.common.util.concurrent.ListenableFuture<ListTransferLogsResponse> listTransferLogs(ListTransferLogsRequest request)
Returns user facing log messages for the data transfer run.
public com.google.common.util.concurrent.ListenableFuture<CheckValidCredsResponse> checkValidCreds(CheckValidCredsRequest request)
Returns true if valid credentials exist for the given data source and requesting user. Some data sources doesn't support service account, so we need to talk to them on behalf of the end user. This API just checks whether we have OAuth token for the particular user, which is a pre-requisite before user can create a transfer config.