Class Waypoint (1.7.0)

Waypoint(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Encapsulates a waypoint. Waypoints mark arrival and departure locations of VisitRequests, and start and end locations of Vehicles.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
location google.cloud.optimization_v1.types.Location
A point specified using geographic coordinates, including an optional heading. This field is a member of oneof_ location_type.
place_id str
The POI Place ID associated with the waypoint. This field is a member of oneof_ location_type.
side_of_road bool
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'.