public static final class DataTransferServiceGrpc.DataTransferServiceStub extends io.grpc.stub.AbstractStub<DataTransferServiceGrpc.DataTransferServiceStub>
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.DataTransferServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
checkValidCreds(CheckValidCredsRequest request,
io.grpc.stub.StreamObserver<CheckValidCredsResponse> responseObserver)
Returns true if valid credentials exist for the given data source and
requesting user.
|
void |
createTransferConfig(CreateTransferConfigRequest request,
io.grpc.stub.StreamObserver<TransferConfig> responseObserver)
Creates a new data transfer configuration.
|
void |
deleteTransferConfig(DeleteTransferConfigRequest request,
io.grpc.stub.StreamObserver<Empty> responseObserver)
Deletes a data transfer configuration,
including any associated transfer runs and logs.
|
void |
deleteTransferRun(DeleteTransferRunRequest request,
io.grpc.stub.StreamObserver<Empty> responseObserver)
Deletes the specified transfer run.
|
void |
getDataSource(GetDataSourceRequest request,
io.grpc.stub.StreamObserver<DataSource> responseObserver)
Retrieves a supported data source and returns its settings,
which can be used for UI rendering.
|
void |
getTransferConfig(GetTransferConfigRequest request,
io.grpc.stub.StreamObserver<TransferConfig> responseObserver)
Returns information about a data transfer config.
|
void |
getTransferRun(GetTransferRunRequest request,
io.grpc.stub.StreamObserver<TransferRun> responseObserver)
Returns information about the particular transfer run.
|
void |
listDataSources(ListDataSourcesRequest request,
io.grpc.stub.StreamObserver<ListDataSourcesResponse> responseObserver)
Lists supported data sources and returns their settings,
which can be used for UI rendering.
|
void |
listTransferConfigs(ListTransferConfigsRequest request,
io.grpc.stub.StreamObserver<ListTransferConfigsResponse> responseObserver)
Returns information about all data transfers in the project.
|
void |
listTransferLogs(ListTransferLogsRequest request,
io.grpc.stub.StreamObserver<ListTransferLogsResponse> responseObserver)
Returns user facing log messages for the data transfer run.
|
void |
listTransferRuns(ListTransferRunsRequest request,
io.grpc.stub.StreamObserver<ListTransferRunsResponse> responseObserver)
Returns information about running and completed jobs.
|
void |
scheduleTransferRuns(ScheduleTransferRunsRequest request,
io.grpc.stub.StreamObserver<ScheduleTransferRunsResponse> responseObserver)
Creates transfer runs for a time range [start_time, end_time].
|
void |
updateTransferConfig(UpdateTransferConfigRequest request,
io.grpc.stub.StreamObserver<TransferConfig> responseObserver)
Updates a data transfer configuration.
|
protected DataTransferServiceGrpc.DataTransferServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<DataTransferServiceGrpc.DataTransferServiceStub>
public void getDataSource(GetDataSourceRequest request, io.grpc.stub.StreamObserver<DataSource> responseObserver)
Retrieves a supported data source and returns its settings, which can be used for UI rendering.
public void listDataSources(ListDataSourcesRequest request, io.grpc.stub.StreamObserver<ListDataSourcesResponse> responseObserver)
Lists supported data sources and returns their settings, which can be used for UI rendering.
public void createTransferConfig(CreateTransferConfigRequest request, io.grpc.stub.StreamObserver<TransferConfig> responseObserver)
Creates a new data transfer configuration.
public void updateTransferConfig(UpdateTransferConfigRequest request, io.grpc.stub.StreamObserver<TransferConfig> responseObserver)
Updates a data transfer configuration. All fields must be set, even if they are not updated.
public void deleteTransferConfig(DeleteTransferConfigRequest request, io.grpc.stub.StreamObserver<Empty> responseObserver)
Deletes a data transfer configuration, including any associated transfer runs and logs.
public void getTransferConfig(GetTransferConfigRequest request, io.grpc.stub.StreamObserver<TransferConfig> responseObserver)
Returns information about a data transfer config.
public void listTransferConfigs(ListTransferConfigsRequest request, io.grpc.stub.StreamObserver<ListTransferConfigsResponse> responseObserver)
Returns information about all data transfers in the project.
public void scheduleTransferRuns(ScheduleTransferRunsRequest request, io.grpc.stub.StreamObserver<ScheduleTransferRunsResponse> responseObserver)
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 void getTransferRun(GetTransferRunRequest request, io.grpc.stub.StreamObserver<TransferRun> responseObserver)
Returns information about the particular transfer run.
public void deleteTransferRun(DeleteTransferRunRequest request, io.grpc.stub.StreamObserver<Empty> responseObserver)
Deletes the specified transfer run.
public void listTransferRuns(ListTransferRunsRequest request, io.grpc.stub.StreamObserver<ListTransferRunsResponse> responseObserver)
Returns information about running and completed jobs.
public void listTransferLogs(ListTransferLogsRequest request, io.grpc.stub.StreamObserver<ListTransferLogsResponse> responseObserver)
Returns user facing log messages for the data transfer run.
public void checkValidCreds(CheckValidCredsRequest request, io.grpc.stub.StreamObserver<CheckValidCredsResponse> responseObserver)
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.