REST Resource: projects.locations
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 functionality 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 processing multiple optimization requests concurrently and \u003ccode\u003eoptimizeTours\u003c/code\u003e for optimizing routes based on shipment models and minimizing costs.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eoptimizeTours\u003c/code\u003e method utilizes a \u003ccode\u003eShipmentModel\u003c/code\u003e as input and provides an \u003ccode\u003eOptimizeToursResponse\u003c/code\u003e containing efficient \u003ccode\u003eShipmentRoute\u003c/code\u003es for vehicle execution.\u003c/p\u003e\n"]]],["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"],null,["# REST Resource: projects.locations\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.locations/batchOptimizeTours) | Optimizes vehicle tours for one or more `OptimizeToursRequest` messages as a batch. |\n| ### [optimizeTours](/maps/documentation/route-optimization/reference/rest/v1/projects.locations/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.locations/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.locations/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. |"]]