# Google Cloud Data Catalog Lineage V1 Client - Class CreateRunRequest (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 CreateRunRequest.

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

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The name of the process that should own the run. |
| `↳ run` | `https://docs.cloud.google.com/php/docs/reference/cloud-datacatalog-lineage/latest/V1.Run` Required. The run to create. |
| `↳ request_id` | `string` Optional. A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a `request_id` is provided. |

### getParent

Required. The name of the process that should own the run.

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

### setParent

Required. The name of the process that should own the run.

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

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

### getRun

Required. The run to create.

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

### hasRun

### clearRun

### setRun

Required. The run to create.

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

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

### getRequestId

Optional. A unique identifier for this request. Restricted to 36 ASCII
characters. A random UUID is recommended. This request is idempotent only
if a `request_id` is provided.

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

### setRequestId

Optional. A unique identifier for this request. Restricted to 36 ASCII
characters. A random UUID is recommended. This request is idempotent only
if a `request_id` is provided.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The name of the process that should own the run. Please see LineageClient::processName() for help formatting this field. |
| `run` | `https://docs.cloud.google.com/php/docs/reference/cloud-datacatalog-lineage/latest/V1.Run` Required. The run to create. |

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