public sealed class Waypoint : IMessage<Waypoint>, IEquatable<Waypoint>, IDeepCloneable<Waypoint>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Optimization v1 API class Waypoint.
Encapsulates a waypoint. Waypoints mark arrival and departure locations of VisitRequests, and start and end locations of Vehicles.
Implements
IMessage<Waypoint>, IEquatable<Waypoint>, IDeepCloneable<Waypoint>, IBufferMessage, IMessageNamespace
Google.Cloud.Optimization.V1Assembly
Google.Cloud.Optimization.V1.dll
Constructors
Waypoint()
public Waypoint()
Waypoint(Waypoint)
public Waypoint(Waypoint other)
Parameter | |
---|---|
Name | Description |
other | Waypoint |
Properties
Location
public Location Location { get; set; }
A point specified using geographic coordinates, including an optional heading.
Property Value | |
---|---|
Type | Description |
Location |
LocationTypeCase
public Waypoint.LocationTypeOneofCase LocationTypeCase { get; }
Property Value | |
---|---|
Type | Description |
Waypoint.LocationTypeOneofCase |
PlaceId
public string PlaceId { get; set; }
The POI Place ID associated with the waypoint.
Property Value | |
---|---|
Type | Description |
String |
SideOfRoad
public bool SideOfRoad { get; set; }
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'.
Property Value | |
---|---|
Type | Description |
Boolean |