Class State (1.48.0)

State(value)

Specifies state of TaskExecution

Values: STATE_UNSPECIFIED (0): Unspecified. PENDING (1): Specifies pending state for the task. RUNNING (2): Specifies task is being executed. SUCCEEDED (3): Specifies task completed successfully. CANCEL_PENDING (4): Specifies Task cancel is in pending state. CANCELLING (5): Specifies task is being cancelled. CANCELLED (6): Specifies task was cancelled. FAILED (7): Specifies task failed. SKIPPED (8): Specifies task was skipped due to cache hit. NOT_TRIGGERED (9): Specifies that the task was not triggered because the task's trigger policy is not satisfied. The trigger policy is specified in the condition field of PipelineJob.pipeline_spec.

Methods

State

State(value)

Specifies state of TaskExecution

Values: STATE_UNSPECIFIED (0): Unspecified. PENDING (1): Specifies pending state for the task. RUNNING (2): Specifies task is being executed. SUCCEEDED (3): Specifies task completed successfully. CANCEL_PENDING (4): Specifies Task cancel is in pending state. CANCELLING (5): Specifies task is being cancelled. CANCELLED (6): Specifies task was cancelled. FAILED (7): Specifies task failed. SKIPPED (8): Specifies task was skipped due to cache hit. NOT_TRIGGERED (9): Specifies that the task was not triggered because the task's trigger policy is not satisfied. The trigger policy is specified in the condition field of PipelineJob.pipeline_spec.