google-cloud-storage-transfer overview (1.0.4)

com.google.storagetransfer.v1.proto

The interfaces provided are listed below, along with usage samples.

StorageTransferServiceClient

Service Description: 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.

Sample for StorageTransferServiceClient:


 try (StorageTransferServiceClient storageTransferServiceClient =
     StorageTransferServiceClient.create()) {
   TransferProto.GetGoogleServiceAccountRequest request =
       TransferProto.GetGoogleServiceAccountRequest.newBuilder()
           .setProjectId("projectId-894832108")
           .build();
   TransferTypes.GoogleServiceAccount response =
       storageTransferServiceClient.getGoogleServiceAccount(request);
 }
 

com.google.storagetransfer.v1.proto.stub