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

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

Information for solving one optimization model asynchronously.

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

Namespace

Google \ Maps \ RouteOptimization \ V1 \ BatchOptimizeToursRequest

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ display_name string

Optional. User defined model name, can be used as alias by users to keep track of models.

↳ input_config Google\Maps\RouteOptimization\V1\InputConfig

Required. Information about the input model.

↳ output_config Google\Maps\RouteOptimization\V1\OutputConfig

Required. The desired output location information.

getDisplayName

Optional. User defined model name, can be used as alias by users to keep track of models.

Returns
Type Description
string

setDisplayName

Optional. User defined model name, can be used as alias by users to keep track of models.

Parameter
Name Description
var string
Returns
Type Description
$this

getInputConfig

Required. Information about the input model.

Returns
Type Description
Google\Maps\RouteOptimization\V1\InputConfig|null

hasInputConfig

clearInputConfig

setInputConfig

Required. Information about the input model.

Parameter
Name Description
var Google\Maps\RouteOptimization\V1\InputConfig
Returns
Type Description
$this

getOutputConfig

Required. The desired output location information.

Returns
Type Description
Google\Maps\RouteOptimization\V1\OutputConfig|null

hasOutputConfig

clearOutputConfig

setOutputConfig

Required. The desired output location information.

Parameter
Name Description
var Google\Maps\RouteOptimization\V1\OutputConfig
Returns
Type Description
$this