- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- TripApiCall
- CreateTripCall
- CreateTripRequest
- GetTripCall
- GetTripRequest
- PolylineFormatType
- UpdateTripCall
- UpdateTripRequest
Returns a list of all API calls referencing a trip within the given time window.
HTTP request
GET https://fleetengine.googleapis.com/v1/archive/{trip=providers/*/trips/*}:collectCalls
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
trip |
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 trips. Only trips that had at least one update performed during the time window will be returned. |
modifyingCallsOnly |
Optional. If true then only modifying API calls like create and update will be included in the results. If unspecified, all API calls will be returned. |
pageSize |
Optional. The maximum number of trips 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 |
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:
trips.collectCalls response message. Next id: 3
JSON representation |
---|
{
"apiCalls": [
{
object ( |
Fields | |
---|---|
apiCalls[] |
The list of API calls for the requested trip and time window. Calls are sorted from oldest to most recent based on server time. |
nextPageToken |
Pass this token in the CollectTripCallsRequest to continue to list results. If all results have been returned, this field is an empty string or not present in the response. |
TripApiCall
Describes an API call related to a task. Next id: 6
JSON representation |
---|
{ "serverTime": string, // Union field |
Fields | |
---|---|
serverTime |
The timestamp of the call being received by the server. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Union field call . The actual API call description related to the trip. call can be only one of the following: |
|
createTrip |
Result is a create trip call. |
getTrip |
Result is a get trip call. |
updateTrip |
Result is an update trip call. |
CreateTripCall
Describes a trips.create API call. Next id: 4
JSON representation |
---|
{ "request": { object ( |
Fields | |
---|---|
request |
The request message sent to create the trip. |
response |
The trip entity created. |
errorResponse |
The errorResponse returned. |
CreateTripRequest
trips.create request message.
JSON representation |
---|
{ "header": { object ( |
Fields | |
---|---|
header |
The standard Fleet Engine request header. |
parent |
Required. Must be in the format |
tripId |
Required. Unique Trip ID. Subject to the following restrictions:
|
trip |
Required. Trip entity to create. When creating a Trip, the following fields are required:
The following fields are used if you provide them:
Only When When you specify The All other Trip fields are ignored. |
GetTripCall
Describes a trips.get API call. Next id: 4
JSON representation |
---|
{ "request": { object ( |
Fields | |
---|---|
request |
The request message sent to get the trip. |
response |
The trip entity returned. |
errorResponse |
The errorResponse returned. |
GetTripRequest
trips.get request message.
JSON representation |
---|
{ "header": { object ( |
Fields | |
---|---|
header |
The standard Fleet Engine request header. |
name |
Required. Must be in the format |
view |
The subset of Trip fields that should be returned and their interpretation. |
currentRouteSegmentVersion |
Indicates the minimum timestamp (exclusive) for which A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
remainingWaypointsVersion |
Indicates the minimum timestamp (exclusive) for which A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
routeFormatType |
The returned current route format, |
currentRouteSegmentTrafficVersion |
Indicates the minimum timestamp (exclusive) for which A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
remainingWaypointsRouteVersion |
Indicates the minimum timestamp (exclusive) for which A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
PolylineFormatType
The type of polyline format.
Enums | |
---|---|
UNKNOWN_FORMAT_TYPE |
The format is unspecified or unknown. |
LAT_LNG_LIST_TYPE |
A list of google.type.LatLng . |
ENCODED_POLYLINE_TYPE |
A polyline encoded with a polyline compression algorithm. Decoding is not yet supported. |
UpdateTripCall
Describes an trips.update API call. Next id: 4
JSON representation |
---|
{ "request": { object ( |
Fields | |
---|---|
request |
The request message sent to update the trip. |
response |
The trip entity returned. |
errorResponse |
The errorResponse returned. |
UpdateTripRequest
trips.update request message.
JSON representation |
---|
{ "header": { object ( |
Fields | |
---|---|
header |
The standard Fleet Engine request header. |
name |
Required. Must be in the format |
trip |
Required. The Trip associated with the update. The following fields are maintained by the Fleet Engine. Do not update them using Trip.update.
When you update the When you specify To avoid a race condition for trips with multiple destinations, you should provide |
updateMask |
Required. The field mask indicating which fields in Trip to update. The This is a comma-separated list of fully qualified names of fields. Example: |