[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Maps Route Optimization V1 Client - Class VehicleLoad (0.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.1 (latest)](/php/docs/reference/maps-routeoptimization/latest/V1.ShipmentRoute.VehicleLoad)\n- [0.4.0](/php/docs/reference/maps-routeoptimization/0.4.0/V1.ShipmentRoute.VehicleLoad)\n- [0.3.3](/php/docs/reference/maps-routeoptimization/0.3.3/V1.ShipmentRoute.VehicleLoad)\n- [0.2.0](/php/docs/reference/maps-routeoptimization/0.2.0/V1.ShipmentRoute.VehicleLoad)\n- [0.1.0](/php/docs/reference/maps-routeoptimization/0.1.0/V1.ShipmentRoute.VehicleLoad) \nReference documentation and code samples for the Google Maps Route Optimization V1 Client class VehicleLoad.\n\nReports the actual load of the vehicle at some point along the route,\nfor a given type (see\n[Transition.vehicle_loads](/php/docs/reference/maps-routeoptimization/latest/V1.ShipmentRoute.Transition#_Google_Maps_RouteOptimization_V1_ShipmentRoute_Transition__getVehicleLoads__)).\n\nGenerated from protobuf message `google.maps.routeoptimization.v1.ShipmentRoute.VehicleLoad`\n\nNamespace\n---------\n\nGoogle \\\\ Maps \\\\ RouteOptimization \\\\ V1 \\\\ ShipmentRoute\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAmount\n\nThe amount of load on the vehicle, for the given type. The unit of load\nis usually indicated by the type. See\n[Transition.vehicle_loads](/php/docs/reference/maps-routeoptimization/latest/V1.ShipmentRoute.Transition#_Google_Maps_RouteOptimization_V1_ShipmentRoute_Transition__getVehicleLoads__).\n\n### setAmount\n\nThe amount of load on the vehicle, for the given type. The unit of load\nis usually indicated by the type. See\n[Transition.vehicle_loads](/php/docs/reference/maps-routeoptimization/latest/V1.ShipmentRoute.Transition#_Google_Maps_RouteOptimization_V1_ShipmentRoute_Transition__getVehicleLoads__)."]]