Storage Batch Operations v1 API - Class StorageBatchOperations.StorageBatchOperationsBase (1.0.0-beta01)

[BindServiceMethod(typeof(StorageBatchOperations), "BindService")]
public abstract class StorageBatchOperations.StorageBatchOperationsBase

Reference documentation and code samples for the Storage Batch Operations v1 API class StorageBatchOperations.StorageBatchOperationsBase.

Base class for server-side implementations of StorageBatchOperations

Inheritance

object > StorageBatchOperations.StorageBatchOperationsBase

Namespace

Google.Cloud.StorageBatchOperations.V1

Assembly

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 CancelJobRequest

The request received from the client.

context ServerCallContext

The 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 CreateJobRequest

The request received from the client.

context ServerCallContext

The 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 DeleteJobRequest

The request received from the client.

context ServerCallContext

The 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 GetJobRequest

The request received from the client.

context ServerCallContext

The 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 ListJobsRequest

The request received from the client.

context ServerCallContext

The 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).