0.11.3 (latest) 0.10.0 0.9.3 0.8.2 0.7.1 0.6.6 0.5.1 0.4.1 0.3.10

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class CreateJobRequest.

Request to create a Cloud Dataflow job.

Generated from protobuf message `google.dataflow.v1beta3.CreateJobRequest`

## Namespace

Google \\ Cloud \\ Dataflow \\ V1beta3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ project_id` | `string` The ID of the Cloud Platform project that the job belongs to. |
| `↳ job` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.Job` The job to create. |
| `↳ view` | `int` The level of information requested in response. |
| `↳ replace_job_id` | `string` Deprecated. This field is now in the Job message. |
| `↳ location` | `string` The [regional endpoint](https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job. |

### getProjectId

The ID of the Cloud Platform project that the job belongs to.

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

### setProjectId

The ID of the Cloud Platform project that the job belongs to.

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

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

### getJob

The job to create.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.Job|null` |   |

### hasJob

### clearJob

### setJob

The job to create.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.Job` |

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

### getView

The level of information requested in response.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [JobView](https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.JobView). |

### setView

The level of information requested in response.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [JobView](https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.JobView). |

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

### getReplaceJobId

Deprecated. This field is now in the Job message.

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

### setReplaceJobId

Deprecated. This field is now in the Job message.

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

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

### getLocation

The [regional endpoint](https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
contains this job.

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

### setLocation

The [regional endpoint](https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
contains this job.

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

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