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

A request to launch a Cloud Dataflow job from a FlexTemplate.

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

## Namespace

Google \\ Cloud \\ Dataflow \\ V1beta3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ project_id` | `string` Required. The ID of the Cloud Platform project that the job belongs to. |
| `↳ launch_parameter` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.LaunchFlexTemplateParameter` Required. Parameter to launch a job form Flex Template. |
| `↳ location` | `string` Required. The [regional endpoint](https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request. E.g., us-central1, us-west1. |
| `↳ validate_only` | `bool` If true, the request is validated but not actually executed. Defaults to false. |

### getProjectId

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

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

### setProjectId

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

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

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

### getLaunchParameter

Required. Parameter to launch a job form Flex Template.

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

### hasLaunchParameter

### clearLaunchParameter

### setLaunchParameter

Required. Parameter to launch a job form Flex Template.

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

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

### getLocation

Required. The [regional endpoint](https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to
which to direct the request. E.g., us-central1, us-west1.

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

### setLocation

Required. The [regional endpoint](https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to
which to direct the request. E.g., us-central1, us-west1.

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

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

### getValidateOnly

If true, the request is validated but not actually executed.

Defaults to false.

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

### setValidateOnly

If true, the request is validated but not actually executed.

Defaults to false.

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

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