Class DataTransferServiceGrpc.DataTransferServiceStub

  • Enclosing class:
    DataTransferServiceGrpc

    public static final class DataTransferServiceGrpc.DataTransferServiceStub
    extends io.grpc.stub.AbstractAsyncStub<DataTransferServiceGrpc.DataTransferServiceStub>
    A stub to allow clients to do asynchronous rpc calls to service DataTransferService.
     This API allows users to manage their data transfers into BigQuery.
     
    • Method Detail

      • getDataSource

        public void getDataSource​(GetDataSourceRequest request,
                                  io.grpc.stub.StreamObserver<DataSource> responseObserver)
         Retrieves a supported data source and returns its settings.
         
      • updateTransferConfig

        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.
         
      • deleteTransferConfig

        public void deleteTransferConfig​(DeleteTransferConfigRequest request,
                                         io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Deletes a data transfer configuration, including any associated transfer
         runs and logs.
         
      • getTransferConfig

        public void getTransferConfig​(GetTransferConfigRequest request,
                                      io.grpc.stub.StreamObserver<TransferConfig> responseObserver)
         Returns information about a data transfer config.
         
      • scheduleTransferRuns

        @Deprecated
        public void scheduleTransferRuns​(ScheduleTransferRunsRequest request,
                                         io.grpc.stub.StreamObserver<ScheduleTransferRunsResponse> responseObserver)
        Deprecated.
         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.
         DEPRECATED: use StartManualTransferRuns instead.
         
      • startManualTransferRuns

        public void startManualTransferRuns​(StartManualTransferRunsRequest request,
                                            io.grpc.stub.StreamObserver<StartManualTransferRunsResponse> responseObserver)
         Start manual transfer runs to be executed now with schedule_time equal to
         current time. The transfer runs can be created for a time range where the
         run_time is between start_time (inclusive) and end_time (exclusive), or for
         a specific run_time.
         
      • getTransferRun

        public void getTransferRun​(GetTransferRunRequest request,
                                   io.grpc.stub.StreamObserver<TransferRun> responseObserver)
         Returns information about the particular transfer run.
         
      • deleteTransferRun

        public void deleteTransferRun​(DeleteTransferRunRequest request,
                                      io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Deletes the specified transfer run.
         
      • checkValidCreds

        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.
         
      • enrollDataSources

        public void enrollDataSources​(EnrollDataSourcesRequest request,
                                      io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Enroll data sources in a user project. This allows users to create transfer
         configurations for these data sources. They will also appear in the
         ListDataSources RPC and as such, will appear in the
         [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
         can be found in the public guide for
         [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
         [Data Transfer
         Service](https://cloud.google.com/bigquery/docs/working-with-transfers).