finalState property

String? finalState
getter/setter pair

State to which the execution snapshot status will be set if the task succeeds. Possible string values are:

  • "FINAL_STATE_UNSPECIFIED" : UNSPECIFIED.
  • "SUCCEEDED" : The default behavior, where successful tasks will be marked as SUCCEEDED.
  • "SUSPENDED" : Sets the state to SUSPENDED after executing. This is required for SuspensionTask; event execution will continue once the user calls ResolveSuspensions with the event_execution_info_id and the task number.

Implementation

core.String? finalState;