2.7.0 (latest) 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.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](https://docs.cloud.google.com/workflows/docs/reference/rest/v1/projects.locations.workflows.md.txt).

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Execution

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Execution](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/latest/Google.Cloud.Workflows.Executions.V1.Execution.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Execution](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/latest/Google.Cloud.Workflows.Executions.V1.Execution.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Execution](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/latest/Google.Cloud.Workflows.Executions.V1.Execution.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Workflows.Executions.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/latest/Google.Cloud.Workflows.Executions.V1.md.txt)

## Assembly

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` |   |

### Duration

    public Duration Duration { get; set; }

Output only. Measures the duration of the execution.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Duration` |   |

### 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](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/latest/Google.Cloud.Workflows.Executions.V1.ExecutionName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/latest/Google.Cloud.Workflows.Executions.V1.Execution.md.txt#Google_Cloud_Workflows_Executions_V1_Execution_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ExecutionName` |   |

### Labels

    public MapField<string, string> Labels { get; }

Labels associated with this execution.
Labels can contain at most 64 entries. Keys and values can be no longer
than 63 characters and can only contain lowercase letters, numeric
characters, underscores, and dashes. Label keys must start with a letter.
International characters are allowed.
By default, labels are inherited from the workflow but are overridden by
any labels associated with the execution.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MapFieldstringstring` |   |

### 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` |   |

### StateError

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

Output only. Error regarding the state of the Execution resource. For
example, this field will have error details if the execution data is
unavailable due to revoked KMS key permissions.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ExecutionTypesStateError` |   |

### Status

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

Output only. Status tracks the current steps and progress data of this
execution.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ExecutionTypesStatus` |   |

### WorkflowRevisionId

    public string WorkflowRevisionId { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |