הפונקציה שולחת OptimizeToursRequest שמכיל ShipmentModel ומחזירה OptimizeToursResponse שמכיל ShipmentRoute, שהם קבוצה של מסלולים שכלי רכב צריכים לבצע כדי למזער את העלות הכוללת.
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2024-12-22 (שעון UTC)."],[[["The Route Optimization API, accessed via `routeoptimization.googleapis.com`, enables developers to build applications for efficient route planning and optimization."],["The API provides functionalities for optimizing vehicle tours, handling shipments, and minimizing overall costs associated with logistics."],["Users can leverage methods like `OptimizeTours` and `BatchOptimizeTours` to achieve these optimization goals."],["Long-running operations can be managed through dedicated methods such as `GetOperation`, `ListOperations`, and `CancelOperation`."]]],["The Route Optimization API, service `routeoptimization.googleapis.com`, enables managing long-running operations and optimizing vehicle routes. Methods include `CancelOperation`, `DeleteOperation`, `GetOperation`, `ListOperations`, and `WaitOperation` for handling long-running tasks. `BatchOptimizeTours` optimizes multiple tour requests in a batch, and `OptimizeTours` optimizes a shipment model to produce cost-minimized vehicle routes. These methods facilitate the overall route optimization service.\n"]]