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