Resource: Execution
The Execution resource contains detailed information of an individual integration execution.
JSON representation |
---|
{ "name": string, "triggerId": string, "executionMethod": enum ( |
Fields | |
---|---|
name |
Auto-generated primary key. |
triggerId |
The trigger id of the integration trigger config. If both triggerId and clientId is present, the integration is executed from the start tasks provided by the matching trigger config otherwise it is executed from the default start tasks. |
executionMethod |
The ways user posts this event. |
createTime |
Output only. Created time of the execution. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. Last modified time of the execution. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
directSubExecutions[] |
Direct sub executions of the following Execution. |
executionDetails |
Detailed info of this execution. |
requestParameters |
Event parameters come in as part of the request. |
responseParameters |
Event parameters returned as part of the response. In the case of error, the { "ErrorInfo": { "message": String, "code": Number } } |
cloudLoggingDetails |
Cloud Logging details for the integration version |
integrationVersionState |
Output only. State of the integration version |
snapshotNumber |
Output only. An increasing sequence that is set when a new snapshot is created |
ExecutionMethod
ExecutionMethod Enum
Enums | |
---|---|
EXECUTION_METHOD_UNSPECIFIED |
Default value. |
POST |
Sync post. |
POST_TO_QUEUE |
Async post. |
SCHEDULE |
Async post with schedule time. |
ExecutionDetails
Contains the details of the execution info: this includes the tasks execution details plus the event execution statistics.
JSON representation |
---|
{ "state": enum ( |
Fields | |
---|---|
state |
Status of the execution. |
executionSnapshots[] |
List of snapshots taken during the execution. |
attemptStats[] |
List of Start and end time of the execution attempts. |
eventExecutionSnapshotsSize |
Total size of all eventExecutionSnapshots for an execution |
State
Status of the execution.
Enums | |
---|---|
STATE_UNSPECIFIED |
Default. |
PENDING |
Execution is scheduled and awaiting to be triggered. |
PROCESSING |
Execution is processing. |
SUCCEEDED |
Execution successfully finished. There's no more change after this state. |
FAILED |
Execution failed. There's no more change after this state. |
CANCELLED |
Execution canceled by user. There's no more change after this state. |
RETRY_ON_HOLD |
Execution failed and waiting for retry. |
SUSPENDED |
Execution suspended and waiting for manual intervention. |
ExecutionSnapshot
Contains the snapshot of the execution for a given checkpoint.
JSON representation |
---|
{ "checkpointTaskNumber": string, "executionSnapshotMetadata": { object ( |
Fields | |
---|---|
checkpointTaskNumber |
Indicates "after which checkpoint task's execution" this snapshot is taken. |
executionSnapshotMetadata |
Metadata of the execution snapshot. |
params |
Parameters used during the execution. |
taskExecutionDetails[] |
All of the task execution details at the given point of time. |
ExecutionSnapshotMetadata
Metadata of the execution snapshot.
JSON representation |
---|
{ "taskNumber": string, "task": string, "executionAttempt": integer, "taskAttempt": integer, "taskLabel": string, "ancestorTaskNumbers": [ string ], "ancestorIterationNumbers": [ string ], "integrationName": string } |
Fields | |
---|---|
taskNumber |
The task number associated with this snapshot. |
task |
the task name associated with this snapshot. |
executionAttempt |
the execution attempt number this snapshot belongs to. |
taskAttempt |
the task attempt number this snapshot belongs to. |
taskLabel |
the task label associated with this snapshot. Could be empty. |
ancestorTaskNumbers[] |
Ancestor task number for the task(it will only be non-empty if the task is under 'private workflow') |
ancestorIterationNumbers[] |
Ancestor iteration number for the task(it will only be non-empty if the task is under 'private workflow') |
integrationName |
The direct integration which the event execution snapshots belongs to |
TaskExecutionDetails
Contains the details of the execution of this task.
JSON representation |
---|
{ "taskNumber": string, "taskExecutionState": enum ( |
Fields | |
---|---|
taskNumber |
Pointer to the task config it used for execution. |
taskExecutionState |
The execution state of this task. |
taskAttemptStats[] |
Status for the current task execution attempt. |
TaskExecutionState
Enum TaskExecutionState.
Enums | |
---|---|
TASK_EXECUTION_STATE_UNSPECIFIED |
Default value. |
PENDING_EXECUTION |
Task is waiting for its precondition tasks to finish to start the execution. |
IN_PROCESS |
Task is under processing. |
SUCCEED |
Task execution successfully finished. There's no more change 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 waiting for retry. |
SKIPPED |
Task execution skipped. This happens when its precondition wasn't met, or the integration execution been canceled before reach to the task. There's no more changes after this state. |
CANCELLED |
Task execution canceled when in progress. This happens when integration execution been canceled or any other task fall in fatal state. |
PENDING_ROLLBACK |
Task is waiting for its dependency tasks' rollback to finish to start its rollback. |
ROLLBACK_IN_PROCESS |
Task is rolling back. |
ROLLEDBACK |
Task is rolled back. This is the state we will set regardless of rollback succeeding or failing. |
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 integration execution for 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: |
endTime |
The end time of the integration execution for current attempt. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Methods |
|
---|---|
|
Lists the results of all the integration executions. |