Class: Google::Apis::WorkflowexecutionsV1::StepEntry

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

An StepEntry contains debugging information for a step transition in a workflow execution.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StepEntry

Returns a new instance of StepEntry.



679
680
681
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 679

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

Instance Attribute Details

#create_timeString

Output only. The creation time of the step entry. Corresponds to the JSON property createTime

Returns:

  • (String)


621
622
623
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 621

def create_time
  @create_time
end

#entry_idFixnum

Output only. The numeric ID of this step entry, used for navigation. Corresponds to the JSON property entryId

Returns:

  • (Fixnum)


626
627
628
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 626

def entry_id
  @entry_id
end

#exceptionGoogle::Apis::WorkflowexecutionsV1::Exception

Exception describes why the step entry failed. Corresponds to the JSON property exception



631
632
633
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 631

def exception
  @exception
end

#nameString

Output only. The full resource name of the step entry. Each step entry has a unique entry ID, which is a monotonically increasing counter. Step entry names have the format: projects/project/locations/location/workflows/workflow/ executions/execution/stepEntries/step_entry`. Corresponds to the JSON propertyname`

Returns:

  • (String)


639
640
641
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 639

def name
  @name
end

NavigationInfo describes what steps if any come before or after this step, or what steps are parents or children of this step. Corresponds to the JSON property navigationInfo



645
646
647
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 645

def navigation_info
  @navigation_info
end

#routineString

Output only. The name of the routine this step entry belongs to. A routine name is the subworkflow name defined in the YAML source code. The top level routine name is main. Corresponds to the JSON property routine

Returns:

  • (String)


652
653
654
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 652

def routine
  @routine
end

#stateString

Output only. The state of the step entry. Corresponds to the JSON property state

Returns:

  • (String)


657
658
659
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 657

def state
  @state
end

#stepString

Output only. The name of the step this step entry belongs to. Corresponds to the JSON property step

Returns:

  • (String)


662
663
664
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 662

def step
  @step
end

#step_entry_metadataGoogle::Apis::WorkflowexecutionsV1::StepEntryMetadata

StepEntryMetadata contains metadata information about this step. Corresponds to the JSON property stepEntryMetadata



667
668
669
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 667

def 
  @step_entry_metadata
end

#step_typeString

Output only. The type of the step this step entry belongs to. Corresponds to the JSON property stepType

Returns:

  • (String)


672
673
674
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 672

def step_type
  @step_type
end

#update_timeString

Output only. The most recently updated time of the step entry. Corresponds to the JSON property updateTime

Returns:

  • (String)


677
678
679
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 677

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



684
685
686
687
688
689
690
691
692
693
694
695
696
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 684

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @entry_id = args[:entry_id] if args.key?(:entry_id)
  @exception = args[:exception] if args.key?(:exception)
  @name = args[:name] if args.key?(:name)
  @navigation_info = args[:navigation_info] if args.key?(:navigation_info)
  @routine = args[:routine] if args.key?(:routine)
  @state = args[:state] if args.key?(:state)
  @step = args[:step] if args.key?(:step)
  @step_entry_metadata = args[:step_entry_metadata] if args.key?(:step_entry_metadata)
  @step_type = args[:step_type] if args.key?(:step_type)
  @update_time = args[:update_time] if args.key?(:update_time)
end