- 1.54.0 (latest)
- 1.53.0
- 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 static final class StorageTransferServiceGrpc.StorageTransferServiceBlockingStub extends AbstractBlockingStub<StorageTransferServiceGrpc.StorageTransferServiceBlockingStub>
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.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > StorageTransferServiceGrpc.StorageTransferServiceBlockingStubMethods
build(Channel channel, CallOptions callOptions)
protected StorageTransferServiceGrpc.StorageTransferServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
StorageTransferServiceGrpc.StorageTransferServiceBlockingStub |
createAgentPool(TransferProto.CreateAgentPoolRequest request)
public TransferTypes.AgentPool createAgentPool(TransferProto.CreateAgentPoolRequest request)
Creates an agent pool resource.
Parameter | |
---|---|
Name | Description |
request |
TransferProto.CreateAgentPoolRequest |
Returns | |
---|---|
Type | Description |
TransferTypes.AgentPool |
createTransferJob(TransferProto.CreateTransferJobRequest request)
public TransferTypes.TransferJob createTransferJob(TransferProto.CreateTransferJobRequest request)
Creates a transfer job that runs periodically.
Parameter | |
---|---|
Name | Description |
request |
TransferProto.CreateTransferJobRequest |
Returns | |
---|---|
Type | Description |
TransferTypes.TransferJob |
deleteAgentPool(TransferProto.DeleteAgentPoolRequest request)
public Empty deleteAgentPool(TransferProto.DeleteAgentPoolRequest request)
Deletes an agent pool.
Parameter | |
---|---|
Name | Description |
request |
TransferProto.DeleteAgentPoolRequest |
Returns | |
---|---|
Type | Description |
Empty |
deleteTransferJob(TransferProto.DeleteTransferJobRequest request)
public Empty deleteTransferJob(TransferProto.DeleteTransferJobRequest request)
Deletes a transfer job. Deleting a transfer job sets its status to DELETED.
Parameter | |
---|---|
Name | Description |
request |
TransferProto.DeleteTransferJobRequest |
Returns | |
---|---|
Type | Description |
Empty |
getAgentPool(TransferProto.GetAgentPoolRequest request)
public TransferTypes.AgentPool getAgentPool(TransferProto.GetAgentPoolRequest request)
Gets an agent pool.
Parameter | |
---|---|
Name | Description |
request |
TransferProto.GetAgentPoolRequest |
Returns | |
---|---|
Type | Description |
TransferTypes.AgentPool |
getGoogleServiceAccount(TransferProto.GetGoogleServiceAccountRequest request)
public TransferTypes.GoogleServiceAccount getGoogleServiceAccount(TransferProto.GetGoogleServiceAccountRequest request)
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.
Parameter | |
---|---|
Name | Description |
request |
TransferProto.GetGoogleServiceAccountRequest |
Returns | |
---|---|
Type | Description |
TransferTypes.GoogleServiceAccount |
getTransferJob(TransferProto.GetTransferJobRequest request)
public TransferTypes.TransferJob getTransferJob(TransferProto.GetTransferJobRequest request)
Gets a transfer job.
Parameter | |
---|---|
Name | Description |
request |
TransferProto.GetTransferJobRequest |
Returns | |
---|---|
Type | Description |
TransferTypes.TransferJob |
listAgentPools(TransferProto.ListAgentPoolsRequest request)
public TransferProto.ListAgentPoolsResponse listAgentPools(TransferProto.ListAgentPoolsRequest request)
Lists agent pools.
Parameter | |
---|---|
Name | Description |
request |
TransferProto.ListAgentPoolsRequest |
Returns | |
---|---|
Type | Description |
TransferProto.ListAgentPoolsResponse |
listTransferJobs(TransferProto.ListTransferJobsRequest request)
public TransferProto.ListTransferJobsResponse listTransferJobs(TransferProto.ListTransferJobsRequest request)
Lists transfer jobs.
Parameter | |
---|---|
Name | Description |
request |
TransferProto.ListTransferJobsRequest |
Returns | |
---|---|
Type | Description |
TransferProto.ListTransferJobsResponse |
pauseTransferOperation(TransferProto.PauseTransferOperationRequest request)
public Empty pauseTransferOperation(TransferProto.PauseTransferOperationRequest request)
Pauses a transfer operation.
Parameter | |
---|---|
Name | Description |
request |
TransferProto.PauseTransferOperationRequest |
Returns | |
---|---|
Type | Description |
Empty |
resumeTransferOperation(TransferProto.ResumeTransferOperationRequest request)
public Empty resumeTransferOperation(TransferProto.ResumeTransferOperationRequest request)
Resumes a transfer operation that is paused.
Parameter | |
---|---|
Name | Description |
request |
TransferProto.ResumeTransferOperationRequest |
Returns | |
---|---|
Type | Description |
Empty |
runTransferJob(TransferProto.RunTransferJobRequest request)
public Operation runTransferJob(TransferProto.RunTransferJobRequest request)
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 will be returned.
Parameter | |
---|---|
Name | Description |
request |
TransferProto.RunTransferJobRequest |
Returns | |
---|---|
Type | Description |
Operation |
updateAgentPool(TransferProto.UpdateAgentPoolRequest request)
public TransferTypes.AgentPool updateAgentPool(TransferProto.UpdateAgentPoolRequest request)
Updates an existing agent pool resource.
Parameter | |
---|---|
Name | Description |
request |
TransferProto.UpdateAgentPoolRequest |
Returns | |
---|---|
Type | Description |
TransferTypes.AgentPool |
updateTransferJob(TransferProto.UpdateTransferJobRequest request)
public TransferTypes.TransferJob updateTransferJob(TransferProto.UpdateTransferJobRequest request)
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).
Parameter | |
---|---|
Name | Description |
request |
TransferProto.UpdateTransferJobRequest |
Returns | |
---|---|
Type | Description |
TransferTypes.TransferJob |