diff --git a/google/maps/fleetengine/delivery/v1/delivery_api.proto b/google/maps/fleetengine/delivery/v1/delivery_api.proto index 449ed26358..3c5745224b 100644 --- a/google/maps/fleetengine/delivery/v1/delivery_api.proto +++ b/google/maps/fleetengine/delivery/v1/delivery_api.proto @@ -406,6 +406,12 @@ message CreateTaskRequest { // * `planned_location` (optional for `UNAVAILABLE` tasks) // * `task_duration` // + // The following fields can be optionally set: + // + // * `target_time_window` + // * `task_tracking_view_config` + // * `attributes` + // // Note: The Task's `name` field is ignored. All other Task fields must not be // set; otherwise, an error is returned. Task task = 4 [(google.api.field_behavior) = REQUIRED]; diff --git a/google/maps/fleetengine/delivery/v1/delivery_vehicles.proto b/google/maps/fleetengine/delivery/v1/delivery_vehicles.proto index 3314b1af70..489de74a2b 100644 --- a/google/maps/fleetengine/delivery/v1/delivery_vehicles.proto +++ b/google/maps/fleetengine/delivery/v1/delivery_vehicles.proto @@ -73,6 +73,14 @@ message DeliveryVehicle { // The last reported location of the Delivery Vehicle. DeliveryVehicleLocation last_location = 2; + // Input only. Locations where this Delivery Vehicle has been in the past that + // haven't yet been reported to Fleet Engine. This is used in + // `UpdateDeliveryVehicleRequest` to record locations which were previously + // unable to be sent to the server. Typically this happens when the Delivery + // Vehicle does not have internet connectivity. + repeated DeliveryVehicleLocation past_locations = 12 + [(google.api.field_behavior) = INPUT_ONLY]; + // The Delivery Vehicle's navigation status. DeliveryVehicleNavigationStatus navigation_status = 3; diff --git a/google/maps/fleetengine/v1/fleetengine.proto b/google/maps/fleetengine/v1/fleetengine.proto index d88579bc58..99fe71b639 100644 --- a/google/maps/fleetengine/v1/fleetengine.proto +++ b/google/maps/fleetengine/v1/fleetengine.proto @@ -17,6 +17,7 @@ syntax = "proto3"; package maps.fleetengine.v1; import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; import "google/maps/fleetengine/v1/traffic.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; diff --git a/google/maps/fleetengine/v1/vehicles.proto b/google/maps/fleetengine/v1/vehicles.proto index 67d49f29cd..88a9068b4c 100644 --- a/google/maps/fleetengine/v1/vehicles.proto +++ b/google/maps/fleetengine/v1/vehicles.proto @@ -86,6 +86,14 @@ message Vehicle { // Last reported location of the vehicle. VehicleLocation last_location = 5; + // Input only. Locations where this vehicle has been in the past that haven't + // yet been reported to Fleet Engine. This is used in `UpdateVehicleRequest` + // to record locations which were previously unable to be sent to the server. + // Typically this happens when the vehicle does not have internet + // connectivity. + repeated VehicleLocation past_locations = 30 + [(google.api.field_behavior) = INPUT_ONLY]; + // The total numbers of riders this vehicle can carry. The driver is not // considered in this value. This value must be greater than or equal to one. int32 maximum_capacity = 6;