تُرسِل 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 functionality within Google Maps Platform and does not store persistent data."],["It offers two primary methods: `batchOptimizeTours` for processing multiple optimization requests concurrently and `optimizeTours` for optimizing routes based on shipment models and minimizing costs."],["The `optimizeTours` method utilizes a `ShipmentModel` as input and provides an `OptimizeToursResponse` containing efficient `ShipmentRoute`s for vehicle execution."]]],["The resource described has no persistent data. Two methods are available: `batchOptimizeTours` and `optimizeTours`. `batchOptimizeTours` optimizes vehicle tours for multiple `OptimizeToursRequest` messages in a single batch. `optimizeTours` processes a single `OptimizeToursRequest`, which includes a `ShipmentModel`, and returns an `OptimizeToursResponse` with optimized `ShipmentRoute`s, aiming to minimize the overall cost of vehicle routes.\n"]]