Class: Google::Apis::WorkflowexecutionsV1::Status

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

Preview: This field is covered by the > Pre-GA Offerings Terms of > the Google Cloud Terms of Service. Pre-GA features might have limited > support, and changes to pre-GA features might not be compatible with > other pre-GA versions. For more information, see the > launch stage descriptions. > This field is usable only if your project has access. See the > access request page. Represents the current status of this execution.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Status

Returns a new instance of Status.



351
352
353
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 351

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

Instance Attribute Details

#current_stepsArray<Google::Apis::WorkflowexecutionsV1::Step>

A list of currently executing or last executed step names for the workflow execution currently running. If the workflow has succeeded or failed, this is the last attempted or executed step. Presently, if the current step is inside a subworkflow, the list only includes that step. In the future, the list will contain items for each step in the call stack, starting with the outermost step in the main subworkflow, and ending with the most deeply nested step. Corresponds to the JSON property currentSteps



349
350
351
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 349

def current_steps
  @current_steps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



356
357
358
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 356

def update!(**args)
  @current_steps = args[:current_steps] if args.key?(:current_steps)
end