Google Maps Route Optimization V1 Client - Class InputConfig (0.2.0)

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

Specify an input for BatchOptimizeTours.

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

Namespace

Google \ Maps \ RouteOptimization \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ gcs_source Google\Maps\RouteOptimization\V1\GcsSource

A Google Cloud Storage location. This must be a single object (file).

↳ data_format int

Required. The input data format.

getGcsSource

A Google Cloud Storage location. This must be a single object (file).

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

hasGcsSource

setGcsSource

A Google Cloud Storage location. This must be a single object (file).

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

getDataFormat

Required. The input data format.

Returns
Type Description
int

setDataFormat

Required. The input data format.

Parameter
Name Description
var int
Returns
Type Description
$this

getSource

Returns
Type Description
string