REST Resource: projects
Stay organized with collections
Save and categorize content based on your preferences.
Resource
There is no persistent data associated with this resource.
Methods |
|
Optimizes vehicle tours for one or more OptimizeToursRequest messages as a batch. |
|
Sends an OptimizeToursRequest containing a ShipmentModel and returns an OptimizeToursResponse containing ShipmentRoute s, which are a set of routes to be performed by vehicles minimizing the overall cost. |
|
This is a variant of the OptimizeTours method designed for optimizations with large timeout values. |
|
This is a variant of the OptimizeToursLongRunning method designed for optimizations with large timeout values and large input/output sizes. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003eThis resource represents Route Optimization within Google Maps Platform and does not store persistent data.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two primary methods: \u003ccode\u003ebatchOptimizeTours\u003c/code\u003e for optimizing multiple vehicle tours at once and \u003ccode\u003eoptimizeTours\u003c/code\u003e for optimizing a single set of routes based on a provided model.\u003c/p\u003e\n"],["\u003cp\u003eThese methods allow users to minimize overall transportation costs by generating efficient vehicle routes for deliveries or other logistical operations.\u003c/p\u003e\n"]]],["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"],null,["# REST Resource: projects\n\n- [Resource](#RESOURCE_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource\n--------\n\nThere is no persistent data associated with this resource.\n\n| Methods ------- ||\n|----------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### [batchOptimizeTours](/maps/documentation/route-optimization/reference/rest/v1/projects/batchOptimizeTours) | Optimizes vehicle tours for one or more `OptimizeToursRequest` messages as a batch. |\n| ### [optimizeTours](/maps/documentation/route-optimization/reference/rest/v1/projects/optimizeTours) | Sends an `OptimizeToursRequest` containing a `ShipmentModel` and returns an `OptimizeToursResponse` containing `ShipmentRoute`s, which are a set of routes to be performed by vehicles minimizing the overall cost. |\n| ### [optimizeToursLongRunning](/maps/documentation/route-optimization/reference/rest/v1/projects/optimizeToursLongRunning) | This is a variant of the [OptimizeTours](/maps/documentation/route-optimization/reference/rest/v1/projects.locations/optimizeTours#google.maps.routeoptimization.v1.RouteOptimization.OptimizeTours) method designed for optimizations with large timeout values. |\n| ### [optimizeToursUri](/maps/documentation/route-optimization/reference/rest/v1/projects/optimizeToursUri) | This is a variant of the [OptimizeToursLongRunning](/maps/documentation/route-optimization/reference/rest/v1/projects.locations/optimizeToursLongRunning#google.maps.routeoptimization.v1.RouteOptimization.OptimizeToursLongRunning) method designed for optimizations with large timeout values and large input/output sizes. |"]]