[BindServiceMethod(typeof(Tasks), "BindService")]
public abstract class Tasks.TasksBase
Reference documentation and code samples for the Cloud Run Admin v2 API class Tasks.TasksBase.
Base class for server-side implementations of Tasks
Namespace
Google.Cloud.Run.V2Assembly
Google.Cloud.Run.V2.dll
Methods
GetTask(GetTaskRequest, ServerCallContext)
public virtual Task<Task> GetTask(GetTaskRequest request, ServerCallContext context)
Gets information about a 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 |
TaskTask | The response to send back to the client (wrapped by a task). |
ListTasks(ListTasksRequest, ServerCallContext)
public virtual Task<ListTasksResponse> ListTasks(ListTasksRequest request, ServerCallContext context)
Lists Tasks from an Execution of 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 |
TaskListTasksResponse | The response to send back to the client (wrapped by a task). |