- JSON representation
- DeviceSettingsLog
- TrafficPolylineDataLog
- VisualTrafficReportPolylineRenderingLog
- RoadStretchLog
The log of a Vehicle resource in Fleet Engine.
JSON representation |
---|
{ "name": string, "state": enum ( |
Fields | |
---|---|
name |
The vehicle resource name in the format of |
state |
The vehicle state. |
supported |
Trip types supported by this vehicle. |
current |
List of |
last |
Last reported location of the vehicle. |
maximum |
Maximum capacity of the vehicle. This is the total numbers of riders on trips this vehicle can contain. The driver is not considered in this value. This value must be greater than or equal to one. |
attributes[] |
List of vehicle service attributes. |
vehicle |
The vehicle type. |
manual |
If true, Fleet Engine will not reorder waypoints and provider must reorder them. Otherwise, when not supplied by provider, Fleet Engine will set waypoints to an optimal order. |
back |
Indicates if the driver accepts back-to-back rides. |
nav |
The vehicle's navigation status. |
remaining |
The remaining driving distance for the |
eta |
The ETA to the next waypoint that is the first entry in the A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
remaining |
The remaining driving time for the |
current |
The waypoint where the |
device |
Information about settings in the mobile device being used by the driver. |
waypoints[] |
The remaining waypoints assigned to this vehicle. |
current |
Fleet Engine uses this information to improve its understanding of a trip, but does not populate the field in its responses. |
DeviceSettingsLog
Information about various settings on the mobile device.
JSON representation |
---|
{ "locationPowerSaveMode": enum ( |
Fields | |
---|---|
location |
How location features are set to behave on the device when battery saver is on. |
is |
Whether the device is currently in power save mode. |
is |
Whether the device is in an interactive state. |
battery |
Information about the battery state. |
TrafficPolylineDataLog
Traffic conditions along the expected vehicle route.
JSON representation |
---|
{
"trafficRendering": {
object ( |
Fields | |
---|---|
traffic |
A polyline rendering of traffic speed for all regions along one stretch of a customer ride. |
VisualTrafficReportPolylineRenderingLog
Describes how clients should color one portion of the polyline along the route.
JSON representation |
---|
{
"roadStretch": [
{
object ( |
Fields | |
---|---|
road |
Road stretches that should be rendered along the polyline. Note that the stretches are guaranteed to not overlap, and that they do not necessarily span the full route. |
RoadStretchLog
One road stretch that should be rendered.
JSON representation |
---|
{
"style": enum ( |
Fields | |
---|---|
style |
The style to apply. |
offset |
The style should be applied between |
length |
The length of the path where to apply the style. |