Cloud Fleet Routing service is under specific service terms. See Service specific terms.


Any nonnegative additive quantity with an integer amount that can be used to represent capacity of a Vehicle and consumption of that capacity by a Shipment. Example: type: "weight_grams" value: 450000 type: "volume_liters" value: 10000

JSON representation
  "type": string,
  "value": string


A unique identifier of the type of this quantity, used to match several CapacityQuantity in different contexts. It should be self-descriptive, including the units used; see the examples in message comment.


string (int64 format)

The quantity itself. Since it is an integer (whose precision may impact performance), clients are advised to choose an appropriate unit. It must be nonnegative, but we use int64 because it's more compact on the wire.