Class FleetRoutingConnection (2.20.0)

This interface defines virtual methods for each of the user-facing overload sets in FleetRoutingClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type FleetRoutingClient.

To create a concrete instance, see MakeFleetRoutingConnection().

For mocking, see optimization_v1_mocks::MockFleetRoutingConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual OptimizeTours(google::cloud::optimization::v1::OptimizeToursRequest const &)

Parameter
Name Description
request google::cloud::optimization::v1::OptimizeToursRequest const &
Returns
Type Description
StatusOr< google::cloud::optimization::v1::OptimizeToursResponse >

virtual BatchOptimizeTours(google::cloud::optimization::v1::BatchOptimizeToursRequest const &)

Parameter
Name Description
request google::cloud::optimization::v1::BatchOptimizeToursRequest const &
Returns
Type Description
future< StatusOr< google::cloud::optimization::v1::BatchOptimizeToursResponse > >