Resource: 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.
JSON representation |
---|
{ "name": string, "trackingId": string, "vehicleLocation": { object ( |
Fields | |
---|---|
name |
Must be in the format |
tracking |
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. * May not contain any of the following ASCII characters: '/', ':', '?', ',', or '#'. |
vehicle |
The vehicle's last location. |
route |
A list of points which when connected forms a polyline of the vehicle's expected route to the location of this task. |
remaining |
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. |
remaining |
The total remaining distance in meters to the |
estimated |
The timestamp that indicates the estimated arrival time to the stop location. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
estimated |
The timestamp that indicates the estimated completion time of a Task. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
state |
The current execution state of the Task. |
task |
The outcome of attempting to execute a Task. |
task |
The timestamp that indicates when the Task's outcome was set by the provider. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
planned |
Immutable. The location where the Task will be completed. |
target |
The time window during which the task should be completed. |
attributes[] |
The custom attributes set on the task. |
Methods |
|
---|---|
|
Returns the specified TaskTrackingInfo instance. |