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 \ SearchVehiclesRequest
Methods
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Maps FleetEngine V1 Client - Class CurrentTripsPresent (0.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.1 (latest)](/php/docs/reference/maps-fleetengine/latest/V1.SearchVehiclesRequest.CurrentTripsPresent)\n- [0.4.0](/php/docs/reference/maps-fleetengine/0.4.0/V1.SearchVehiclesRequest.CurrentTripsPresent)\n- [0.3.1](/php/docs/reference/maps-fleetengine/0.3.1/V1.SearchVehiclesRequest.CurrentTripsPresent)\n- [0.2.0](/php/docs/reference/maps-fleetengine/0.2.0/V1.SearchVehiclesRequest.CurrentTripsPresent)\n- [0.1.6](/php/docs/reference/maps-fleetengine/0.1.6/V1.SearchVehiclesRequest.CurrentTripsPresent) \nReference documentation and code samples for the Google Maps FleetEngine V1 Client class CurrentTripsPresent.\n\nSpecifies the types of restrictions on a vehicle's current trips.\n\nProtobuf type `maps.fleetengine.v1.SearchVehiclesRequest.CurrentTripsPresent`\n\nNamespace\n---------\n\nGoogle \\\\ Maps \\\\ FleetEngine \\\\ V1 \\\\ SearchVehiclesRequest\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### CURRENT_TRIPS_PRESENT_UNSPECIFIED\n\n Value: 0\n\nThe availability of vehicles with trips present is governed by the\n`include_back_to_back` field.\n\nGenerated from protobuf enum `CURRENT_TRIPS_PRESENT_UNSPECIFIED = 0;`\n\n### NONE\n\n Value: 1\n\nVehicles without trips can appear in search results. When this value is\nused, `include_back_to_back` cannot be `true`.\n\nGenerated from protobuf enum `NONE = 1;`\n\n### ANY\n\n Value: 2\n\nVehicles with at most 5 current trips and 10 waypoints are included\nin the search results. When this value is used, `include_back_to_back`\ncannot be `true`.\n\nGenerated from protobuf enum `ANY = 2;`"]]