Class FleetRoutingConnection (2.33.0-rc)

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

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

Parameters
Name Description
NoAwaitTag
request google::cloud::optimization::v1::BatchOptimizeToursRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual BatchOptimizeTours(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::optimization::v1::BatchOptimizeToursResponse > >

virtual GetOperation(google::longrunning::GetOperationRequest const &)

Parameter
Name Description
request google::longrunning::GetOperationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >