Class: Google::Cloud::Optimization::V1::Location
- Inherits:
-
Object
- Object
- Google::Cloud::Optimization::V1::Location
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/optimization/v1/fleet_routing.rb
Overview
Encapsulates a location (a geographic point, and an optional heading).
Instance Attribute Summary collapse
-
#heading ⇒ ::Integer
The compass heading associated with the direction of the flow of traffic.
-
#lat_lng ⇒ ::Google::Type::LatLng
The waypoint's geographic coordinates.
Instance Attribute Details
#heading ⇒ ::Integer
Returns The compass heading associated with the direction of the flow of traffic. This value is used to specify the side of the road to use for pickup and drop-off. Heading values can be from 0 to 360, where 0 specifies a heading of due North, 90 specifies a heading of due East, etc.
1762 1763 1764 1765 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1762 class Location include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |