public sealed class ExecutionsClientImpl : ExecutionsClient
Executions client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Workflows.Executions.V1BetaAssembly
Google.Cloud.Workflows.Executions.V1Beta.dll
Remarks
Executions is used to start and manage running instances of [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
Constructors
ExecutionsClientImpl(Executions.ExecutionsClient, ExecutionsSettings)
public ExecutionsClientImpl(Executions.ExecutionsClient grpcClient, ExecutionsSettings settings)
Constructs a client wrapper for the Executions service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | Executions.ExecutionsClient The underlying gRPC client. |
settings | ExecutionsSettings The base ExecutionsSettings used within this client. |
Properties
GrpcClient
public override Executions.ExecutionsClient GrpcClient { get; }
The underlying gRPC Executions client
Property Value | |
---|---|
Type | Description |
Executions.ExecutionsClient |
Methods
CancelExecution(CancelExecutionRequest, CallSettings)
public override Execution CancelExecution(CancelExecutionRequest request, CallSettings callSettings = null)
Cancels an execution of the given name.
Parameters | |
---|---|
Name | Description |
request | CancelExecutionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Execution | The RPC response. |
CancelExecutionAsync(CancelExecutionRequest, CallSettings)
public override Task<Execution> CancelExecutionAsync(CancelExecutionRequest request, CallSettings callSettings = null)
Cancels an execution of the given name.
Parameters | |
---|---|
Name | Description |
request | CancelExecutionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Execution> | A Task containing the RPC response. |
CreateExecution(CreateExecutionRequest, CallSettings)
public override Execution CreateExecution(CreateExecutionRequest request, CallSettings callSettings = null)
Creates a new execution using the latest revision of the given workflow.
Parameters | |
---|---|
Name | Description |
request | CreateExecutionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Execution | The RPC response. |
CreateExecutionAsync(CreateExecutionRequest, CallSettings)
public override Task<Execution> CreateExecutionAsync(CreateExecutionRequest request, CallSettings callSettings = null)
Creates a new execution using the latest revision of the given workflow.
Parameters | |
---|---|
Name | Description |
request | CreateExecutionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Execution> | A Task containing the RPC response. |
GetExecution(GetExecutionRequest, CallSettings)
public override Execution GetExecution(GetExecutionRequest request, CallSettings callSettings = null)
Returns an execution of the given name.
Parameters | |
---|---|
Name | Description |
request | GetExecutionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Execution | The RPC response. |
GetExecutionAsync(GetExecutionRequest, CallSettings)
public override Task<Execution> GetExecutionAsync(GetExecutionRequest request, CallSettings callSettings = null)
Returns an execution of the given name.
Parameters | |
---|---|
Name | Description |
request | GetExecutionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Execution> | A Task containing the RPC response. |
ListExecutions(ListExecutionsRequest, CallSettings)
public override PagedEnumerable<ListExecutionsResponse, Execution> ListExecutions(ListExecutionsRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListExecutionsResponse, Execution> | A pageable sequence of Execution resources. |
ListExecutionsAsync(ListExecutionsRequest, CallSettings)
public override PagedAsyncEnumerable<ListExecutionsResponse, Execution> ListExecutionsAsync(ListExecutionsRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListExecutionsResponse, Execution> | A pageable asynchronous sequence of Execution resources. |