# Google Maps Route Optimization V1 Client - Class InputConfig (0.6.2)

0.6.2 (latest) 0.6.1 0.5.1 0.4.1 0.3.3 0.2.0 0.1.0 Reference documentation and code samples for the Google Maps Route Optimization V1 Client class InputConfig.

Specify an input for
BatchOptimizeTours.

Generated from protobuf message `google.maps.routeoptimization.v1.InputConfig`

## Namespace

Google \\ Maps \\ RouteOptimization \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ gcs_source` | `https://docs.cloud.google.com/php/docs/reference/maps-routeoptimization/latest/V1.GcsSource` A Google Cloud Storage location. This must be a single object (file). |
| `↳ data_format` | `int` Required. The input data format. |

### getGcsSource

A Google Cloud Storage location. This must be a single object (file).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/maps-routeoptimization/latest/V1.GcsSource|null` |   |

### hasGcsSource

### setGcsSource

A Google Cloud Storage location. This must be a single object (file).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/maps-routeoptimization/latest/V1.GcsSource` |

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

### getDataFormat

Required. The input data format.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DataFormat](https://docs.cloud.google.com/php/docs/reference/maps-routeoptimization/latest/V1.DataFormat). |

### setDataFormat

Required. The input data format.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DataFormat](https://docs.cloud.google.com/php/docs/reference/maps-routeoptimization/latest/V1.DataFormat). |

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

### getSource

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