Class: Google::Maps::FleetEngine::V1::VehicleMatch
- Inherits:
-
Object
- Object
- Google::Maps::FleetEngine::V1::VehicleMatch
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/maps/fleetengine/v1/vehicle_api.rb
Overview
Contains the vehicle and related estimates for a vehicle that match the
points of active trips for the vehicle SearchVehiclesRequest.
Defined Under Namespace
Modules: VehicleMatchType
Instance Attribute Summary collapse
-
#ordered_by ⇒ ::Google::Maps::FleetEngine::V1::SearchVehiclesRequest::VehicleMatchOrder
The order requested for sorting vehicle matches.
-
#requested_ordered_by ⇒ ::Google::Maps::FleetEngine::V1::SearchVehiclesRequest::VehicleMatchOrder
The order requested for sorting vehicle matches.
-
#trip_type ⇒ ::Google::Maps::FleetEngine::V1::TripType
Required.
-
#vehicle ⇒ ::Google::Maps::FleetEngine::V1::Vehicle
Required.
-
#vehicle_dropoff_eta ⇒ ::Google::Protobuf::Timestamp
The complete vehicle's driving ETA to the drop off point specified in the request.
-
#vehicle_match_type ⇒ ::Google::Maps::FleetEngine::V1::VehicleMatch::VehicleMatchType
Type of the vehicle match.
-
#vehicle_pickup_distance_meters ⇒ ::Google::Protobuf::Int32Value
The distance from the Vehicle's current location to the pickup point specified in the request, including any intermediate pickup or dropoff points for existing trips.
-
#vehicle_pickup_eta ⇒ ::Google::Protobuf::Timestamp
The vehicle's driving ETA to the pickup point specified in the request.
-
#vehicle_pickup_straight_line_distance_meters ⇒ ::Google::Protobuf::Int32Value
Required.
-
#vehicle_pickup_to_dropoff_distance_meters ⇒ ::Google::Protobuf::Int32Value
The vehicle's driving distance (in meters) from the pickup point to the drop off point specified in the request.
-
#vehicle_trips_waypoints ⇒ ::Array<::Google::Maps::FleetEngine::V1::Waypoint>
The ordered list of waypoints used to calculate the ETA.
Instance Attribute Details
#ordered_by ⇒ ::Google::Maps::FleetEngine::V1::SearchVehiclesRequest::VehicleMatchOrder
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'proto_docs/google/maps/fleetengine/v1/vehicle_api.rb', line 619 class VehicleMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type of vehicle match. module VehicleMatchType # Unknown vehicle match type UNKNOWN = 0 # The vehicle currently has no trip assigned to it and can proceed to the # pickup point. EXCLUSIVE = 1 # The vehicle is currently assigned to a trip, but can proceed to the # pickup point after completing the in-progress trip. ETA and distance # calculations take the existing trip into account. BACK_TO_BACK = 2 # The vehicle has sufficient capacity for a shared ride. CARPOOL = 3 # The vehicle will finish its current, active trip before proceeding to the # pickup point. ETA and distance calculations take the existing trip into # account. CARPOOL_BACK_TO_BACK = 4 end end |
#requested_ordered_by ⇒ ::Google::Maps::FleetEngine::V1::SearchVehiclesRequest::VehicleMatchOrder
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'proto_docs/google/maps/fleetengine/v1/vehicle_api.rb', line 619 class VehicleMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type of vehicle match. module VehicleMatchType # Unknown vehicle match type UNKNOWN = 0 # The vehicle currently has no trip assigned to it and can proceed to the # pickup point. EXCLUSIVE = 1 # The vehicle is currently assigned to a trip, but can proceed to the # pickup point after completing the in-progress trip. ETA and distance # calculations take the existing trip into account. BACK_TO_BACK = 2 # The vehicle has sufficient capacity for a shared ride. CARPOOL = 3 # The vehicle will finish its current, active trip before proceeding to the # pickup point. ETA and distance calculations take the existing trip into # account. CARPOOL_BACK_TO_BACK = 4 end end |
#trip_type ⇒ ::Google::Maps::FleetEngine::V1::TripType
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'proto_docs/google/maps/fleetengine/v1/vehicle_api.rb', line 619 class VehicleMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type of vehicle match. module VehicleMatchType # Unknown vehicle match type UNKNOWN = 0 # The vehicle currently has no trip assigned to it and can proceed to the # pickup point. EXCLUSIVE = 1 # The vehicle is currently assigned to a trip, but can proceed to the # pickup point after completing the in-progress trip. ETA and distance # calculations take the existing trip into account. BACK_TO_BACK = 2 # The vehicle has sufficient capacity for a shared ride. CARPOOL = 3 # The vehicle will finish its current, active trip before proceeding to the # pickup point. ETA and distance calculations take the existing trip into # account. CARPOOL_BACK_TO_BACK = 4 end end |
#vehicle ⇒ ::Google::Maps::FleetEngine::V1::Vehicle
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'proto_docs/google/maps/fleetengine/v1/vehicle_api.rb', line 619 class VehicleMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type of vehicle match. module VehicleMatchType # Unknown vehicle match type UNKNOWN = 0 # The vehicle currently has no trip assigned to it and can proceed to the # pickup point. EXCLUSIVE = 1 # The vehicle is currently assigned to a trip, but can proceed to the # pickup point after completing the in-progress trip. ETA and distance # calculations take the existing trip into account. BACK_TO_BACK = 2 # The vehicle has sufficient capacity for a shared ride. CARPOOL = 3 # The vehicle will finish its current, active trip before proceeding to the # pickup point. ETA and distance calculations take the existing trip into # account. CARPOOL_BACK_TO_BACK = 4 end end |
#vehicle_dropoff_eta ⇒ ::Google::Protobuf::Timestamp
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'proto_docs/google/maps/fleetengine/v1/vehicle_api.rb', line 619 class VehicleMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type of vehicle match. module VehicleMatchType # Unknown vehicle match type UNKNOWN = 0 # The vehicle currently has no trip assigned to it and can proceed to the # pickup point. EXCLUSIVE = 1 # The vehicle is currently assigned to a trip, but can proceed to the # pickup point after completing the in-progress trip. ETA and distance # calculations take the existing trip into account. BACK_TO_BACK = 2 # The vehicle has sufficient capacity for a shared ride. CARPOOL = 3 # The vehicle will finish its current, active trip before proceeding to the # pickup point. ETA and distance calculations take the existing trip into # account. CARPOOL_BACK_TO_BACK = 4 end end |
#vehicle_match_type ⇒ ::Google::Maps::FleetEngine::V1::VehicleMatch::VehicleMatchType
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'proto_docs/google/maps/fleetengine/v1/vehicle_api.rb', line 619 class VehicleMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type of vehicle match. module VehicleMatchType # Unknown vehicle match type UNKNOWN = 0 # The vehicle currently has no trip assigned to it and can proceed to the # pickup point. EXCLUSIVE = 1 # The vehicle is currently assigned to a trip, but can proceed to the # pickup point after completing the in-progress trip. ETA and distance # calculations take the existing trip into account. BACK_TO_BACK = 2 # The vehicle has sufficient capacity for a shared ride. CARPOOL = 3 # The vehicle will finish its current, active trip before proceeding to the # pickup point. ETA and distance calculations take the existing trip into # account. CARPOOL_BACK_TO_BACK = 4 end end |
#vehicle_pickup_distance_meters ⇒ ::Google::Protobuf::Int32Value
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'proto_docs/google/maps/fleetengine/v1/vehicle_api.rb', line 619 class VehicleMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type of vehicle match. module VehicleMatchType # Unknown vehicle match type UNKNOWN = 0 # The vehicle currently has no trip assigned to it and can proceed to the # pickup point. EXCLUSIVE = 1 # The vehicle is currently assigned to a trip, but can proceed to the # pickup point after completing the in-progress trip. ETA and distance # calculations take the existing trip into account. BACK_TO_BACK = 2 # The vehicle has sufficient capacity for a shared ride. CARPOOL = 3 # The vehicle will finish its current, active trip before proceeding to the # pickup point. ETA and distance calculations take the existing trip into # account. CARPOOL_BACK_TO_BACK = 4 end end |
#vehicle_pickup_eta ⇒ ::Google::Protobuf::Timestamp
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'proto_docs/google/maps/fleetengine/v1/vehicle_api.rb', line 619 class VehicleMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type of vehicle match. module VehicleMatchType # Unknown vehicle match type UNKNOWN = 0 # The vehicle currently has no trip assigned to it and can proceed to the # pickup point. EXCLUSIVE = 1 # The vehicle is currently assigned to a trip, but can proceed to the # pickup point after completing the in-progress trip. ETA and distance # calculations take the existing trip into account. BACK_TO_BACK = 2 # The vehicle has sufficient capacity for a shared ride. CARPOOL = 3 # The vehicle will finish its current, active trip before proceeding to the # pickup point. ETA and distance calculations take the existing trip into # account. CARPOOL_BACK_TO_BACK = 4 end end |
#vehicle_pickup_straight_line_distance_meters ⇒ ::Google::Protobuf::Int32Value
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'proto_docs/google/maps/fleetengine/v1/vehicle_api.rb', line 619 class VehicleMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type of vehicle match. module VehicleMatchType # Unknown vehicle match type UNKNOWN = 0 # The vehicle currently has no trip assigned to it and can proceed to the # pickup point. EXCLUSIVE = 1 # The vehicle is currently assigned to a trip, but can proceed to the # pickup point after completing the in-progress trip. ETA and distance # calculations take the existing trip into account. BACK_TO_BACK = 2 # The vehicle has sufficient capacity for a shared ride. CARPOOL = 3 # The vehicle will finish its current, active trip before proceeding to the # pickup point. ETA and distance calculations take the existing trip into # account. CARPOOL_BACK_TO_BACK = 4 end end |
#vehicle_pickup_to_dropoff_distance_meters ⇒ ::Google::Protobuf::Int32Value
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'proto_docs/google/maps/fleetengine/v1/vehicle_api.rb', line 619 class VehicleMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type of vehicle match. module VehicleMatchType # Unknown vehicle match type UNKNOWN = 0 # The vehicle currently has no trip assigned to it and can proceed to the # pickup point. EXCLUSIVE = 1 # The vehicle is currently assigned to a trip, but can proceed to the # pickup point after completing the in-progress trip. ETA and distance # calculations take the existing trip into account. BACK_TO_BACK = 2 # The vehicle has sufficient capacity for a shared ride. CARPOOL = 3 # The vehicle will finish its current, active trip before proceeding to the # pickup point. ETA and distance calculations take the existing trip into # account. CARPOOL_BACK_TO_BACK = 4 end end |
#vehicle_trips_waypoints ⇒ ::Array<::Google::Maps::FleetEngine::V1::Waypoint>
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 |
# File 'proto_docs/google/maps/fleetengine/v1/vehicle_api.rb', line 619 class VehicleMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Type of vehicle match. module VehicleMatchType # Unknown vehicle match type UNKNOWN = 0 # The vehicle currently has no trip assigned to it and can proceed to the # pickup point. EXCLUSIVE = 1 # The vehicle is currently assigned to a trip, but can proceed to the # pickup point after completing the in-progress trip. ETA and distance # calculations take the existing trip into account. BACK_TO_BACK = 2 # The vehicle has sufficient capacity for a shared ride. CARPOOL = 3 # The vehicle will finish its current, active trip before proceeding to the # pickup point. ETA and distance calculations take the existing trip into # account. CARPOOL_BACK_TO_BACK = 4 end end |