0.5.3 (latest) 0.4.4 0.3.0 0.2.1 0.1.4 Reference documentation and code samples for the Google Cloud Api Hub V1 Client class ExecutionStatus.

The execution status for the plugin instance.

Generated from protobuf message `google.cloud.apihub.v1.ExecutionStatus`

## Namespace

Google \\ Cloud \\ ApiHub \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ current_execution_state` | `int` Output only. The current state of the execution. |
| `↳ last_execution` | `https://docs.cloud.google.com/php/docs/reference/cloud-apihub/latest/V1.ExecutionStatus.LastExecution` Output only. The last execution of the plugin instance. |

### getCurrentExecutionState

Output only. The current state of the execution.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [CurrentExecutionState](https://docs.cloud.google.com/php/docs/reference/cloud-apihub/latest/V1.ExecutionStatus.CurrentExecutionState). |

### setCurrentExecutionState

Output only. The current state of the execution.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [CurrentExecutionState](https://docs.cloud.google.com/php/docs/reference/cloud-apihub/latest/V1.ExecutionStatus.CurrentExecutionState). |

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

### getLastExecution

Output only. The last execution of the plugin instance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-apihub/latest/V1.ExecutionStatus.LastExecution|null` |   |

### hasLastExecution

### clearLastExecution

### setLastExecution

Output only. The last execution of the plugin instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-apihub/latest/V1.ExecutionStatus.LastExecution` |

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