[BindServiceMethod(typeof(StorageBatchOperations), "BindService")]
public abstract class StorageBatchOperations.StorageBatchOperationsBaseReference documentation and code samples for the Storage Batch Operations v1 API class StorageBatchOperations.StorageBatchOperationsBase.
Base class for server-side implementations of StorageBatchOperations
Namespace
Google.Cloud.StorageBatchOperations.V1Assembly
Google.Cloud.StorageBatchOperations.V1.dll
Methods
CancelJob(CancelJobRequest, ServerCallContext)
public virtual Task<CancelJobResponse> CancelJob(CancelJobRequest request, ServerCallContext context)Cancels a batch job.
| Parameters | |
|---|---|
| Name | Description |
request |
CancelJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskCancelJobResponse |
The response to send back to the client (wrapped by a task). |
CreateJob(CreateJobRequest, ServerCallContext)
public virtual Task<Operation> CreateJob(CreateJobRequest request, ServerCallContext context)Creates a batch job.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DeleteJob(DeleteJobRequest, ServerCallContext)
public virtual Task<Empty> DeleteJob(DeleteJobRequest request, ServerCallContext context)Deletes a batch job.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
GetJob(GetJobRequest, ServerCallContext)
public virtual Task<Job> GetJob(GetJobRequest request, ServerCallContext context)Gets a batch job.
| Parameters | |
|---|---|
| Name | Description |
request |
GetJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskJob |
The response to send back to the client (wrapped by a task). |
ListJobs(ListJobsRequest, ServerCallContext)
public virtual Task<ListJobsResponse> ListJobs(ListJobsRequest request, ServerCallContext context)Lists Jobs in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListJobsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListJobsResponse |
The response to send back to the client (wrapped by a task). |