Fleet Engine API for scheduled tasks
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
שירותים למשימות מתוזמנות.
שירות: fleetengine.googleapis.com
כדי לקרוא לשירות הזה, מומלץ להשתמש בספריות הלקוח ש-Google מספקת. אם האפליקציה שלכם צריכה להשתמש בספריות משלכם כדי לקרוא לשירות הזה, צריך להשתמש במידע הבא כששולחים את בקשות ה-API.
מסמך Discovery
מסמך Discovery הוא מפרט שקריא למכונות, שמתאר ממשקי API ל-REST ומאפשר שימוש בהם. הוא משמש ליצירת ספריות לקוח, יישומי פלאגין ל-IDE וכלים אחרים שמקיימים אינטראקציה עם Google APIs. שירות אחד יכול לספק כמה מסמכי גילוי. השירות הזה מספק את מסמך הגילוי הבא:
נקודת קצה לשירות
נקודת קצה לשירות היא כתובת URL בסיסית שצוינה בה כתובת הרשת של שירות API. לשירות אחד יכולות להיות כמה נקודות קצה של שירות. לשירות הזה יש את נקודת הקצה הבאה, וכל מזהי ה-URI שבהמשך הם יחסיים לנקודת הקצה הזו:
https://fleetengine.googleapis.com
Methods |
create |
POST /v1/{parent=providers/*}/deliveryVehicles
הפונקציה יוצרת DeliveryVehicle חדש ומחזירה אותו. |
delete |
DELETE /v1/{name=providers/*/deliveryVehicles/*}
מחיקה של כלי רכב מסוג DeliveryVehicle מ-Fleet Engine. |
get |
GET /v1/{name=providers/*/deliveryVehicles/*}
הפונקציה מחזירה את מופע DeliveryVehicle שצוין. |
list |
GET /v1/{parent=providers/*}/deliveryVehicles
הפונקציה מקבלת את כל ה-DeliveryVehicle שעומדים בקריטריונים לסינון שצוינו. |
patch |
PATCH /v1/{deliveryVehicle.name=providers/*/deliveryVehicles/*}
כתיבת נתוני DeliveryVehicle מעודכנים ב-Fleet Engine והקצאת Tasks ל-DeliveryVehicle . |
Methods |
get |
GET /v1/{name=providers/*/taskTrackingInfo/*}
הפונקציה מחזירה את מופע TaskTrackingInfo שצוין. |
Methods |
batchCreate |
POST /v1/{parent=providers/*}/tasks:batchCreate
הפונקציה יוצרת ומחזירה קבוצה של אובייקטים חדשים מסוג Task . |
create |
POST /v1/{parent=providers/*}/tasks
יוצרת אובייקט Task חדש ומחזירה אותו. |
delete |
DELETE /v1/{name=providers/*/tasks/*}
מחיקת משימה אחת. |
get |
GET /v1/{name=providers/*/tasks/*}
קבלת מידע על Task . |
list |
GET /v1/{parent=providers/*}/tasks
הפונקציה מקבלת את כל ה-Task שעומדים בקריטריונים לסינון שצוינו. |
patch |
PATCH /v1/{task.name=providers/*/tasks/*}
עדכון הנתונים של Task . |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-31 (שעון UTC).
[null,null,["עדכון אחרון: 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. |"]]