[BindServiceMethod(typeof(Executions), "BindService")]
public abstract class Executions.ExecutionsBaseReference documentation and code samples for the Workflow Executions v1 API class Executions.ExecutionsBase.
Base class for server-side implementations of Executions
Namespace
Google.Cloud.Workflows.Executions.V1Assembly
Google.Cloud.Workflows.Executions.V1.dll
Methods
CancelExecution(CancelExecutionRequest, ServerCallContext)
public virtual Task<Execution> CancelExecution(CancelExecutionRequest request, ServerCallContext context)Cancels an execution of the given name.
| Parameters | |
|---|---|
| Name | Description |
request |
CancelExecutionRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
CreateExecution(CreateExecutionRequest, ServerCallContext)
public virtual Task<Execution> CreateExecution(CreateExecutionRequest request, ServerCallContext context)Creates a new execution using the latest revision of the given workflow.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateExecutionRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
GetExecution(GetExecutionRequest, ServerCallContext)
public virtual Task<Execution> GetExecution(GetExecutionRequest request, ServerCallContext context)Returns an execution of the given name.
| Parameters | |
|---|---|
| Name | Description |
request |
GetExecutionRequestThe request received from the client. |
context |
ServerCallContextThe 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)Returns a list of executions which belong to the workflow with the given name. The method returns executions of all workflow revisions. Returned executions are ordered by their start time (newest first).
| Parameters | |
|---|---|
| Name | Description |
request |
ListExecutionsRequestThe request received from the client. |
context |
ServerCallContextThe 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). |