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

A request used by the `OptimizeToursUri` method.

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

## Namespace

Google \\ Maps \\ RouteOptimization \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. Target project or location to make a call. Format: \* \* `projects/{project-id}` \* \* `projects/{project-id}/locations/{location-id}` If no location is specified, a region will be chosen automatically. |
| `↳ input` | `https://docs.cloud.google.com/php/docs/reference/maps-routeoptimization/latest/V1.Uri` Required. The URI of the Cloud Storage object containing the `OptimizeToursRequest`. |
| `↳ output` | `https://docs.cloud.google.com/php/docs/reference/maps-routeoptimization/latest/V1.Uri` Required. The URI of the Cloud Storage object that will contain the `OptimizeToursResponse`. |

### getParent

Required. Target project or location to make a call.

Format:

- `projects/{project-id}`
- `projects/{project-id}/locations/{location-id}` If no location is specified, a region will be chosen automatically.

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

### setParent

Required. Target project or location to make a call.

Format:

- `projects/{project-id}`
- `projects/{project-id}/locations/{location-id}` If no location is specified, a region will be chosen automatically.

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

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

### getInput

Required. The URI of the Cloud Storage object containing the
`OptimizeToursRequest`.

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

### hasInput

### clearInput

### setInput

Required. The URI of the Cloud Storage object containing the
`OptimizeToursRequest`.

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

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

### getOutput

Required. The URI of the Cloud Storage object that will contain the
`OptimizeToursResponse`.

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

### hasOutput

### clearOutput

### setOutput

Required. The URI of the Cloud Storage object that will contain the
`OptimizeToursResponse`.

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

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