# Google Cloud Run V2 Client - Class ExecutionReference (1.12.2)

1.12.2 (latest) 1.12.1 1.11.0 1.10.1 1.9.0 1.8.0 1.7.0 1.6.0 1.5.2 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.9.3 0.8.0 0.7.2 0.6.0 0.5.2 0.4.0 0.3.4 Reference documentation and code samples for the Google Cloud Run V2 Client class ExecutionReference.

Reference to an Execution. Use /Executions.GetExecution with the given name
to get full execution including the latest status.

Generated from protobuf message `google.cloud.run.v2.ExecutionReference`

## Namespace

Google \\ Cloud \\ Run \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Name of the execution. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Creation timestamp of the execution. |
| `↳ completion_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Creation timestamp of the execution. |
| `↳ delete_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The deletion time of the execution. It is only populated as a response to a Delete request. |
| `↳ completion_status` | `int` Status for the execution completion. |

### getName

Name of the execution.

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

### setName

Name of the execution.

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

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

### getCreateTime

Creation timestamp of the execution.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Creation timestamp of the execution.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getCompletionTime

Creation timestamp of the execution.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasCompletionTime

### clearCompletionTime

### setCompletionTime

Creation timestamp of the execution.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getDeleteTime

The deletion time of the execution. It is only
populated as a response to a Delete request.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasDeleteTime

### clearDeleteTime

### setDeleteTime

The deletion time of the execution. It is only
populated as a response to a Delete request.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getCompletionStatus

Status for the execution completion.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [CompletionStatus](https://docs.cloud.google.com/php/docs/reference/cloud-run/latest/V2.ExecutionReference.CompletionStatus). |

### setCompletionStatus

Status for the execution completion.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [CompletionStatus](https://docs.cloud.google.com/php/docs/reference/cloud-run/latest/V2.ExecutionReference.CompletionStatus). |

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