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.



724
725
726
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 724

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)


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

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)


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

def entry_id
  @entry_id
end

#exceptionGoogle::Apis::WorkflowexecutionsV1::Exception

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



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

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)


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

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



685
686
687
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 685

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)


692
693
694
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 692

def routine
  @routine
end

#stateString

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

Returns:

  • (String)


697
698
699
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 697

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)


702
703
704
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 702

def step
  @step
end

#step_entry_metadataGoogle::Apis::WorkflowexecutionsV1::StepEntryMetadata

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



707
708
709
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 707

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)


712
713
714
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 712

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)


717
718
719
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 717

def update_time
  @update_time
end

#variable_dataGoogle::Apis::WorkflowexecutionsV1::VariableData

VariableData contains the variable data for this step. Corresponds to the JSON property variableData



722
723
724
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 722

def variable_data
  @variable_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



729
730
731
732
733
734
735
736
737
738
739
740
741
742
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 729

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)
  @variable_data = args[:variable_data] if args.key?(:variable_data)
end