Google Maps FleetEngine V1 Client - Class VehicleMatchOrder (0.1.5)

Reference documentation and code samples for the Google Maps FleetEngine V1 Client class VehicleMatchOrder.

Specifies the order of the vehicle matches in the response.

Protobuf type maps.fleetengine.v1.SearchVehiclesRequest.VehicleMatchOrder

Namespace

Google \ Maps \ FleetEngine \ V1 \ SearchVehiclesRequest

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

UNKNOWN_VEHICLE_MATCH_ORDER

Value: 0

Default, used for unspecified or unrecognized vehicle matches order.

Generated from protobuf enum UNKNOWN_VEHICLE_MATCH_ORDER = 0;

PICKUP_POINT_ETA

Value: 1

Ascending order by vehicle driving time to the pickup point.

Generated from protobuf enum PICKUP_POINT_ETA = 1;

PICKUP_POINT_DISTANCE

Value: 2

Ascending order by vehicle driving distance to the pickup point.

Generated from protobuf enum PICKUP_POINT_DISTANCE = 2;

DROPOFF_POINT_ETA

Value: 3

Ascending order by vehicle driving time to the dropoff point. This order can only be used if the dropoff point is specified in the request.

Generated from protobuf enum DROPOFF_POINT_ETA = 3;

PICKUP_POINT_STRAIGHT_DISTANCE

Value: 4

Ascending order by straight-line distance from the vehicle's last reported location to the pickup point.

Generated from protobuf enum PICKUP_POINT_STRAIGHT_DISTANCE = 4;

COST

Value: 5

Ascending order by the configured match cost. Match cost is defined as a weighted calculation between straight-line distance and ETA. Weights are set with default values and can be modified per customer. Please contact Google support if these weights need to be modified for your project.

Generated from protobuf enum COST = 5;