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.



618
619
620
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 618

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



616
617
618
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 616

def current_steps
  @current_steps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



623
624
625
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 623

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