Get information about a single trip.
HTTP request
GET https://fleetengine.googleapis.com/v1/{name=providers/*/trips/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Must be in the format |
Query parameters
Parameters | |
---|---|
header |
The standard Fleet Engine request header. |
view |
The subset of Trip fields that should be returned and their interpretation. |
current |
Indicates the minimum timestamp (exclusive) for which A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
remaining |
Indicates the minimum timestamp (exclusive) for which A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
route |
The returned current route format, |
current |
Indicates the minimum timestamp (exclusive) for which A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
remaining |
Indicates the minimum timestamp (exclusive) for which A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Trip
.
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. |