File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,6 +44,25 @@ message DeliveryVehicle {
4444 pattern : "providers/{provider}/deliveryVehicles/{vehicle}"
4545 };
4646
47+ // The type of delivery vehicle.
48+ enum DeliveryVehicleType {
49+ // The value is unused.
50+ DELIVERY_VEHICLE_TYPE_UNSPECIFIED = 0 ;
51+
52+ // An automobile.
53+ AUTO = 1 ;
54+
55+ // A motorcycle, moped, or other two-wheeled vehicle
56+ TWO_WHEELER = 2 ;
57+
58+ // Human-powered transport.
59+ BICYCLE = 3 ;
60+
61+ // A human transporter, typically walking or running, traveling along
62+ // pedestrian pathways.
63+ PEDESTRIAN = 4 ;
64+ }
65+
4766 // The unique name of this Delivery Vehicle.
4867 // The format is `providers/{provider}/deliveryVehicles/{vehicle}`.
4968 string name = 1 ;
@@ -129,6 +148,9 @@ message DeliveryVehicle {
129148 // A list of custom Delivery Vehicle attributes. A Delivery Vehicle can have
130149 // at most 50 attributes, and each attribute must have a unique key.
131150 repeated DeliveryVehicleAttribute attributes = 9 ;
151+
152+ // The type of this delivery vehicle. If unset, this will default to `AUTO`.
153+ DeliveryVehicleType type = 10 ;
132154}
133155
134156// A location with any additional identifiers.
Original file line number Diff line number Diff line change @@ -53,6 +53,13 @@ message Vehicle {
5353
5454 // A motorcycle, moped, or other two-wheeled vehicle
5555 TWO_WHEELER = 4 ;
56+
57+ // Human-powered transport.
58+ BICYCLE = 5 ;
59+
60+ // A human transporter, typically walking or running, traveling along
61+ // pedestrian pathways.
62+ PEDESTRIAN = 6 ;
5663 }
5764
5865 // Vehicle type category
You can’t perform that action at this time.
0 commit comments