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 通訊協定緩衝區文字格式。請參閱 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。