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

  // Union field source can be only one of the following:
  "gcsSource": {
    object (GcsSource)
  }
  // End of list of possible types for union field source.
}
字段
dataFormat

enum (DataFormat)

必需。输入数据格式。

联合字段 source。必需。source 只能是下列其中一项:
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),

  // Union field destination can be only one of the following:
  "gcsDestination": {
    object (GcsDestination)
  }
  // End of list of possible types for union field destination.
}
字段
dataFormat

enum (DataFormat)

必需。输出数据格式。

联合字段 destination。必需。destination 只能是下列其中一项:
gcsDestination

object (GcsDestination)

写入输出的 Google Cloud Storage 位置。

GcsDestination

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

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

string

必需。Google Cloud Storage URI。