REST Resource: projects.locations.integrations.executions.taskExecutions

Resource: TaskExecution

Execution of a single task within an integration

JSON representation
{
  "name": string,
  "taskExecutionMetadata": {
    object (TaskExecutionMetadata)
  },
  "variables": {
    object
  },
  "taskExecutionDetails": [
    {
      object (TaskExecutionDetails)
    }
  ]
}
Fields
name

string

Identifier. Task execution resource name.

taskExecutionMetadata

object (TaskExecutionMetadata)

Optional. Metadata of the task execution.

variables

object (Struct format)

Optional. Variables used during the execution.

taskExecutionDetails[]

object (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

string

The task number associated with this execution.

task

string

The task name associated with this execution.

executionAttempt

integer

The execution attempt number this execution belongs to.

taskAttempt

integer

The task attempt number this execution belongs to.

taskLabel

string

The task label associated with this execution.

ancestorTaskNumbers[]

string

Optional. Ancestor task number for the task (it will only be non-empty if the task is under 'private integration').

ancestorIterationNumbers[]

string

Optional. Ancestor iteration number for the task (it will only be non-empty if the task is under 'private integration').

privateIntegrationName

string

Optional. The direct integration which the execution belongs to.

TaskExecutionDetails

Details of the task execution.

JSON representation
{
  "taskNumber": string,
  "taskExecutionState": enum (State),
  "taskAttemptStats": [
    {
      object (AttemptStats)
    }
  ]
}
Fields
taskNumber

string

Pointer to the task config it used for execution.

taskExecutionState

enum (State)

Output only. The execution state of this task.

taskAttemptStats[]

object (AttemptStats)

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

string (Timestamp format)

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: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

endTime

string (Timestamp format)

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: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

Methods

get

Get a TaskExecution in the specified project.