On-demand Rides and Deliveries Solution is currently available only to select partners. Contact sales to learn more.

SearchTripsLog

Stay organized with collections Save and categorize content based on your preferences.

Details on SearchTrips request and response.

JSON representation
{
  "request": {
    object (SearchTripsRequestLog)
  },
  "response": {
    object (SearchTripsResponseLog)
  },
  "errorResponse": {
    object (ErrorResponseLog)
  }
}
Fields
request

object (SearchTripsRequestLog)

The request sent to Fleet Engine.

response

object (SearchTripsResponseLog)

The response returned to the client. If the RPC call results in an error the response is not set.

errorResponse

object (ErrorResponseLog)

The error response returned to the client. It will be unset if the RPC call succeeded.

SearchTripsRequestLog

Details on SearchTrips request.

JSON representation
{
  "header": {
    object (RequestHeaderLog)
  },
  "vehicleId": string,
  "activeTripsOnly": boolean,
  "pageSize": integer,
  "pageToken": string,
  "minimumStaleness": string
}
Fields
header

object (RequestHeaderLog)

Request header.

vehicleId

string

The vehicle associated with the trips in the request.

activeTripsOnly

boolean

If set to true, the response includes Trips that influence a driver's route.

pageSize

integer

The maximum number of Trips to return. If not set, the server decides the number of results to return.

pageToken

string

Set this to a value previously returned in the SearchTripsResponse to continue from previous results.

minimumStaleness

string (Duration format)

If specified, returns the trips that have not been updated after the time (current - minimumStaleness).

A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

SearchTripsResponseLog

Details on SearchTrips response.

JSON representation
{
  "trips": [
    {
      object (TripLog)
    }
  ]
}
Fields
trips[]

object (TripLog)

A vehicle that matches the request.