Class: Google::Maps::FleetEngine::Delivery::V1::Task::JourneySharingInfo
- Inherits:
-
Object
- Object
- Google::Maps::FleetEngine::Delivery::V1::Task::JourneySharingInfo
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/maps/fleetengine/delivery/v1/tasks.rb
Overview
Journey sharing specific fields.
Instance Attribute Summary collapse
-
#last_location ⇒ ::Google::Maps::FleetEngine::Delivery::V1::DeliveryVehicleLocation
Indicates the vehicle's last reported location of the assigned vehicle.
-
#last_location_snappable ⇒ ::Boolean
Indicates whether the vehicle's lastLocation can be snapped to the
current_route_segment
. -
#remaining_vehicle_journey_segments ⇒ ::Array<::Google::Maps::FleetEngine::Delivery::V1::VehicleJourneySegment>
Tracking information for the stops that the assigned vehicle will make before it completes this Task.
Instance Attribute Details
#last_location ⇒ ::Google::Maps::FleetEngine::Delivery::V1::DeliveryVehicleLocation
Returns Indicates the vehicle's last reported location of the assigned vehicle.
141 142 143 144 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/tasks.rb', line 141 class JourneySharingInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#last_location_snappable ⇒ ::Boolean
Returns Indicates whether the vehicle's lastLocation can be snapped to
the current_route_segment
. This value is False if either
last_location
or current_route_segment
don't exist. This value is
computed by Fleet Engine. Updates from clients are ignored.
141 142 143 144 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/tasks.rb', line 141 class JourneySharingInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#remaining_vehicle_journey_segments ⇒ ::Array<::Google::Maps::FleetEngine::Delivery::V1::VehicleJourneySegment>
Returns Tracking information for the stops that the assigned vehicle will make before it completes this Task. Note that this list can contain stops from other tasks.
The first segment,
Task.journey_sharing_info.remaining_vehicle_journey_segments[0]
(gRPC)
or Task.journeySharingInfo.remainingVehicleJourneySegments[0]
(REST),
contains route information from the driver's last known location to the
upcoming VehicleStop
. Current route information usually comes from the
driver app, except for some cases noted in the documentation for
DeliveryVehicle.current_route_segment.
The other segments in
Task.journey_sharing_info.remaining_vehicle_journey_segments
(gRPC) or
Task.journeySharingInfo.remainingVehicleJourneySegments
(REST) are
populated by Fleet Engine. They provide route information between the
remaining VehicleStops
.
141 142 143 144 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/tasks.rb', line 141 class JourneySharingInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |