Google Maps Route Optimization V1 Client - Class BatchOptimizeToursRequest (0.1.0)

Reference documentation and code samples for the Google Maps Route Optimization V1 Client class BatchOptimizeToursRequest.

Request to batch optimize tours as an asynchronous operation.

Each input file should contain one OptimizeToursRequest, and each output file will contain one OptimizeToursResponse. The request contains information to read/write and parse the files. All the input and output files should be under the same project.

Generated from protobuf message google.maps.routeoptimization.v1.BatchOptimizeToursRequest

Namespace

Google \ Maps \ RouteOptimization \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Target project and location to make a call. Format: * projects/{project-id} * projects/{project-id}/locations/{location-id} If no location is specified, a region will be chosen automatically.

↳ model_configs array<Google\Maps\RouteOptimization\V1\BatchOptimizeToursRequest\AsyncModelConfig>

Required. Input/Output information each purchase model, such as file paths and data formats.

getParent

Required. Target project and location to make a call.

Format:

  • projects/{project-id}
  • projects/{project-id}/locations/{location-id} If no location is specified, a region will be chosen automatically.
Returns
Type Description
string

setParent

Required. Target project and location to make a call.

Format:

  • projects/{project-id}
  • projects/{project-id}/locations/{location-id} If no location is specified, a region will be chosen automatically.
Parameter
Name Description
var string
Returns
Type Description
$this

getModelConfigs

Required. Input/Output information each purchase model, such as file paths and data formats.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setModelConfigs

Required. Input/Output information each purchase model, such as file paths and data formats.

Parameter
Name Description
var array<Google\Maps\RouteOptimization\V1\BatchOptimizeToursRequest\AsyncModelConfig>
Returns
Type Description
$this