Class: Google::Maps::FleetEngine::V1::TripWaypoint
- Inherits:
-
Object
- Object
- Google::Maps::FleetEngine::V1::TripWaypoint
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/maps/fleetengine/v1/fleetengine.rb
Overview
Describes a stopping point on a vehicle's route or an ending point on a vehicle's trip.
Instance Attribute Summary collapse
-
#distance_meters ⇒ ::Google::Protobuf::Int32Value
The path distance from the previous waypoint to the current waypoint.
-
#duration ⇒ ::Google::Protobuf::Duration
The travel time from previous waypoint to this point.
-
#encoded_path_to_waypoint ⇒ ::String
The encoded path from the previous waypoint to the current waypoint.
-
#eta ⇒ ::Google::Protobuf::Timestamp
The estimated time of arrival at this waypoint.
-
#location ⇒ ::Google::Maps::FleetEngine::V1::TerminalLocation
The location of this waypoint.
-
#path_to_waypoint ⇒ ::Array<::Google::Type::LatLng>
The path from the previous waypoint to the current waypoint.
-
#traffic_to_waypoint ⇒ ::Google::Maps::FleetEngine::V1::ConsumableTrafficPolyline
The traffic conditions along the path to this waypoint.
-
#trip_id ⇒ ::String
The trip associated with this waypoint.
-
#waypoint_type ⇒ ::Google::Maps::FleetEngine::V1::WaypointType
The role this waypoint plays in this trip, such as pickup or dropoff.
Instance Attribute Details
#distance_meters ⇒ ::Google::Protobuf::Int32Value
Returns The path distance from the previous waypoint to the current waypoint. Undefined for the first waypoint in a list.
107 108 109 110 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 107 class TripWaypoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#duration ⇒ ::Google::Protobuf::Duration
Returns The travel time from previous waypoint to this point. Undefined for the first waypoint in a list.
107 108 109 110 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 107 class TripWaypoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#encoded_path_to_waypoint ⇒ ::String
Returns The encoded path from the previous waypoint to the current waypoint.
Note: This field is intended only for use by the Driver SDK and Consumer SDK. Decoding is not yet supported.
107 108 109 110 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 107 class TripWaypoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#eta ⇒ ::Google::Protobuf::Timestamp
Returns The estimated time of arrival at this waypoint. Undefined for the first waypoint in a list.
107 108 109 110 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 107 class TripWaypoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#location ⇒ ::Google::Maps::FleetEngine::V1::TerminalLocation
Returns The location of this waypoint.
107 108 109 110 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 107 class TripWaypoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#path_to_waypoint ⇒ ::Array<::Google::Type::LatLng>
Returns The path from the previous waypoint to the current waypoint. Undefined for the first waypoint in a list. This field is only populated when requested.
107 108 109 110 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 107 class TripWaypoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#traffic_to_waypoint ⇒ ::Google::Maps::FleetEngine::V1::ConsumableTrafficPolyline
Returns The traffic conditions along the path to this waypoint. Note that traffic is only available for Google Map Platform Rides and Deliveries Solution customers.
107 108 109 110 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 107 class TripWaypoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#trip_id ⇒ ::String
Returns The trip associated with this waypoint.
107 108 109 110 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 107 class TripWaypoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#waypoint_type ⇒ ::Google::Maps::FleetEngine::V1::WaypointType
Returns The role this waypoint plays in this trip, such as pickup or dropoff.
107 108 109 110 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 107 class TripWaypoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |