# Google Maps Route Optimization V1 Client - Class OutputConfig (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 OutputConfig.

Specify a destination for
BatchOptimizeTours
results.

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

## Namespace

Google \\ Maps \\ RouteOptimization \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ gcs_destination` | `https://docs.cloud.google.com/php/docs/reference/maps-routeoptimization/latest/V1.GcsDestination` The Google Cloud Storage location to write the output to. |
| `↳ data_format` | `int` Required. The output data format. |

### getGcsDestination

The Google Cloud Storage location to write the output to.

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

### hasGcsDestination

### setGcsDestination

The Google Cloud Storage location to write the output to.

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

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

### getDataFormat

Required. The output 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 output 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` |   |

### getDestination

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