state property

String? state
getter/setter pair

The initial state is IN_PROGRESS.

The only legal state transitions are * IN_PROGRESS -> COMPLETE A PRECONDITION_FAILED will be returned if an invalid transition is requested. It is valid to create Step with a state set to COMPLETE. The state can only be set to COMPLETE once. A PRECONDITION_FAILED will be returned if the state is set to COMPLETE multiple times. - In response: always set - In create/update request: optional Possible string values are:

  • "unknownState" : Should never be in this state. Exists for proto deserialization backward compatibility.
  • "pending" : The Execution/Step is created, ready to run, but not running yet. If an Execution/Step is created without initial state, it is assumed that the Execution/Step is in PENDING state.
  • "inProgress" : The Execution/Step is in progress.
  • "complete" : The finalized, immutable state. Steps/Executions in this state cannot be modified.

Implementation

core.String? state;