# Google Cloud Workflows V1 Client - Class Status (1.3.0)

1.3.0 (latest) 1.2.1 1.1.1 1.0.3 0.5.5 0.4.2 0.3.0 0.2.17 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** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ current_steps` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-workflows/latest/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** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-workflows/latest/Executions.V1.Execution.Status.Step>` |   |

### 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** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-workflows/latest/Executions.V1.Execution.Status.Step>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |