Class: Google::Apis::WorkflowexecutionsV1::Step

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
more...

Overview

Represents a step of the workflow this execution is running.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Step

Returns a new instance of Step.

[View source]

494
495
496
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 494

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

Instance Attribute Details

#routineString

Name of a routine within the workflow. Corresponds to the JSON property routine

Returns:

  • (String)

487
488
489
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 487

def routine
  @routine
end

#stepString

Name of a step within the routine. Corresponds to the JSON property step

Returns:

  • (String)

492
493
494
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 492

def step
  @step
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

499
500
501
502
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 499

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