public sealed class Execution : IMessage<Execution>, IEquatable<Execution>, IDeepCloneable<Execution>, IBufferMessage, IMessage
Reference documentation and code samples for the Workflow Executions v1 API class Execution.
A running instance of a Workflow.
Implements
IMessageExecution, IEquatableExecution, IDeepCloneableExecution, IBufferMessage, IMessageNamespace
Google.Cloud.Workflows.Executions.V1Assembly
Google.Cloud.Workflows.Executions.V1.dll
Constructors
Execution()
public Execution()
Execution(Execution)
public Execution(Execution other)
Parameter | |
---|---|
Name | Description |
other | Execution |
Properties
Argument
public string Argument { get; set; }
Input parameters of the execution represented as a JSON string. The size limit is 32KB.
Note: If you are using the REST API directly to run your workflow, you
must escape any JSON string value of argument
. Example:
'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'
Property Value | |
---|---|
Type | Description |
string |
CallLogLevel
public Execution.Types.CallLogLevel CallLogLevel { get; set; }
The call logging level associated to this execution.
Property Value | |
---|---|
Type | Description |
ExecutionTypesCallLogLevel |
EndTime
public Timestamp EndTime { get; set; }
Output only. Marks the end of execution, successful or not.
Property Value | |
---|---|
Type | Description |
Timestamp |
Error
public Execution.Types.Error Error { get; set; }
Output only. The error which caused the execution to finish prematurely.
The value is only present if the execution's state is FAILED
or CANCELLED
.
Property Value | |
---|---|
Type | Description |
ExecutionTypesError |
ExecutionName
public ExecutionName ExecutionName { get; set; }
ExecutionName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
ExecutionName |
Name
public string Name { get; set; }
Output only. The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
Property Value | |
---|---|
Type | Description |
string |
Result
public string Result { get; set; }
Output only. Output of the execution represented as a JSON string. The
value can only be present if the execution's state is SUCCEEDED
.
Property Value | |
---|---|
Type | Description |
string |
StartTime
public Timestamp StartTime { get; set; }
Output only. Marks the beginning of execution.
Property Value | |
---|---|
Type | Description |
Timestamp |
State
public Execution.Types.State State { get; set; }
Output only. Current state of the execution.
Property Value | |
---|---|
Type | Description |
ExecutionTypesState |
WorkflowRevisionId
public string WorkflowRevisionId { get; set; }
Output only. Revision of the workflow this execution is using.
Property Value | |
---|---|
Type | Description |
string |