TerminalLocation

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.