Google Cloud Workflows V1 Client - Class Status (0.4.2)

Reference documentation and code samples for the Google Cloud Workflows V1 Client class Status.

Represents the current status of this execution.

Generated from protobuf message google.cloud.workflows.executions.v1.Execution.Status

Namespace

Google \ Cloud \ Workflows \ Executions \ V1 \ Execution

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ current_steps array<Google\Cloud\Workflows\Executions\V1\Execution\Status\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.

getCurrentSteps

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.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setCurrentSteps

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.

Parameter
NameDescription
var array<Google\Cloud\Workflows\Executions\V1\Execution\Status\Step>
Returns
TypeDescription
$this