public NearbySearchRequest type(PlaceType type) {
    return param("type", type);
  }
Restricts the results to places matching the specified type.

@param type The {@link PlaceType} to restrict results to.
@return Returns this {@code NearbyApiRequest} for call chaining.
src/main/java/com/google/maps/NearbySearchRequest.java