Fleet Engine API for on-demand trips
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Usługi dla użytkowników przejazdów na żądanie.
Usługa: fleetengine.googleapis.com
Do wywołania tej usługi zalecamy użycie dostarczonych przez Google bibliotek klienta. Jeśli aplikacja musi wywoływać tę usługę przy użyciu własnych bibliotek, podczas tworzenia żądań interfejsu API należy używać poniższych informacji.
Dokument opisujący
Dokument opisujący to czytelna dla komputera specyfikacja opisująca interfejsy API REST i sposób ich używania. Służy do tworzenia bibliotek klienta, wtyczek IDE i innych narzędzi, które współdziałają z interfejsami API Google. Jedna usługa może udostępniać wiele dokumentów opisujących. Ta usługa dostarcza następujący dokument opisujący interfejs API:
Punkt końcowy usługi
Punkt końcowy usługi to podstawowy adres URL, który określa adres sieciowy usługi interfejsu API. Jedna usługa może mieć wiele punktów końcowych. Ta usługa ma następujący punkt końcowy i wszystkie poniższe identyfikatory URI odnoszą się do niego:
https://fleetengine.googleapis.com
Metody |
report |
POST /v1/{name=providers/*/billableTrips/*}:report Zgłoś rozliczone wykorzystanie przejazdu. |
Metody |
create |
POST /v1/{parent=providers/*}/trips Tworzy przejazd w silniku floty i zwraca nowy przejazd. |
delete |
DELETE /v1/{name=providers/*/trips/*} Usuwanie pojedynczej podróży. |
get |
GET /v1/{name=providers/*/trips/*}
Wyświetlanie informacji o pojedynczej podróży. |
search |
POST /v1/{parent=providers/*}/trips:search Uzyskaj wszystkie podróże konkretnego pojazdu. |
update |
PUT /v1/{name=providers/*/trips/*} Aktualizuje dane dotyczące przejazdu. |
Metody |
create |
POST /v1/{parent=providers/*}/vehicles Tworzy nowy pojazd powiązany z usługą przewozu osób lub dostaw na żądanie. |
delete |
DELETE /v1/{name=providers/*/vehicles/*} Usuwanie pojazdu z Fleet Engine. |
get |
GET /v1/{name=providers/*/vehicles/*} Zwraca pojazd z Fleet Engine. |
list |
GET /v1/{parent=providers/*}/vehicles Zwraca ponumerowane zestawienie pojazdów powiązanych z dostawcą, które pasują do opcji żądania. |
search |
POST /v1/{parent=providers/*}/vehicles:search Zwraca listę pojazdów pasujących do opcji żądania. |
update |
PUT /v1/{name=providers/*/vehicles/*} Zapisywanie zaktualizowanych danych pojazdu w Fleet Engine. |
updateAttributes |
POST /v1/{name=providers/*/vehicles/*}:updateAttributes
Aktualizuje częściowo atrybuty pojazdu. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-31 UTC.
[null,null,["Ostatnia aktualizacja: 2025-08-31 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. |"]]