Class TaskTrackingInfo
The TaskTrackingInfo
message. The message contains task tracking
information which will be used for display. If a tracking ID is associated
with multiple Tasks, Fleet Engine uses a heuristic to decide which Task's
TaskTrackingInfo to select.
Implements
Namespace: Google.Maps.FleetEngine.Delivery.V1
Assembly: Google.Maps.FleetEngine.Delivery.V1.dll
Syntax
public sealed class TaskTrackingInfo : IMessage<TaskTrackingInfo>, IEquatable<TaskTrackingInfo>, IDeepCloneable<TaskTrackingInfo>, IBufferMessage, IMessage
Constructors
TaskTrackingInfo()
Declaration
public TaskTrackingInfo()
TaskTrackingInfo(TaskTrackingInfo)
Declaration
public TaskTrackingInfo(TaskTrackingInfo other)
Parameters
Type | Name | Description |
---|---|---|
TaskTrackingInfo | other |
Properties
Attributes
The custom attributes set on the task.
Declaration
public RepeatedField<TaskAttribute> Attributes { get; }
Property Value
Type | Description |
---|---|
RepeatedField<TaskAttribute> |
EstimatedArrivalTime
The timestamp that indicates the estimated arrival time to the stop location.
Declaration
public Timestamp EstimatedArrivalTime { get; set; }
Property Value
Type | Description |
---|---|
Timestamp |
EstimatedTaskCompletionTime
The timestamp that indicates the estimated completion time of a Task.
Declaration
public Timestamp EstimatedTaskCompletionTime { get; set; }
Property Value
Type | Description |
---|---|
Timestamp |
Name
Must be in the format providers/{provider}/taskTrackingInfo/{tracking}
,
where tracking
represents the tracking ID.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PlannedLocation
Immutable. The location where the Task will be completed.
Declaration
public LocationInfo PlannedLocation { get; set; }
Property Value
Type | Description |
---|---|
LocationInfo |
RemainingDrivingDistanceMeters
The total remaining distance in meters to the VehicleStop
of interest.
Declaration
public int? RemainingDrivingDistanceMeters { get; set; }
Property Value
Type | Description |
---|---|
int? |
RemainingStopCount
Indicates the number of stops the vehicle remaining until the task stop is reached, including the task stop. For example, if the vehicle's next stop is the task stop, the value will be 1.
Declaration
public int? RemainingStopCount { get; set; }
Property Value
Type | Description |
---|---|
int? |
RoutePolylinePoints
A list of points which when connected forms a polyline of the vehicle's expected route to the location of this task.
Declaration
public RepeatedField<LatLng> RoutePolylinePoints { get; }
Property Value
Type | Description |
---|---|
RepeatedField<LatLng> |
State
The current execution state of the Task.
Declaration
public Task.Types.State State { get; set; }
Property Value
Type | Description |
---|---|
Task.Types.State |
TargetTimeWindow
The time window during which the task should be completed.
Declaration
public TimeWindow TargetTimeWindow { get; set; }
Property Value
Type | Description |
---|---|
TimeWindow |
TaskOutcome
The outcome of attempting to execute a Task.
Declaration
public Task.Types.TaskOutcome TaskOutcome { get; set; }
Property Value
Type | Description |
---|---|
Task.Types.TaskOutcome |
TaskOutcomeTime
The timestamp that indicates when the Task's outcome was set by the provider.
Declaration
public Timestamp TaskOutcomeTime { get; set; }
Property Value
Type | Description |
---|---|
Timestamp |
TaskTrackingInfoName
TaskTrackingInfoName-typed view over the Name resource name property.
Declaration
public TaskTrackingInfoName TaskTrackingInfoName { get; set; }
Property Value
Type | Description |
---|---|
TaskTrackingInfoName |
TrackingId
Immutable. The tracking ID of a Task.
- Must be a valid Unicode string.
- Limited to a maximum length of 64 characters.
- Normalized according to [Unicode Normalization Form C] (http://www.unicode.org/reports/tr15/).
- May not contain any of the following ASCII characters: '/', ':', '?', ',', or '#'.
Declaration
public string TrackingId { get; set; }
Property Value
Type | Description |
---|---|
string |
VehicleLocation
The vehicle's last location.
Declaration
public DeliveryVehicleLocation VehicleLocation { get; set; }
Property Value
Type | Description |
---|---|
DeliveryVehicleLocation |