File tree Expand file tree Collapse file tree 4 files changed +23
-0
lines changed
Expand file tree Collapse file tree 4 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -406,6 +406,12 @@ message CreateTaskRequest {
406406 // * `planned_location` (optional for `UNAVAILABLE` tasks)
407407 // * `task_duration`
408408 //
409+ // The following fields can be optionally set:
410+ //
411+ // * `target_time_window`
412+ // * `task_tracking_view_config`
413+ // * `attributes`
414+ //
409415 // Note: The Task's `name` field is ignored. All other Task fields must not be
410416 // set; otherwise, an error is returned.
411417 Task task = 4 [(google.api.field_behavior ) = REQUIRED ];
Original file line number Diff line number Diff line change @@ -73,6 +73,14 @@ message DeliveryVehicle {
7373 // The last reported location of the Delivery Vehicle.
7474 DeliveryVehicleLocation last_location = 2 ;
7575
76+ // Input only. Locations where this Delivery Vehicle has been in the past that
77+ // haven't yet been reported to Fleet Engine. This is used in
78+ // `UpdateDeliveryVehicleRequest` to record locations which were previously
79+ // unable to be sent to the server. Typically this happens when the Delivery
80+ // Vehicle does not have internet connectivity.
81+ repeated DeliveryVehicleLocation past_locations = 12
82+ [(google.api.field_behavior ) = INPUT_ONLY ];
83+
7684 // The Delivery Vehicle's navigation status.
7785 DeliveryVehicleNavigationStatus navigation_status = 3 ;
7886
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ syntax = "proto3";
1717package maps.fleetengine.v1 ;
1818
1919import "google/api/field_behavior.proto" ;
20+ import "google/api/resource.proto" ;
2021import "google/maps/fleetengine/v1/traffic.proto" ;
2122import "google/protobuf/duration.proto" ;
2223import "google/protobuf/timestamp.proto" ;
Original file line number Diff line number Diff line change @@ -86,6 +86,14 @@ message Vehicle {
8686 // Last reported location of the vehicle.
8787 VehicleLocation last_location = 5 ;
8888
89+ // Input only. Locations where this vehicle has been in the past that haven't
90+ // yet been reported to Fleet Engine. This is used in `UpdateVehicleRequest`
91+ // to record locations which were previously unable to be sent to the server.
92+ // Typically this happens when the vehicle does not have internet
93+ // connectivity.
94+ repeated VehicleLocation past_locations = 30
95+ [(google.api.field_behavior ) = INPUT_ONLY ];
96+
8997 // The total numbers of riders this vehicle can carry. The driver is not
9098 // considered in this value. This value must be greater than or equal to one.
9199 int32 maximum_capacity = 6 ;
You can’t perform that action at this time.
0 commit comments