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.



664
665
666
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 664

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)


606
607
608
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 606

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)


611
612
613
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 611

def entry_id
  @entry_id
end

#exceptionGoogle::Apis::WorkflowexecutionsV1::Exception

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



616
617
618
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 616

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)


624
625
626
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 624

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



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

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)


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

def routine
  @routine
end

#stateString

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

Returns:

  • (String)


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

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)


647
648
649
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 647

def step
  @step
end

#step_entry_metadataGoogle::Apis::WorkflowexecutionsV1::StepEntryMetadata

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



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

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)


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

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)


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

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



669
670
671
672
673
674
675
676
677
678
679
680
681
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 669

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