TerminalLocation
Stay organized with collections
Save and categorize content based on your preferences.
Describes the location of a waypoint.
JSON representation |
{
"point": {
object (LatLng )
},
"place": string,
"pointLocationSource": enum (PointSource ),
"terminalPointId": {
object (TerminalPointId )
},
"accessPointId": string,
"tripId": string,
"terminalLocationType": enum (WaypointType )
} |
Fields |
point |
object (LatLng )
Denotes the exact LatLng of the waypoint. Either point or place must be specified as input. If both are specified, point will be used for routing and place will be used for metadata. If only place is specified as input, point will be calculated from the place and included in the output.
|
place |
string
The resource name of the place that represents this location. The format is places/{placeId} . Either point or place must be specified as input. If both are specified, point will be used for routing and place will be used for metadata. place is only included in the output if it was included in the input, meaning that there is no place lookup from LatLng performed. This is an experimental feature.
|
pointLocationSource |
enum (PointSource )
Output only. The source of the point field.
|
terminalPointId (deprecated) |
object (TerminalPointId )
Deprecated: Specify the place field instead.
|
accessPointId (deprecated) |
string
Deprecated: Specify the place field instead.
|
tripId (deprecated) |
string
Deprecated.
|
terminalLocationType (deprecated) |
enum (WaypointType )
Deprecated: Vehicle.waypoint will have this data.
|
PointSource
Indicates the source of a LatLng
.
Enums |
POINT_SOURCE_UNSPECIFIED |
Point source unspecified. |
POINT_SOURCE_DEVELOPER_PROVIDED |
The LatLng was explicitly provided by the developer. |
POINT_SOURCE_CALCULATED_FROM_PLACE |
The LatLng was calculated from the provided place. |
TerminalPointId
Deprecated: TerminalPoints are no longer supported in Fleet Engine. Use TerminalLocation.point
instead.
JSON representation |
{
"value": string,
// Union field Id can be only one of the following:
"placeId": string,
"generatedId": string
// End of list of possible types for union field Id .
} |
Fields |
value (deprecated) |
string
Deprecated.
|
Union field Id . Deprecated. Id can be only one of the following: |
placeId (deprecated) |
string
Deprecated.
|
generatedId (deprecated) |
string
Deprecated.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-02 UTC."],[[["Waypoint location is described using the `point` field, represented by a LatLng object."],["The `terminalPointId`, `accessPointId`, `tripId`, and `terminalLocationType` fields are deprecated and should no longer be used."],["Instead of `TerminalPointId`, use `TerminalLocation.point` to specify location."],["`TerminalPointId` and its associated fields (`value`, `placeId`, `generatedId`) are deprecated and no longer supported."]]],[]]