Workflow Executions v1 API - Class Execution (2.1.0)

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.

Inheritance

object > Execution

Namespace

GoogleGoogle.CloudGoogle.Cloud.WorkflowsGoogle.Cloud.Workflows.ExecutionsV1

Assembly

Google.Cloud.Workflows.Executions.V1.dll

Constructors

Execution()

public Execution()

Execution(Execution)

public Execution(Execution other)
Parameter
NameDescription
otherExecution

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: &apos;{&quot;argument&quot;:&quot;{\&quot;firstName\&quot;:\&quot;FIRST\&quot;,\&quot;lastName\&quot;:\&quot;LAST\&quot;}&quot;}&apos;

Property Value
TypeDescription
string

CallLogLevel

public Execution.Types.CallLogLevel CallLogLevel { get; set; }

The call logging level associated to this execution.

Property Value
TypeDescription
ExecutionTypesCallLogLevel

EndTime

public Timestamp EndTime { get; set; }

Output only. Marks the end of execution, successful or not.

Property Value
TypeDescription
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
TypeDescription
ExecutionTypesError

ExecutionName

public ExecutionName ExecutionName { get; set; }

ExecutionName-typed view over the Name resource name property.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
string

StartTime

public Timestamp StartTime { get; set; }

Output only. Marks the beginning of execution.

Property Value
TypeDescription
Timestamp

State

public Execution.Types.State State { get; set; }

Output only. Current state of the execution.

Property Value
TypeDescription
ExecutionTypesState

WorkflowRevisionId

public string WorkflowRevisionId { get; set; }

Output only. Revision of the workflow this execution is using.

Property Value
TypeDescription
string