[BindServiceMethod(typeof(BatchService), "BindService")]
public abstract class BatchService.BatchServiceBaseReference documentation and code samples for the Batch v1alpha API class BatchService.BatchServiceBase.
Base class for server-side implementations of BatchService
Namespace
Google.Cloud.Batch.V1AlphaAssembly
Google.Cloud.Batch.V1Alpha.dll
Methods
CancelJob(CancelJobRequest, ServerCallContext)
public virtual Task<Operation> CancelJob(CancelJobRequest request, ServerCallContext context)Cancel a 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 |
TaskOperation |
The response to send back to the client (wrapped by a task). |
CreateJob(CreateJobRequest, ServerCallContext)
public virtual Task<Job> CreateJob(CreateJobRequest request, ServerCallContext context)Create a 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 |
TaskJob |
The response to send back to the client (wrapped by a task). |
CreateResourceAllowance(CreateResourceAllowanceRequest, ServerCallContext)
public virtual Task<ResourceAllowance> CreateResourceAllowance(CreateResourceAllowanceRequest request, ServerCallContext context)Create a Resource Allowance.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateResourceAllowanceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskResourceAllowance |
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 |
DeleteJobRequestThe 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). |
DeleteResourceAllowance(DeleteResourceAllowanceRequest, ServerCallContext)
public virtual Task<Operation> DeleteResourceAllowance(DeleteResourceAllowanceRequest request, ServerCallContext context)Delete a ResourceAllowance.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteResourceAllowanceRequestThe 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). |
GetJob(GetJobRequest, ServerCallContext)
public virtual Task<Job> GetJob(GetJobRequest request, ServerCallContext context)Get a Job specified by its resource name.
| 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). |
GetResourceAllowance(GetResourceAllowanceRequest, ServerCallContext)
public virtual Task<ResourceAllowance> GetResourceAllowance(GetResourceAllowanceRequest request, ServerCallContext context)Get a ResourceAllowance specified by its resource name.
| Parameters | |
|---|---|
| Name | Description |
request |
GetResourceAllowanceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskResourceAllowance |
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 |
GetTaskRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTask |
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 |
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). |
ListResourceAllowances(ListResourceAllowancesRequest, ServerCallContext)
public virtual Task<ListResourceAllowancesResponse> ListResourceAllowances(ListResourceAllowancesRequest request, ServerCallContext context)List all ResourceAllowances for a project within a region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListResourceAllowancesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListResourceAllowancesResponse |
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 |
ListTasksRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListTasksResponse |
The response to send back to the client (wrapped by a task). |
UpdateJob(UpdateJobRequest, ServerCallContext)
public virtual Task<Job> UpdateJob(UpdateJobRequest request, ServerCallContext context)Update a Job.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateJobRequestThe 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). |
UpdateResourceAllowance(UpdateResourceAllowanceRequest, ServerCallContext)
public virtual Task<ResourceAllowance> UpdateResourceAllowance(UpdateResourceAllowanceRequest request, ServerCallContext context)Update a Resource Allowance.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateResourceAllowanceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskResourceAllowance |
The response to send back to the client (wrapped by a task). |