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.



689
690
691
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 689

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)


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

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)


636
637
638
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 636

def entry_id
  @entry_id
end

#exceptionGoogle::Apis::WorkflowexecutionsV1::Exception

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



641
642
643
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 641

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)


649
650
651
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 649

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



655
656
657
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 655

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)


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

def routine
  @routine
end

#stateString

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

Returns:

  • (String)


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

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)


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

def step
  @step
end

#step_entry_metadataGoogle::Apis::WorkflowexecutionsV1::StepEntryMetadata

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



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

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)


682
683
684
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 682

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)


687
688
689
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 687

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



694
695
696
697
698
699
700
701
702
703
704
705
706
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 694

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