Resource: TaskExecution
Execution of a single task within an integration
| JSON representation | 
|---|
| { "name": string, "taskExecutionMetadata": { object ( | 
| Fields | |
|---|---|
| name | 
 Identifier. Task execution resource name. | 
| taskExecutionMetadata | 
 Optional. Metadata of the task execution. | 
| variables | 
 Optional. Variables used during the execution. | 
| taskExecutionDetails[] | 
 Details of the task execution. | 
TaskExecutionMetadata
Metadata of the task execution.
| JSON representation | 
|---|
| { "taskNumber": string, "task": string, "executionAttempt": integer, "taskAttempt": integer, "taskLabel": string, "ancestorTaskNumbers": [ string ], "ancestorIterationNumbers": [ string ], "privateIntegrationName": string } | 
| Fields | |
|---|---|
| taskNumber | 
 The task number associated with this execution. | 
| task | 
 The task name associated with this execution. | 
| executionAttempt | 
 The execution attempt number this execution belongs to. | 
| taskAttempt | 
 The task attempt number this execution belongs to. | 
| taskLabel | 
 The task label associated with this execution. | 
| ancestorTaskNumbers[] | 
 Optional. Ancestor task number for the task (it will only be non-empty if the task is under 'private integration'). | 
| ancestorIterationNumbers[] | 
 Optional. Ancestor iteration number for the task (it will only be non-empty if the task is under 'private integration'). | 
| privateIntegrationName | 
 Optional. The direct integration which the execution belongs to. | 
TaskExecutionDetails
Details of the task execution.
| JSON representation | 
|---|
| { "taskNumber": string, "taskExecutionState": enum ( | 
| Fields | |
|---|---|
| taskNumber | 
 Pointer to the task config it used for execution. | 
| taskExecutionState | 
 Output only. The execution state of this task. | 
| taskAttemptStats[] | 
 List for the current task execution attempts. | 
State
Enum State for task execution.
| Enums | |
|---|---|
| STATE_UNSPECIFIED | Default value. | 
| IN_PROCESS | Task is under processing. | 
| SUCCEED | Task execution successfully finished. There are no more changes after this state. | 
| FAILED | Task execution failed. There's no more change after this state. | 
| FATAL | Task execution failed and cause the whole integration execution to fail immediately. There's no more change after this state. | 
| RETRY_ON_HOLD | Task execution failed and is waiting for retry. | 
| CANCELLED | Task execution cancelled when in progress. This happens when integration execution was cancelled or any other task fell into a fatal state. | 
| SUSPENDED | Task is a SuspensionTask which has executed once, creating a pending suspension. | 
AttemptStats
Status for the execution attempt.
| JSON representation | 
|---|
| { "startTime": string, "endTime": string } | 
| Fields | |
|---|---|
| startTime | 
 The start time of the execution for the current attempt. This could be in the future if it's been scheduled. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:  | 
| endTime | 
 The end time of the execution for the current attempt. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:  | 
| Methods | |
|---|---|
| 
 | Get a TaskExecution in the specified project. |