Interface StorageTransferServiceGrpc.AsyncService

    • Method Detail

      • getGoogleServiceAccount

        default void getGoogleServiceAccount​(TransferProto.GetGoogleServiceAccountRequest request,
                                             io.grpc.stub.StreamObserver<TransferTypes.GoogleServiceAccount> responseObserver)
         Returns the Google service account that is used by Storage Transfer
         Service to access buckets in the project where transfers
         run or in other projects. Each Google service account is associated
         with one Google Cloud project. Users
         should add this service account to the Google Cloud Storage bucket
         ACLs to grant access to Storage Transfer Service. This service
         account is created and owned by Storage Transfer Service and can
         only be used by Storage Transfer Service.
         
      • updateTransferJob

        default void updateTransferJob​(TransferProto.UpdateTransferJobRequest request,
                                       io.grpc.stub.StreamObserver<TransferTypes.TransferJob> responseObserver)
         Updates a transfer job. Updating a job's transfer spec does not affect
         transfer operations that are running already.
         **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status]
         field can be modified using this RPC (for example, to set a job's status to
         [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED],
         [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or
         [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]).
         
      • pauseTransferOperation

        default void pauseTransferOperation​(TransferProto.PauseTransferOperationRequest request,
                                            io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Pauses a transfer operation.
         
      • resumeTransferOperation

        default void resumeTransferOperation​(TransferProto.ResumeTransferOperationRequest request,
                                             io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Resumes a transfer operation that is paused.
         
      • runTransferJob

        default void runTransferJob​(TransferProto.RunTransferJobRequest request,
                                    io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Starts a new operation for the specified transfer job.
         A `TransferJob` has a maximum of one active `TransferOperation`. If this
         method is called while a `TransferOperation` is active, an error is
         returned.
         
      • deleteTransferJob

        default void deleteTransferJob​(TransferProto.DeleteTransferJobRequest request,
                                       io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Deletes a transfer job. Deleting a transfer job sets its status to
         [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED].
         
      • deleteAgentPool

        default void deleteAgentPool​(TransferProto.DeleteAgentPoolRequest request,
                                     io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Deletes an agent pool.