用于异步解决一个优化模型的信息。
| JSON 表示法 | 
|---|
| { "displayName": string, "inputConfig": { object ( | 
| 字段 | |
|---|---|
| displayName | 
 可选。用户定义的模型名称,用户可以将其用作别名来跟踪模型。 | 
| inputConfig | 
 必需。输入模型的相关信息。 | 
| outputConfig | 
 必需。所需的输出位置信息。 | 
InputConfig
为 [locations.batchOptimizeTours][google.maps.routeoptimization.v1.RouteOptimizationService.BatchOptimizeTours] 指定输入。
| JSON 表示法 | 
|---|
| { "dataFormat": enum ( | 
| 字段 | |
|---|---|
| dataFormat | 
 必需。输入数据格式。 | 
| 联合字段 source。必需。source只能是下列其中一项: | |
| gcsSource | 
 Google Cloud Storage 位置。此项目必须是单个对象(文件)。 | 
GcsSource
将读取输入文件的 Google Cloud Storage 位置。
| JSON 表示法 | 
|---|
| { "uri": string } | 
| 字段 | |
|---|---|
| uri | 
 必需。Google Cloud Storage 对象的 URI,格式为  | 
DataFormat
输入和输出文件的数据格式。
| 枚举 | |
|---|---|
| DATA_FORMAT_UNSPECIFIED | 值无效,格式不能为 UNSPECIFIED。 | 
| JSON | JavaScript 对象表示法。 | 
| PROTO_TEXT | Protocol Buffers 文本格式。请参阅 https://protobuf.dev/reference/protobuf/textformat-spec/ | 
OutputConfig
为 [locations.batchOptimizeTours][google.maps.routeoptimization.v1.RouteOptimizationService.BatchOptimizeTours] 结果指定目的地。
| JSON 表示法 | 
|---|
| { "dataFormat": enum ( | 
| 字段 | |
|---|---|
| dataFormat | 
 必需。输出数据格式。 | 
| 联合字段 destination。必需。destination只能是下列其中一项: | |
| gcsDestination | 
 要向其中写入输出的 Google Cloud Storage 位置。 | 
GcsDestination
将写入输出文件的 Google Cloud Storage 位置。
| JSON 表示法 | 
|---|
| { "uri": string } | 
| 字段 | |
|---|---|
| uri | 
 必需。Google Cloud Storage URI。 |