Batch v1 API - Class BatchService.BatchServiceBase (2.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
[BindServiceMethod(typeof(BatchService), "BindService")]
public abstract class BatchService.BatchServiceBaseReference documentation and code samples for the Batch v1 API class BatchService.BatchServiceBase.
Base class for server-side implementations of BatchService
Namespace
Google.Cloud.Batch.V1Assembly
Google.Cloud.Batch.V1.dll
Methods
CreateJob(CreateJobRequest, ServerCallContext)
public virtual Task<Job> CreateJob(CreateJobRequest request, ServerCallContext context)Create a 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 |
Task Job |
The response to send back to the client (wrapped by a task). |
DeleteJob(DeleteJobRequest, ServerCallContext)
public virtual Task<Operation> DeleteJob(DeleteJobRequest request, ServerCallContext context)Delete a 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 |
Task Operation |
The response to send back to the client (wrapped by a task). |
GetJob(GetJobRequest, ServerCallContext)
public virtual Task<Job> GetJob(GetJobRequest request, ServerCallContext context)Get a Job specified by its resource name.
| 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 |
Task Job |
The response to send back to the client (wrapped by a task). |
GetTask(GetTaskRequest, ServerCallContext)
public virtual Task<Task> GetTask(GetTaskRequest request, ServerCallContext context)Return a single Task.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTaskRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task Task |
The response to send back to the client (wrapped by a task). |
ListJobs(ListJobsRequest, ServerCallContext)
public virtual Task<ListJobsResponse> ListJobs(ListJobsRequest request, ServerCallContext context)List all Jobs for a project within a region.
| 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 |
Task ListJobsResponse |
The response to send back to the client (wrapped by a task). |
ListTasks(ListTasksRequest, ServerCallContext)
public virtual Task<ListTasksResponse> ListTasks(ListTasksRequest request, ServerCallContext context)List Tasks associated with a job.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTasksRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task ListTasksResponse |
The response to send back to the client (wrapped by a task). |