Options
All
  • Public
  • Public/Protected
  • All
Menu

Available only in the v=beta channel: https://goo.gle/3oAthT3.

The details for a vehicle returned by Fleet Engine.

Hierarchy

  • Vehicle

Index

Properties

attributes: {}

Custom vehicle attributes.

Type declaration

  • [key: string]: unknown
currentRouteSegmentEndPoint: null | TripWaypoint

The waypoint where current route segment ends.

currentRouteSegmentVersion: null | Date

Time when the current route segment was set.

currentTrips: null | string[]

List of trip IDs for trips currently assigned to this vehicle.

etaToFirstWaypoint: null | Date

The ETA to the first entry in the waypoints field.

latestLocation: null | VehicleLocationUpdate

The last reported location of the vehicle.

maximumCapacity: null | number

The total numbers of riders this vehicle can carry. The driver is not considered in this value.

name: string

In the format "providers/{provider_id}/vehicles/{vehicle_id}". The vehicle_id must be a unique identifier.

navigationStatus: VehicleNavigationStatus

The current navigation status of the vehicle.

remainingDistanceMeters: number

The remaining driving distance in the current route segment, in meters.

supportedTripTypes: null | TripType[]

Trip types supported by this vehicle.

vehicleState: VehicleState

The vehicle state.

The type of this vehicle.

waypoints: null | TripWaypoint[]

The remaining waypoints assigned to this Vehicle.

waypointsVersion: null | Date

Last time the waypoints field was updated.

Generated using TypeDoc