# Google Cloud Data Catalog Lineage V1 Client - Class UpdateRunRequest (1.4.0)

1.4.0 (latest) 1.3.0 1.2.3 1.1.1 1.0.3 0.5.5 0.4.0 0.3.1 0.2.1 0.1.3 Reference documentation and code samples for the Google Cloud Data Catalog Lineage V1 Client class UpdateRunRequest.

Request message for
[UpdateRun](https://docs.cloud.google.com/php/docs/reference/cloud-datacatalog-lineage/latest/V1.Client.LineageClient#_Google_Cloud_DataCatalog_Lineage_V1_Client_LineageClient__updateRun__).

Generated from protobuf message `google.cloud.datacatalog.lineage.v1.UpdateRunRequest`

## Namespace

Google \\ Cloud \\ DataCatalog \\ Lineage \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ run` | `https://docs.cloud.google.com/php/docs/reference/cloud-datacatalog-lineage/latest/V1.Run` Required. The lineage run to update. The run's `name` field is used to identify the run to update. Format: `projects/{project}/locations/{location}/processes/{process}/runs/{run}`. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. The list of fields to update. Currently not used. The whole message is updated. |
| `↳ allow_missing` | `bool` Optional. If set to true and the run is not found, the request creates it. |

### getRun

Required. The lineage run to update.

The run's `name` field is used to identify the run to update.
Format:
`projects/{project}/locations/{location}/processes/{process}/runs/{run}`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datacatalog-lineage/latest/V1.Run|null` |   |

### hasRun

### clearRun

### setRun

Required. The lineage run to update.

The run's `name` field is used to identify the run to update.
Format:
`projects/{project}/locations/{location}/processes/{process}/runs/{run}`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datacatalog-lineage/latest/V1.Run` |

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

### getUpdateMask

Optional. The list of fields to update. Currently not used. The whole
message is updated.

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

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Optional. The list of fields to update. Currently not used. The whole
message is updated.

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

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

### getAllowMissing

Optional. If set to true and the run is not found, the request creates it.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setAllowMissing

Optional. If set to true and the run is not found, the request creates it.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `run` | `https://docs.cloud.google.com/php/docs/reference/cloud-datacatalog-lineage/latest/V1.Run` Required. The lineage run to update. The run's `name` field is used to identify the run to update. Format: `projects/{project}/locations/{location}/processes/{process}/runs/{run}`. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. The list of fields to update. Currently not used. The whole message is updated. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datacatalog-lineage/latest/V1.UpdateRunRequest` |   |