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

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 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
GcsSource|null

hasGcsSource

setGcsSource

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

Parameter
Name Description
var 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