To manage the usage of the Fleet Engine APIs, set "requests per minute" quota limits on all requests.
View or change quota limits for the Fleet Engine APIs following these steps:
- In the Cloud console, open the Google Maps Platform Quotas page.
- Click the APIs drop-down and select the "Local Rides and Deliveries API".
- To view quota limits, open the card for each type of request.
- To change a quota limit for a request type, click the Edit icon for that limit. A dialog appears. In the Quota Limit field, enter the preferred "requests per minute" quota limit (up to the quota limit specified by Google) and select Save.
- If you need additional quota for your project beyond the limits provided, reach out to Support.
Quota Bucket | APIs Included | Requests Per Minute |
---|---|---|
Batch create requests | maps.fleetengine.delivery.v1.DeliveryService.BatchCreateTasks | 180 |
Billing requests | maps.fleetengine.v1.TripService.ReportBillableTrip | 9000 |
Create requests | maps.fleetengine.delivery.v1.DeliveryService.CreateDeliveryVehicle, maps.fleetengine.delivery.v1.DeliveryService.CreateTask, maps.fleetengine.v1.VehicleService.CreateVehicle, maps.fleetengine.v1.TripService.CreateTrip |
3000 |
Delivery list requests | maps.fleetengine.delivery.v1.DeliveryService.ListTasks, maps.fleetengine.delivery.v1.DeliveryService.ListDeliveryVehicles |
3000 |
List requests | maps.fleetengine.v1.VehicleService.ListVehicles | 3000 |
Read requests | maps.fleetengine.delivery.v1.DeliveryService.GetDeliveryVehicle, maps.fleetengine.delivery.v1.DeliveryService.GetTask, maps.fleetengine.v1.VehicleService.GetVehicle, maps.fleetengine.v1.TripService.GetTrip |
9000 |
Search requests | maps.fleetengine.delivery.v1.DeliveryService.GetTaskTrackingInfo, maps.fleetengine.v1.VehicleService.SearchVehicles, maps.fleetengine.v1.TripService.SearchTrips |
6000 |
Update requests | maps.fleetengine.delivery.v1.DeliveryService.UpdateDeliveryVehicle, maps.fleetengine.delivery.v1.DeliveryService.UpdateTask, maps.fleetengine.v1.VehicleService.UpdateVehicle, maps.fleetengine.v1.VehicleService.UpdateVehicleAttributes, maps.fleetengine.v1.TripService.UpdateTrip |
30000 |
Fixed rate limits
Fixed rate limits apply to some API methods that operate on a single resource.
For example, providers/project_id/vehicles/vehicle_id
. Google applies fixed
rate limits across a single resource without exception for any customer. For
example, you can expect to receive an HTTP 429
or gRPC RESOURCE_EXHAUSTED
error if you call maps.fleetengine.v1.VehicleService.UpdateVehicle
more than
3 times per second for the same vehicle_id
within a project.
Affected rate limited requests are not counted as quota errors in your Google Cloud Console.
Learn more about handling errors.
Quota Bucket | APIs Included | Requests Per Second |
---|---|---|
Single-resource read requests | maps.fleetengine.delivery.v1.DeliveryService.GetTask,
maps.fleetengine.delivery.v1.DeliveryService.GetDeliveryVehicle, maps.fleetengine.delivery.v1.DeliveryService.GetTaskTrackingInfo, maps.fleetengine.v1.VehicleService.GetVehicle, maps.fleetengine.v1.TripService.GetTrip |
50 |
Single-resource write requests | maps.fleetengine.delivery.v1.DeliveryService.CreateTask,
maps.fleetengine.delivery.v1.DeliveryService.UpdateTask, maps.fleetengine.delivery.v1.DeliveryService.CreateDeliveryVehicle, maps.fleetengine.delivery.v1.DeliveryService.UpdateDeliveryVehicle, maps.fleetengine.v1.TripService.CreateTrip, maps.fleetengine.v1.TripService.UpdateTrip, maps.fleetengine.v1.TripService.ReportBillableTrip, maps.fleetengine.v1.VehicleService.CreateVehicle, maps.fleetengine.v1.VehicleService.UpdateVehicle, maps.fleetengine.v1.VehicleService.UpdateVehicleAttributes, maps.fleetengine.v1.VehicleService.ComputeTrafficData |
3 |