Lists all vehicles within a given area and a given time window. Only their last location within the time window will be returned.
HTTP request
GET https://fleetengine.googleapis.com/v1/archive/{parent=providers/*}/vehicles
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Must be in the format |
Query parameters
Parameters | |
---|---|
header |
Optional. The standard Fleet Engine request header. |
dataset |
Optional. Name of the Cloud Logging sink dataset. |
timeWindow |
Required. The time window for which to list vehicles. Only vehicles that had at least one update performed during the time window will be returned. |
viewport |
Required. The viewport for which to list vehicles. Only vehicles that had at least one update performed within the viewport will be returned. |
pageSize |
Optional. The maximum number of vehicles to return. The service may return fewer than this value. If unspecified, the server will decide the number of results to return. |
pageToken |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
filter |
Optional. A filter query to apply when listing vehicles. See http://aip.dev/160 for examples of the filter syntax. If you don't specify a value, or if you specify an empty string for the filter, then all vehicles will be returned. |
updateMask |
Optional. A field mask that indicates which updates to This is a comma-separated list of fully qualified names of fields. Example: |
maximumBytesBilled |
Optional. This parameter is used to limit BigQuery costs. Limits the bytes billed for this request. Requests with bytes billed above this limit will fail (without incurring a charge). If the parameter is not specified, the system uses the default project limit set by BigQuery. This is either unlimited, or whatever you have specified as your project default with BigQuery. See BigQuery documentation for details. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
vehicles.list response message. Next id: 3
JSON representation |
---|
{
"vehicles": [
{
object ( |
Fields | |
---|---|
vehicles[] |
The list of vehicles for the requested time window and area. The vehicle entities represent the latest state within the time window. |
nextPageToken |
Pass this token in the ListVehiclesRequest to continue to list results. If all results have been returned, this field is an empty string or not present in the response. |