Cloud Run Admin v2 API - Class Executions.ExecutionsBase (2.12.0)

[BindServiceMethod(typeof(Executions), "BindService")]
public abstract class Executions.ExecutionsBase

Reference documentation and code samples for the Cloud Run Admin v2 API class Executions.ExecutionsBase.

Base class for server-side implementations of Executions

Inheritance

object > Executions.ExecutionsBase

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Methods

CancelExecution(CancelExecutionRequest, ServerCallContext)

public virtual Task<Operation> CancelExecution(CancelExecutionRequest request, ServerCallContext context)

Cancels an Execution.

Parameters
Name Description
request CancelExecutionRequest

The request received from the client.

context ServerCallContext

The 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).

DeleteExecution(DeleteExecutionRequest, ServerCallContext)

public virtual Task<Operation> DeleteExecution(DeleteExecutionRequest request, ServerCallContext context)

Deletes an Execution.

Parameters
Name Description
request DeleteExecutionRequest

The request received from the client.

context ServerCallContext

The 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).

GetExecution(GetExecutionRequest, ServerCallContext)

public virtual Task<Execution> GetExecution(GetExecutionRequest request, ServerCallContext context)

Gets information about an Execution.

Parameters
Name Description
request GetExecutionRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskExecution

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

ListExecutions(ListExecutionsRequest, ServerCallContext)

public virtual Task<ListExecutionsResponse> ListExecutions(ListExecutionsRequest request, ServerCallContext context)

Lists Executions from a Job. Results are sorted by creation time, descending.

Parameters
Name Description
request ListExecutionsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListExecutionsResponse

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