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 LastExecution.

The result of the last execution of the plugin instance.

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

## Namespace

Google \\ Cloud \\ ApiHub \\ V1 \\ ExecutionStatus

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ result` | `int` Output only. The result of the last execution of the plugin instance. |
| `↳ error_message` | `string` Output only. Error message describing the failure, if any, during the last execution. |
| `↳ start_time` | `Google\Protobuf\Timestamp` Output only. The last execution start time of the plugin instance. |
| `↳ end_time` | `Google\Protobuf\Timestamp` Output only. The last execution end time of the plugin instance. |

### getResult

Output only. The result of the last execution of the plugin instance.

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

### setResult

Output only. The result of the last execution of the plugin instance.

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

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

### getErrorMessage

Output only. Error message describing the failure, if any, during the
last execution.

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

### setErrorMessage

Output only. Error message describing the failure, if any, during the
last execution.

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

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

### getStartTime

Output only. The last execution start time of the plugin instance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasStartTime

### clearStartTime

### setStartTime

Output only. The last execution start time of the plugin instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getEndTime

Output only. The last execution end time of the plugin instance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasEndTime

### clearEndTime

### setEndTime

Output only. The last execution end time of the plugin instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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