# Cloud Optimization V1 API - Class Google::Cloud::Optimization::V1::BatchOptimizeToursRequest (v0.16.0)

0.16.0 (latest) 0.15.0 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.2 0.8.2 0.7.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.1 0.1.1 Reference documentation and code samples for the Cloud Optimization V1 API class Google::Cloud::Optimization::V1::BatchOptimizeToursRequest.

Request to batch optimize tours as an asynchronous operation.
Each input file should contain one `OptimizeToursRequest`, and each output
file will contain one `OptimizeToursResponse`. The request contains
information to read/write and parse the files. All the input and output files
should be under the same project.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #model_configs

    def model_configs() -> ::Array<::Google::Cloud::Optimization::V1::BatchOptimizeToursRequest::AsyncModelConfig>

**Returns**

- (::Array\<[::Google::Cloud::Optimization::V1::BatchOptimizeToursRequest::AsyncModelConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-optimization-v1/latest/Google-Cloud-Optimization-V1-BatchOptimizeToursRequest-AsyncModelConfig)\>) --- Required. Input/Output information each purchase model, such as file paths and data formats.

### #model_configs=

    def model_configs=(value) -> ::Array<::Google::Cloud::Optimization::V1::BatchOptimizeToursRequest::AsyncModelConfig>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Optimization::V1::BatchOptimizeToursRequest::AsyncModelConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-optimization-v1/latest/Google-Cloud-Optimization-V1-BatchOptimizeToursRequest-AsyncModelConfig)\>) --- Required. Input/Output information each purchase model, such as file paths and data formats.
**Returns**

- (::Array\<[::Google::Cloud::Optimization::V1::BatchOptimizeToursRequest::AsyncModelConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-optimization-v1/latest/Google-Cloud-Optimization-V1-BatchOptimizeToursRequest-AsyncModelConfig)\>) --- Required. Input/Output information each purchase model, such as file paths and data formats.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. Target project and location to make a call.

  Format: `projects/{project-id}/locations/{location-id}`.

  If no location is specified, a region will be chosen automatically.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Target project and location to make a call.


  Format: `projects/{project-id}/locations/{location-id}`.

  If no location is specified, a region will be chosen automatically.
**Returns**

- (::String) --- Required. Target project and location to make a call.

  Format: `projects/{project-id}/locations/{location-id}`.

  If no location is specified, a region will be chosen automatically.