state property

String? state
getter/setter pair

The initial state is IN_PROGRESS.

The only legal state transitions is from IN_PROGRESS to COMPLETE. A PRECONDITION_FAILED will be returned if an invalid transition is requested. The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be returned if the state is set to COMPLETE multiple times. If the state is set to COMPLETE, all the in-progress steps within the execution will be set as COMPLETE. If the outcome of the step is not set, the outcome will be set to INCONCLUSIVE. - 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;