- JSON representation
- SearchVehiclesRequestLog
- VehicleAttributeListLog
- SearchVehiclesResponseLog
- VehicleMatchLog
Details on SearchVehicles request and response.
Note: This log is subject to splitting on the matches field if the total log size exceeds 256 KB. See Split Logs for more details.
JSON representation |
---|
{ "request": { object ( |
Fields | |
---|---|
request |
The request sent to Fleet Engine. |
response |
The response returned to the client. If the RPC call results in an error the response is not set. |
error |
The error response returned to the client. It will be unset if the RPC call succeeded. |
SearchVehiclesRequestLog
Details on the SearchVehicles request.
JSON representation |
---|
{ "header": { object ( |
Fields | |
---|---|
header |
Request header. |
pickup |
The pickup point to search near. |
dropoff |
The customer's intended dropoff location. |
pickup |
Specifies the vehicle search radius around the pickup point. |
count |
Specifies the maximum number of vehicles to return. |
minimum |
Specifies the required minimum capacity of the vehicle. |
search |
Restricts the search to only those vehicles that support at least one of the specified trip types. |
maximum |
Restricts the search to only those vehicles that have updated their locations within the specified duration back from now. A duration in seconds with up to nine fractional digits, ending with ' |
vehicle |
The types of vehicle searching for. |
required |
Restricts the search to only those vehicles with the specified attributes. |
required |
Restricts the search to only those vehicles with at least one of the specified attributes applied to each VehicleAttributeList. |
required |
Restricts the search to only those vehicles with at least one set of the specified attributes in the VehicleAttributeList. |
match |
Sort order of the search result. |
include |
Indicates if a vehicle with an active trip is eligible for another match. |
trip |
ID of the trip associated with the searchVehiclesRequest. |
filter |
An AIP-160 query that limits vehicles returned based on vehicle attributes. |
VehicleAttributeListLog
A list-of-list datatype for VehicleAttributeLog.
JSON representation |
---|
{
"attributes": [
{
object ( |
Fields | |
---|---|
attributes[] |
A list of attributes in this collection. |
SearchVehiclesResponseLog
Details on the SearchVehicles response.
JSON representation |
---|
{
"matchIds": [
string
],
"matches": [
{
object ( |
Fields | |
---|---|
matchIds[] |
Deprecated: List of the vehicle IDs for the returned vehicles. Please use matches.vehicle.name to derive this ID. |
matches[] |
List of VehicleMatches for the returned vehicles. |
VehicleMatchLog
The log of a SearchVehicles VehicleMatch result.
JSON representation |
---|
{ "vehicle": { object ( |
Fields | |
---|---|
vehicle |
A vehicle that matches the request. |
vehicle |
The vehicle's driving ETA to the pickup point specified in the request. An empty value indicates a failure in calculating ETA for the vehicle. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
vehicle |
The vehicle's driving distance to the pickup point specified in the request, including any intermediate pickup or dropoff points for an existing ride. An empty value indicates a failure in calculating distance for the vehicle. |
vehicle |
The straight-line distance between the vehicle and the pickup point specified in the request, including intermediate waypoints for existing trips. |
vehicle |
The complete vehicle's driving ETA to the drop off point specified in the request. The ETA includes any required visits for active trips that must be completed before the vehicle arrives at the dropoff point specified in the request. The value will only be populated when a dropoff point is specified in the request. An empty value indicates a failure in calculating the ETA for the vehicle to reach the dropoff point. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
vehicle |
The vehicle's driving distance (in meters) from the pickup point to the dropoff point specified in the request. The distance is only between the two points and does not include the vehicle location or any other waypoints before the vehicle arrives at the pickup point or dropoff point. The value will only be populated when a dropoff point is specified in the request. An empty value indicates a failure in calculating the distance from the pickup to dropoff points specified in the request. |
trip |
The trip type of the request that was used to calculate the ETA to the pickup point. |
vehicle |
Type of the vehicle match. |
requested |
The method the caller requested for sorting vehicle matches. |
ordered |
The actual method that is used to order this vehicle. Normally, this will match the 'order_by' field from the request. However, in certain circumstances such as a failure of Google Maps backends, a different method may be used (such as PICKUP_POINT_STRAIGHT_DISTANCE). |