Class: Google::Apis::WorkflowexecutionsV1::NavigationInfo
- Inherits:
-
Object
- Object
- Google::Apis::WorkflowexecutionsV1::NavigationInfo
- 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
NavigationInfo describes what steps if any come before or after this step, or what steps are parents or children of this step.
Instance Attribute Summary collapse
-
#children ⇒ Array<Fixnum>
Step entries that can be reached by "stepping into" e.g.
-
#next ⇒ Fixnum
The index of the next step in the current workflow, if any.
-
#parent ⇒ Fixnum
The step entry, if any, that can be reached by "stepping out" of the current workflow being executed.
-
#previous ⇒ Fixnum
The index of the previous step in the current workflow, if any.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NavigationInfo
constructor
A new instance of NavigationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NavigationInfo
Returns a new instance of NavigationInfo.
418 419 420 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 418 def initialize(**args) update!(**args) end |
Instance Attribute Details
#children ⇒ Array<Fixnum>
Step entries that can be reached by "stepping into" e.g. a subworkflow call.
Corresponds to the JSON property children
400 401 402 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 400 def children @children end |
#next ⇒ Fixnum
The index of the next step in the current workflow, if any.
Corresponds to the JSON property next
405 406 407 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 405 def next @next end |
#parent ⇒ Fixnum
The step entry, if any, that can be reached by "stepping out" of the current
workflow being executed.
Corresponds to the JSON property parent
411 412 413 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 411 def parent @parent end |
#previous ⇒ Fixnum
The index of the previous step in the current workflow, if any.
Corresponds to the JSON property previous
416 417 418 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 416 def previous @previous end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
423 424 425 426 427 428 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 423 def update!(**args) @children = args[:children] if args.key?(:children) @next = args[:next] if args.key?(:next) @parent = args[:parent] if args.key?(:parent) @previous = args[:previous] if args.key?(:previous) end |