# Google Cloud Workflows V1 Client - Class Step (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 Step.

Represents a step of the workflow this execution is running.

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

## Namespace

Google \\ Cloud \\ Workflows \\ Executions \\ V1 \\ Execution \\ Status

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ routine` | `string` Name of a routine within the workflow. |
| `↳ step` | `string` Name of a step within the routine. |

### getRoutine

Name of a routine within the workflow.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setRoutine

Name of a routine within the workflow.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getStep

Name of a step within the routine.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setStep

Name of a step within the routine.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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