Class DataTransferServiceGrpc.DataTransferServiceFutureStub

  • Enclosing class:
    DataTransferServiceGrpc

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

      • getDataSource

        public com.google.common.util.concurrent.ListenableFuture<DataSource> getDataSource​(GetDataSourceRequest request)
         Retrieves a supported data source and returns its settings.
         
      • updateTransferConfig

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

        public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteTransferConfig​(DeleteTransferConfigRequest request)
         Deletes a data transfer configuration, including any associated transfer
         runs and logs.
         
      • getTransferConfig

        public com.google.common.util.concurrent.ListenableFuture<TransferConfig> getTransferConfig​(GetTransferConfigRequest request)
         Returns information about a data transfer config.
         
      • scheduleTransferRuns

        @Deprecated
        public com.google.common.util.concurrent.ListenableFuture<ScheduleTransferRunsResponse> scheduleTransferRuns​(ScheduleTransferRunsRequest request)
        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 com.google.common.util.concurrent.ListenableFuture<StartManualTransferRunsResponse> startManualTransferRuns​(StartManualTransferRunsRequest request)
         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 com.google.common.util.concurrent.ListenableFuture<TransferRun> getTransferRun​(GetTransferRunRequest request)
         Returns information about the particular transfer run.
         
      • deleteTransferRun

        public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteTransferRun​(DeleteTransferRunRequest request)
         Deletes the specified transfer run.
         
      • checkValidCreds

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

        public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> enrollDataSources​(EnrollDataSourcesRequest request)
         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).