AsyncModelConfig

用于异步求解一个优化模型的信息。

JSON 表示法
{
  "displayName": string,
  "inputConfig": {
    object (InputConfig)
  },
  "outputConfig": {
    object (OutputConfig)
  }
}
字段
displayName

string

可选。用户定义的模型名称,可供用户用作别名来跟踪模型。

inputConfig

object (InputConfig)

必需。有关输入模型的信息。

outputConfig

object (OutputConfig)

必需。所需的输出位置信息。

InputConfig

为 [locations.batchOptimizeTours][google.maps.routeoptimization.v1.RouteOptimizationService.BatchOptimizeTours] 指定输入。

JSON 表示法
{
  "dataFormat": enum (DataFormat),

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "gcsSource": {
    object (GcsSource)
  }
  // End of mutually exclusive fields.
}
字段
dataFormat

enum (DataFormat)

必需。输入数据格式。

必需。以下是互斥字段的列表。在响应中,最多只能设置以下字段之一:
gcsSource

object (GcsSource)

Google Cloud Storage 位置。此值必须为单个对象(文件)。

互斥字段的结束。

GcsSource

将从中读取输入文件的 Google Cloud Storage 位置。

JSON 表示法
{
  "uri": string
}
字段
uri

string

必需。Google Cloud Storage 对象的 URI,格式为 gs://bucket/path/to/object。

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),

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "gcsDestination": {
    object (GcsDestination)
  }
  // End of mutually exclusive fields.
}
字段
dataFormat

enum (DataFormat)

必需。输出数据格式。

必需。以下是互斥字段的列表。在响应中,最多只能设置以下字段之一:
gcsDestination

object (GcsDestination)

用于写入输出的 Google Cloud Storage 位置。

互斥字段的结束。

GcsDestination

将写入输出文件的 Google Cloud Storage 位置。

JSON 表示法
{
  "uri": string
}
字段
uri

string

必需。Google Cloud Storage URI。