AsyncModelConfig

Informazioni per risolvere un modello di ottimizzazione in modo asincrono.

Rappresentazione JSON
{
  "displayName": string,
  "inputConfig": {
    object (InputConfig)
  },
  "outputConfig": {
    object (OutputConfig)
  }
}
Campi
displayName

string

Facoltativo. Nome del modello definito dall'utente, può essere utilizzato come alias dagli utenti per tenere traccia dei modelli.

inputConfig

object (InputConfig)

Obbligatorio. Informazioni sul modello di input.

outputConfig

object (OutputConfig)

Obbligatorio. Le informazioni sulla posizione di output desiderata.

InputConfig

Specifica un input per [locations.batchOptimizeTours][google.maps.routeoptimization.v1.RouteOptimizationService.BatchOptimizeTours].

Rappresentazione 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.
}
Campi
dataFormat

enum (DataFormat)

Obbligatorio. Il formato dei dati di input.

Obbligatorio. Di seguito è riportato un elenco di campi che si escludono a vicenda. In una risposta verrà impostato al massimo uno dei campi:
gcsSource

object (GcsSource)

Una posizione in Google Cloud Storage. Deve essere un singolo oggetto (file).

Fine dei campi che si escludono a vicenda.

GcsSource

La posizione di Google Cloud Storage da cui verrà letto il file di input.

Rappresentazione JSON
{
  "uri": string
}
Campi
uri

string

Obbligatorio. URI di un oggetto Google Cloud Storage con il formato gs://bucket/path/to/object.

DataFormat

Formati dei dati per i file di input e output.

Enum
DATA_FORMAT_UNSPECIFIED Valore non valido, il formato non deve essere UNSPECIFIED.
JSON JavaScript Object Notation.
PROTO_TEXT Formato di testo dei buffer di protocollo. Consulta https://protobuf.dev/reference/protobuf/textformat-spec/

OutputConfig

Specifica una destinazione per i risultati di [locations.batchOptimizeTours][google.maps.routeoptimization.v1.RouteOptimizationService.BatchOptimizeTours].

Rappresentazione 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.
}
Campi
dataFormat

enum (DataFormat)

Obbligatorio. Il formato dei dati di output.

Obbligatorio. Di seguito è riportato un elenco di campi che si escludono a vicenda. In una risposta verrà impostato al massimo uno dei campi:
gcsDestination

object (GcsDestination)

La posizione di Google Cloud Storage in cui scrivere l'output.

Fine dei campi che si escludono a vicenda.

GcsDestination

La posizione Google Cloud Storage in cui verranno scritti i file di output.

Rappresentazione JSON
{
  "uri": string
}
Campi
uri

string

Obbligatorio. URI Google Cloud Storage.