تُرسِل OptimizeToursRequest تحتوي على ShipmentModel وتُعرِض OptimizeToursResponse تحتوي على ShipmentRoute، وهي مجموعة من المسارات التي ستقطعها المركبات بأقل تكلفة إجمالية.
تاريخ التعديل الأخير: 2025-05-13 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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"]],["تاريخ التعديل الأخير: 2025-05-13 (حسب التوقيت العالمي المتفَّق عليه)"],[[["This resource represents Route Optimization within Google Maps Platform and does not store persistent data."],["It offers two primary methods: `batchOptimizeTours` for optimizing multiple vehicle tours at once and `optimizeTours` for optimizing a single set of routes based on a provided model."],["These methods allow users to minimize overall transportation costs by generating efficient vehicle routes for deliveries or other logistical operations."]]],["The resource described has no persistent data. Key actions involve optimizing vehicle tours. The `batchOptimizeTours` method optimizes tours for multiple `OptimizeToursRequest` messages in a batch. The `optimizeTours` method handles a single `OptimizeToursRequest`, which includes a `ShipmentModel`, and returns an `OptimizeToursResponse`. This response provides `ShipmentRoute`s designed to minimize the overall cost of the routes.\n"]]