[BindServiceMethod(typeof(Tasks), "BindService")]
public abstract class Tasks.TasksBaseReference documentation and code samples for the Cloud Run Admin v2 API class Tasks.TasksBase.
Base class for server-side implementations of Tasks
Namespace
GoogleCloudGoogle.Cloud.RunV2Assembly
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 |
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). |
ListTasks(ListTasksRequest, ServerCallContext)
public virtual Task<ListTasksResponse> ListTasks(ListTasksRequest request, ServerCallContext context)Lists Tasks from an Execution of 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). |