Cloud Run Admin v2 API - Class Tasks.TasksBase (2.3.0)

[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

Inheritance

object > Tasks.TasksBase

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Methods

GetTask(GetTaskRequest, ServerCallContext)

public virtual Task<Task> GetTask(GetTaskRequest request, ServerCallContext context)

Gets information about a Task.

Parameters
NameDescription
requestGetTaskRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestListTasksRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListTasksResponse

The response to send back to the client (wrapped by a task).