Class Task.Types.JourneySharingInfo
Journey sharing specific fields.
Implements
Namespace: Google.Maps.FleetEngine.Delivery.V1
Assembly: Google.Maps.FleetEngine.Delivery.V1.dll
Syntax
public sealed class Task.Types.JourneySharingInfo : IMessage<Task.Types.JourneySharingInfo>, IEquatable<Task.Types.JourneySharingInfo>, IDeepCloneable<Task.Types.JourneySharingInfo>, IBufferMessage, IMessage
Constructors
JourneySharingInfo()
Declaration
public JourneySharingInfo()
JourneySharingInfo(JourneySharingInfo)
Declaration
public JourneySharingInfo(Task.Types.JourneySharingInfo other)
Parameters
Type | Name | Description |
---|---|---|
Task.Types.JourneySharingInfo | other |
Properties
LastLocation
Indicates the vehicle's last reported location of the assigned vehicle.
Declaration
public DeliveryVehicleLocation LastLocation { get; set; }
Property Value
Type | Description |
---|---|
DeliveryVehicleLocation |
LastLocationSnappable
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.
Declaration
public bool LastLocationSnappable { get; set; }
Property Value
Type | Description |
---|---|
bool |
RemainingVehicleJourneySegments
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][maps.fleetengine.delivery.v1.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
.
Declaration
public RepeatedField<VehicleJourneySegment> RemainingVehicleJourneySegments { get; }
Property Value
Type | Description |
---|---|
RepeatedField<VehicleJourneySegment> |