public SnapToRoadsApiRequest path(LatLng... path) {
    return param("path", StringJoin.join('|', path));
  }
The path from which to snap to roads.

@param path the path to be snapped
@return returns this {@code SnapToRoadsApiRequest} for call chaining.
src/main/java/com/google/maps/SnapToRoadsApiRequest.java