[BindServiceMethod(typeof(Executions), "BindService")]
public abstract class 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 | CancelExecutionRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Execution> | 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 | CreateExecutionRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Execution> | 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 | GetExecutionRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Execution> | 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 | ListExecutionsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListExecutionsResponse> | The response to send back to the client (wrapped by a task). |