- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.0.4
public abstract static class StorageTransferServiceGrpc.StorageTransferServiceImplBase implements BindableService
Storage Transfer Service and its protos. Transfers data between between Google Cloud Storage buckets or from a data source external to Google to a Cloud Storage bucket.
Implements
io.grpc.BindableServiceConstructors
StorageTransferServiceImplBase()
public StorageTransferServiceImplBase()
Methods
bindService()
public final ServerServiceDefinition bindService()
Type | Description |
io.grpc.ServerServiceDefinition |
createTransferJob(TransferProto.CreateTransferJobRequest request, StreamObserver<TransferTypes.TransferJob> responseObserver)
public void createTransferJob(TransferProto.CreateTransferJobRequest request, StreamObserver<TransferTypes.TransferJob> responseObserver)
Creates a transfer job that runs periodically.
Name | Description |
request | TransferProto.CreateTransferJobRequest |
responseObserver | io.grpc.stub.StreamObserver<TransferJob> |
getGoogleServiceAccount(TransferProto.GetGoogleServiceAccountRequest request, StreamObserver<TransferTypes.GoogleServiceAccount> responseObserver)
public void getGoogleServiceAccount(TransferProto.GetGoogleServiceAccountRequest request, 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 Platform Console 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.
Name | Description |
request | TransferProto.GetGoogleServiceAccountRequest |
responseObserver | io.grpc.stub.StreamObserver<GoogleServiceAccount> |
getTransferJob(TransferProto.GetTransferJobRequest request, StreamObserver<TransferTypes.TransferJob> responseObserver)
public void getTransferJob(TransferProto.GetTransferJobRequest request, StreamObserver<TransferTypes.TransferJob> responseObserver)
Gets a transfer job.
Name | Description |
request | TransferProto.GetTransferJobRequest |
responseObserver | io.grpc.stub.StreamObserver<TransferJob> |
listTransferJobs(TransferProto.ListTransferJobsRequest request, StreamObserver<TransferProto.ListTransferJobsResponse> responseObserver)
public void listTransferJobs(TransferProto.ListTransferJobsRequest request, StreamObserver<TransferProto.ListTransferJobsResponse> responseObserver)
Lists transfer jobs.
Name | Description |
request | TransferProto.ListTransferJobsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListTransferJobsResponse> |
pauseTransferOperation(TransferProto.PauseTransferOperationRequest request, StreamObserver<Empty> responseObserver)
public void pauseTransferOperation(TransferProto.PauseTransferOperationRequest request, StreamObserver<Empty> responseObserver)
Pauses a transfer operation.
Name | Description |
request | TransferProto.PauseTransferOperationRequest |
responseObserver | io.grpc.stub.StreamObserver<Empty> |
resumeTransferOperation(TransferProto.ResumeTransferOperationRequest request, StreamObserver<Empty> responseObserver)
public void resumeTransferOperation(TransferProto.ResumeTransferOperationRequest request, StreamObserver<Empty> responseObserver)
Resumes a transfer operation that is paused.
Name | Description |
request | TransferProto.ResumeTransferOperationRequest |
responseObserver | io.grpc.stub.StreamObserver<Empty> |
runTransferJob(TransferProto.RunTransferJobRequest request, StreamObserver<Operation> responseObserver)
public void runTransferJob(TransferProto.RunTransferJobRequest request, StreamObserver<Operation> responseObserver)
Attempts to start a new TransferOperation for the current TransferJob. A TransferJob has a maximum of one active TransferOperation. If this method is called while a TransferOperation is active, an error wil be returned.
Name | Description |
request | TransferProto.RunTransferJobRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
updateTransferJob(TransferProto.UpdateTransferJobRequest request, StreamObserver<TransferTypes.TransferJob> responseObserver)
public void updateTransferJob(TransferProto.UpdateTransferJobRequest request, 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 field can be modified using this RPC (for example, to set a job's status to DELETED, DISABLED, or ENABLED).
Name | Description |
request | TransferProto.UpdateTransferJobRequest |
responseObserver | io.grpc.stub.StreamObserver<TransferJob> |