Class: Google::Apis::WorkflowexecutionsV1::NavigationInfo

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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NavigationInfo

Returns a new instance of NavigationInfo.



388
389
390
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 388

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#childrenArray<Fixnum>

Step entries that can be reached by "stepping into" e.g. a subworkflow call. Corresponds to the JSON property children

Returns:

  • (Array<Fixnum>)


370
371
372
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 370

def children
  @children
end

#nextFixnum

The index of the next step in the current workflow, if any. Corresponds to the JSON property next

Returns:

  • (Fixnum)


375
376
377
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 375

def next
  @next
end

#parentFixnum

The step entry, if any, that can be reached by "stepping out" of the current workflow being executed. Corresponds to the JSON property parent

Returns:

  • (Fixnum)


381
382
383
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 381

def parent
  @parent
end

#previousFixnum

The index of the previous step in the current workflow, if any. Corresponds to the JSON property previous

Returns:

  • (Fixnum)


386
387
388
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 386

def previous
  @previous
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



393
394
395
396
397
398
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 393

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