Class: Google::Apis::WorkflowexecutionsV1beta::Status
- Inherits:
-
Object
- Object
- Google::Apis::WorkflowexecutionsV1beta::Status
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workflowexecutions_v1beta/classes.rb,
lib/google/apis/workflowexecutions_v1beta/representations.rb,
lib/google/apis/workflowexecutions_v1beta/representations.rb
Overview
Represents the current status of this execution.
Instance Attribute Summary collapse
-
#current_steps ⇒ Array<Google::Apis::WorkflowexecutionsV1beta::Step>
A list of currently executing or last executed step names for the workflow execution currently running.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Status
constructor
A new instance of Status.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Status
Returns a new instance of Status.
272 273 274 |
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 272 def initialize(**args) update!(**args) end |
Instance Attribute Details
#current_steps ⇒ Array<Google::Apis::WorkflowexecutionsV1beta::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
270 271 272 |
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 270 def current_steps @current_steps end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
277 278 279 |
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 277 def update!(**args) @current_steps = args[:current_steps] if args.key?(:current_steps) end |