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

The Google Cloud Storage location where the input file will be read from.

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

## Namespace

Google \\ Maps \\ RouteOptimization \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ uri` | `string` Required. URI of a Google Cloud Storage object with the format `gs://bucket/path/to/object`. |

### getUri

Required. URI of a Google Cloud Storage object with the format
`gs://bucket/path/to/object`.

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

### setUri

Required. URI of a Google Cloud Storage object with the format
`gs://bucket/path/to/object`.

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

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