Class: Google::Apis::WorkflowexecutionsV1::StepEntryMetadata
- Inherits:
-
Object
- Object
- Google::Apis::WorkflowexecutionsV1::StepEntryMetadata
- 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
-
#progress_number ⇒ Fixnum
Progress number represents the current state of the current progress.
-
#progress_type ⇒ String
Progress type of this step entry.
-
#thread_id ⇒ String
Child thread id that this step entry belongs to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StepEntryMetadata
constructor
A new instance of StepEntryMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StepEntryMetadata
Returns a new instance of StepEntryMetadata.
704 705 706 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 704 def initialize(**args) update!(**args) end |
Instance Attribute Details
#progress_number ⇒ Fixnum
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.
Corresponds to the JSON property progressNumber
692 693 694 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 692 def progress_number @progress_number end |
#progress_type ⇒ String
Progress type of this step entry.
Corresponds to the JSON property progressType
697 698 699 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 697 def progress_type @progress_type end |
#thread_id ⇒ String
Child thread id that this step entry belongs to.
Corresponds to the JSON property threadId
702 703 704 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 702 def thread_id @thread_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
709 710 711 712 713 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 709 def update!(**args) @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 |