Class: Google::Cloud::Optimization::V1::Waypoint
- Inherits:
-
Object
- Object
- Google::Cloud::Optimization::V1::Waypoint
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/optimization/v1/fleet_routing.rb
Overview
Encapsulates a waypoint. Waypoints mark arrival and departure locations of VisitRequests, and start and end locations of Vehicles.
Instance Attribute Summary collapse
-
#location ⇒ ::Google::Cloud::Optimization::V1::Location
A point specified using geographic coordinates, including an optional heading.
-
#place_id ⇒ ::String
The POI Place ID associated with the waypoint.
-
#side_of_road ⇒ ::Boolean
Indicates that the location of this waypoint is meant to have a preference for the vehicle to stop at a particular side of road.
Instance Attribute Details
#location ⇒ ::Google::Cloud::Optimization::V1::Location
Returns A point specified using geographic coordinates, including an optional heading.
1743 1744 1745 1746 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1743 class Waypoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#place_id ⇒ ::String
Returns The POI Place ID associated with the waypoint.
1743 1744 1745 1746 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1743 class Waypoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#side_of_road ⇒ ::Boolean
Returns Indicates that the location of this waypoint is meant to have a preference for the vehicle to stop at a particular side of road. When you set this value, the route will pass through the location so that the vehicle can stop at the side of road that the location is biased towards from the center of the road. This option works only for the 'DRIVING' travel mode, and when the 'location_type' is set to 'location'.
1743 1744 1745 1746 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1743 class Waypoint include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |