Class: Google::Apis::WorkflowexecutionsV1::Status

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/workflowexecutions_v1/classes.rb,
lib/google/apis/workflowexecutions_v1/representations.rb,
lib/google/apis/workflowexecutions_v1/representations.rb

Overview

Represents the current status of this execution.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Status

Returns a new instance of Status.



588
589
590
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 588

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#current_stepsArray<Google::Apis::WorkflowexecutionsV1::Step>

A list of currently executing or last executed step names for the workflow execution currently running. If the workflow has succeeded or failed, this is the last attempted or executed step. Presently, if the current step is inside a subworkflow, the list only includes that step. In the future, the list will contain items for each step in the call stack, starting with the outermost step in the main subworkflow, and ending with the most deeply nested step. Corresponds to the JSON property currentSteps



586
587
588
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 586

def current_steps
  @current_steps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



593
594
595
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 593

def update!(**args)
  @current_steps = args[:current_steps] if args.key?(:current_steps)
end