Fleet Engine API for scheduled tasks
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
usługi związane z zaplanowanymi zadaniami.
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 |
create |
POST /v1/{parent=providers/*}/deliveryVehicles Tworzy i zwraca nowy obiekt DeliveryVehicle . |
delete |
DELETE /v1/{name=providers/*/deliveryVehicles/*} Usuwanie z Fleet Engine pojazdu dostawczego. |
get |
GET /v1/{name=providers/*/deliveryVehicles/*} Zwraca wskazaną instancję DeliveryVehicle . |
list |
GET /v1/{parent=providers/*}/deliveryVehicles Pobiera wszystkie DeliveryVehicle , które spełniają określone kryteria filtrowania. |
patch |
PATCH /v1/{deliveryVehicle.name=providers/*/deliveryVehicles/*}
Zapisywanie zaktualizowanych danych DeliveryVehicle w Fleet Engine i przypisywanie Tasks do DeliveryVehicle . |
Metody |
get |
GET /v1/{name=providers/*/taskTrackingInfo/*} Zwraca wskazaną instancję TaskTrackingInfo . |
Metody |
batchCreate |
POST /v1/{parent=providers/*}/tasks:batchCreate Tworzy i zwraca zbiór nowych obiektów Task . |
create |
POST /v1/{parent=providers/*}/tasks Tworzy i zwraca nowy obiekt Task . |
delete |
DELETE /v1/{name=providers/*/tasks/*} Usuwanie pojedynczego zadania. |
get |
GET /v1/{name=providers/*/tasks/*} Pobiera informacje o Task . |
list |
GET /v1/{parent=providers/*}/tasks Pobiera wszystkie Task , które spełniają określone kryteria filtrowania. |
patch |
PATCH /v1/{task.name=providers/*/tasks/*} Aktualizuje dane Task . |
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 for managing scheduled tasks, including creating, retrieving, updating, and listing tasks.\u003c/p\u003e\n"],["\u003cp\u003eThe service enables management of delivery vehicles, allowing creation, retrieval, updates, and listing of vehicles, and assignment of tasks to them.\u003c/p\u003e\n"],["\u003cp\u003eTask tracking information can be retrieved using the \u003ccode\u003eTaskTrackingInfo\u003c/code\u003e resource.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries are recommended for interacting with the service, but a discovery document and service endpoint are available for custom integration.\u003c/p\u003e\n"],["\u003cp\u003eThe base URL for the service is \u003ccode\u003ehttps://fleetengine.googleapis.com\u003c/code\u003e.\u003c/p\u003e\n"]]],["This document details the REST API for managing scheduled tasks via `fleetengine.googleapis.com`. Key actions include managing delivery vehicles and tasks. For `deliveryVehicles`, you can create, get, list, and patch them, with endpoints like `/v1/{parent=providers/*}/deliveryVehicles`. For `taskTrackingInfo`, there's a `get` method. For `tasks`, there's create, get, list, batch create and patch operations, accessed through `/v1/{parent=providers/*}/tasks`. The service uses a discovery document and has a base endpoint of `https://fleetengine.googleapis.com`.\n"],null,["# Fleet Engine API for scheduled tasks\n\nServices for scheduled tasks.\n\n- [REST Resource: v1.providers.deliveryVehicles](#v1.providers.deliveryVehicles)\n- [REST Resource: v1.providers.taskTrackingInfo](#v1.providers.taskTrackingInfo)\n- [REST Resource: v1.providers.tasks](#v1.providers.tasks)\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.deliveryVehicles](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/providers.deliveryVehicles)\n--------------------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [create](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/providers.deliveryVehicles/create) | `POST /v1/{parent=providers/*}/deliveryVehicles` Creates and returns a new `DeliveryVehicle`. |\n| [delete](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/providers.deliveryVehicles/delete) | `DELETE /v1/{name=providers/*/deliveryVehicles/*}` Deletes a DeliveryVehicle from the Fleet Engine. |\n| [get](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/providers.deliveryVehicles/get) | `GET /v1/{name=providers/*/deliveryVehicles/*}` Returns the specified `DeliveryVehicle` instance. |\n| [list](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/providers.deliveryVehicles/list) | `GET /v1/{parent=providers/*}/deliveryVehicles` Gets all `DeliveryVehicle`s that meet the specified filtering criteria. |\n| [patch](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/providers.deliveryVehicles/patch) | `PATCH /v1/{deliveryVehicle.name=providers/*/deliveryVehicles/*}` Writes updated `DeliveryVehicle` data to Fleet Engine, and assigns `Tasks` to the `DeliveryVehicle`. |\n\nREST Resource: [v1.providers.taskTrackingInfo](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/providers.taskTrackingInfo)\n--------------------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|\n| [get](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/providers.taskTrackingInfo/get) | `GET /v1/{name=providers/*/taskTrackingInfo/*}` Returns the specified `TaskTrackingInfo` instance. |\n\nREST Resource: [v1.providers.tasks](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/providers.tasks)\n----------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|--------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|\n| [batchCreate](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/providers.tasks/batchCreate) | `POST /v1/{parent=providers/*}/tasks:batchCreate` Creates and returns a batch of new `Task` objects. |\n| [create](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/providers.tasks/create) | `POST /v1/{parent=providers/*}/tasks` Creates and returns a new `Task` object. |\n| [delete](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/providers.tasks/delete) | `DELETE /v1/{name=providers/*/tasks/*}` Deletes a single Task. |\n| [get](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/providers.tasks/get) | `GET /v1/{name=providers/*/tasks/*}` Gets information about a `Task`. |\n| [list](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/providers.tasks/list) | `GET /v1/{parent=providers/*}/tasks` Gets all `Task`s that meet the specified filtering criteria. |\n| [patch](/maps/documentation/mobility/fleet-engine/reference/tasks/rest/v1/providers.tasks/patch) | `PATCH /v1/{task.name=providers/*/tasks/*}` Updates `Task` data. |"]]