Fleet Engine API for on-demand trips
Stay organized with collections
Save and categorize content based on your preferences.
Services for on-demand trips users.
Service: fleetengine.googleapis.com
To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
https://fleetengine.googleapis.com
Methods |
report |
POST /v1/{name=providers/*/billableTrips/*}:report
Report billable trip usage. |
Methods |
create |
POST /v1/{parent=providers/*}/trips
Creates a trip in the Fleet Engine and returns the new trip. |
delete |
DELETE /v1/{name=providers/*/trips/*}
Deletes a single Trip. |
get |
GET /v1/{name=providers/*/trips/*}
Get information about a single trip. |
search |
POST /v1/{parent=providers/*}/trips:search
Get all the trips for a specific vehicle. |
update |
PUT /v1/{name=providers/*/trips/*}
Updates trip data. |
Methods |
create |
POST /v1/{parent=providers/*}/vehicles
Instantiates a new vehicle associated with an on-demand rideshare or deliveries provider. |
delete |
DELETE /v1/{name=providers/*/vehicles/*}
Deletes a Vehicle from the Fleet Engine. |
get |
GET /v1/{name=providers/*/vehicles/*}
Returns a vehicle from the Fleet Engine. |
list |
GET /v1/{parent=providers/*}/vehicles
Returns a paginated list of vehicles associated with a provider that match the request options. |
search |
POST /v1/{parent=providers/*}/vehicles:search
Returns a list of vehicles that match the request options. |
update |
PUT /v1/{name=providers/*/vehicles/*}
Writes updated vehicle data to the Fleet Engine. |
updateAttributes |
POST /v1/{name=providers/*/vehicles/*}:updateAttributes
Partially updates a vehicle's attributes. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003eFleet Engine provides REST resources to manage trips, vehicles, and billable trips for on-demand services.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can create, retrieve, update, and search for trips and vehicles using these resources.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ev1.providers.billableTrips\u003c/code\u003e resource enables reporting billable trip usage.\u003c/p\u003e\n"],["\u003cp\u003eGoogle-provided client libraries are recommended for interacting with the service, or the service endpoint can be used for custom integrations.\u003c/p\u003e\n"],["\u003cp\u003eA discovery document is available to understand and consume the REST APIs.\u003c/p\u003e\n"]]],[],null,["# Fleet Engine API for on-demand trips\n\nServices for on-demand trips users.\n\n- [REST Resource: v1.providers.billableTrips](#v1.providers.billableTrips)\n- [REST Resource: v1.providers.trips](#v1.providers.trips)\n- [REST Resource: v1.providers.vehicles](#v1.providers.vehicles)\n\nService: fleetengine.googleapis.com\n-----------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://fleetengine.googleapis.com/$discovery/rest?version=v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://fleetengine.googleapis.com`\n\nREST Resource: [v1.providers.billableTrips](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/providers.billableTrips)\n--------------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------|\n| [report](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/providers.billableTrips/report) | `POST /v1/{name=providers/*/billableTrips/*}:report` Report billable trip usage. |\n\nREST Resource: [v1.providers.trips](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/providers.trips)\n----------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|\n| [create](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/providers.trips/create) | `POST /v1/{parent=providers/*}/trips` Creates a trip in the Fleet Engine and returns the new trip. |\n| [delete](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/providers.trips/delete) | `DELETE /v1/{name=providers/*/trips/*}` Deletes a single Trip. |\n| [get](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/providers.trips/get) | `GET /v1/{name=providers/*/trips/*}` Get information about a single trip. |\n| [search](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/providers.trips/search) | `POST /v1/{parent=providers/*}/trips:search` Get all the trips for a specific vehicle. |\n| [update](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/providers.trips/update) | `PUT /v1/{name=providers/*/trips/*}` Updates trip data. |\n\nREST Resource: [v1.providers.vehicles](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/providers.vehicles)\n----------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|\n| [create](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/providers.vehicles/create) | `POST /v1/{parent=providers/*}/vehicles` Instantiates a new vehicle associated with an on-demand rideshare or deliveries provider. |\n| [delete](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/providers.vehicles/delete) | `DELETE /v1/{name=providers/*/vehicles/*}` Deletes a Vehicle from the Fleet Engine. |\n| [get](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/providers.vehicles/get) | `GET /v1/{name=providers/*/vehicles/*}` Returns a vehicle from the Fleet Engine. |\n| [list](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/providers.vehicles/list) | `GET /v1/{parent=providers/*}/vehicles` Returns a paginated list of vehicles associated with a provider that match the request options. |\n| [search](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/providers.vehicles/search) | `POST /v1/{parent=providers/*}/vehicles:search` Returns a list of vehicles that match the request options. |\n| [update](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/providers.vehicles/update) | `PUT /v1/{name=providers/*/vehicles/*}` Writes updated vehicle data to the Fleet Engine. |\n| [updateAttributes](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/providers.vehicles/updateAttributes) | `POST /v1/{name=providers/*/vehicles/*}:updateAttributes` Partially updates a vehicle's attributes. |"]]