Resource: TaskExecution
Execution of a single task within an integration
JSON representation |
---|
{ "name": string, "taskExecutionMetadata": { object ( |
Fields | |
---|---|
name |
Identifier. Task execution resource name. |
task |
Optional. Metadata of the task execution. |
variables |
Optional. Variables used during the execution. |
task |
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 | |
---|---|
task |
The task number associated with this execution. |
task |
The task name associated with this execution. |
execution |
The execution attempt number this execution belongs to. |
task |
The task attempt number this execution belongs to. |
task |
The task label associated with this execution. |
ancestor |
Optional. Ancestor task number for the task (it will only be non-empty if the task is under 'private integration'). |
ancestor |
Optional. Ancestor iteration number for the task (it will only be non-empty if the task is under 'private integration'). |
private |
Optional. The direct integration which the execution belongs to. |
TaskExecutionDetails
Details of the task execution.
JSON representation |
---|
{ "taskNumber": string, "taskExecutionState": enum ( |
Fields | |
---|---|
task |
Pointer to the task config it used for execution. |
task |
Output only. The execution state of this task. |
task |
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 | |
---|---|
start |
The start time of the execution for the current attempt. This could be in the future if it's been scheduled. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
end |
The end time of the execution for the current attempt. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Methods |
|
---|---|
|
Get a TaskExecution in the specified project. |