Details on ListVehicles request and response.
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. |
errorResponse |
The error response returned to the client. It will be unset if the RPC call succeeded. |
ListVehiclesRequestLog
Details on ListVehicles request.
JSON representation |
---|
{ "header": { object ( |
Fields | |
---|---|
header |
Request header. |
pageSize |
The maximum number of vehicles to return. |
pageToken |
The value of the |
minimumCapacity |
Specifies the required minimum capacity of the vehicle. All vehicles returned will have a |
tripTypes[] |
Restricts the response to vehicles that support at least one of the specified trip types. |
maximumStaleness |
Restricts the response to vehicles that have updated their locations within the specified duration at the time of the call. If present, must be a valid positive duration. A duration in seconds with up to nine fractional digits, ending with ' |
vehicleTypeCategories[] |
Restricts the response to vehicles with one of the specified type categories. |
requiredAttributes[] |
Restricts the response to vehicles with the specified attributes. |
requiredOneOfAttributes[] |
Restricts the response to vehicles with at least one of the specified attributes in each |
requiredOneOfAttributeSets[] |
Similar to |
vehicleState |
Restricts the response to vehicles that have this vehicle state. |
onTripOnly |
Only return the vehicles with current trip(s). |
ListVehiclesResponseLog
Details on ListVehicles response.
JSON representation |
---|
{
"vehicles": [
{
object ( |
Fields | |
---|---|
vehicles[] |
Vehicles that match the request. |
totalSize |
Total number of vehicles matching the request criteria across all pages. |