Cloud Optimization v1 API - Class Waypoint (2.0.0)

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.

Inheritance

Object > Waypoint

Namespace

Google.Cloud.Optimization.V1

Assembly

Google.Cloud.Optimization.V1.dll

Constructors

Waypoint()

public Waypoint()

Waypoint(Waypoint)

public Waypoint(Waypoint other)
Parameter
NameDescription
otherWaypoint

Properties

Location

public Location Location { get; set; }

A point specified using geographic coordinates, including an optional heading.

Property Value
TypeDescription
Location

LocationTypeCase

public Waypoint.LocationTypeOneofCase LocationTypeCase { get; }
Property Value
TypeDescription
Waypoint.LocationTypeOneofCase

PlaceId

public string PlaceId { get; set; }

The POI Place ID associated with the waypoint.

Property Value
TypeDescription
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
TypeDescription
Boolean