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.



578
579
580
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 578

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



576
577
578
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 576

def current_steps
  @current_steps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



583
584
585
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 583

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