Class: Google::Apis::WorkflowexecutionsV1::StepEntryMetadata

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

StepEntryMetadata contains metadata information about this step.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StepEntryMetadata

Returns a new instance of StepEntryMetadata.



773
774
775
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 773

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

Instance Attribute Details

#expected_iterationFixnum

Expected iteration represents the expected number of iterations in the step's progress. Corresponds to the JSON property expectedIteration

Returns:

  • (Fixnum)


753
754
755
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 753

def expected_iteration
  @expected_iteration
end

#progress_numberFixnum

Progress number represents the current state of the current progress. eg: A step entry represents the 4th iteration in a progress of PROGRESS_TYPE_FOR. Note: This field is only populated when an iteration exists and the starting value is 1. Corresponds to the JSON property progressNumber

Returns:

  • (Fixnum)


761
762
763
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 761

def progress_number
  @progress_number
end

#progress_typeString

Progress type of this step entry. Corresponds to the JSON property progressType

Returns:

  • (String)


766
767
768
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 766

def progress_type
  @progress_type
end

#thread_idString

Child thread id that this step entry belongs to. Corresponds to the JSON property threadId

Returns:

  • (String)


771
772
773
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 771

def thread_id
  @thread_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



778
779
780
781
782
783
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 778

def update!(**args)
  @expected_iteration = args[:expected_iteration] if args.key?(:expected_iteration)
  @progress_number = args[:progress_number] if args.key?(:progress_number)
  @progress_type = args[:progress_type] if args.key?(:progress_type)
  @thread_id = args[:thread_id] if args.key?(:thread_id)
end