Reference documentation and code samples for the Google Maps FleetEngine V1 Client class CurrentTripsPresent.
Specifies the types of restrictions on a vehicle's current trips.
Protobuf type maps.fleetengine.v1.SearchVehiclesRequest.CurrentTripsPresent
Namespace
Google \ Maps \ FleetEngine \ V1 \ SearchVehiclesRequestMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
CURRENT_TRIPS_PRESENT_UNSPECIFIED
Value: 0
The availability of vehicles with trips present is governed by the
include_back_to_back
field.
Generated from protobuf enum CURRENT_TRIPS_PRESENT_UNSPECIFIED = 0;
NONE
Value: 1
Vehicles without trips can appear in search results. When this value is
used, include_back_to_back
cannot be true
.
Generated from protobuf enum NONE = 1;
ANY
Value: 2
Vehicles with at most 5 current trips and 10 waypoints are included
in the search results. When this value is used, include_back_to_back
cannot be true
.
Generated from protobuf enum ANY = 2;