Class: Google::Apis::WorkflowexecutionsV1beta::Step
- Inherits:
-
Object
- Object
- Google::Apis::WorkflowexecutionsV1beta::Step
- 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 a step of the workflow this execution is running.
Instance Attribute Summary collapse
-
#routine ⇒ String
Name of a routine within the workflow.
-
#step ⇒ String
Name of a step within the routine.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Step
constructor
A new instance of Step.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Step
Returns a new instance of Step.
296 297 298 |
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 296 def initialize(**args) update!(**args) end |
Instance Attribute Details
#routine ⇒ String
Name of a routine within the workflow.
Corresponds to the JSON property routine
289 290 291 |
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 289 def routine @routine end |
#step ⇒ String
Name of a step within the routine.
Corresponds to the JSON property step
294 295 296 |
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 294 def step @step end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
301 302 303 304 |
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 301 def update!(**args) @routine = args[:routine] if args.key?(:routine) @step = args[:step] if args.key?(:step) end |