# GooglePlacesSwift Framework Reference

# SearchNearbyResponse

    struct SearchNearbyResponse

    extension SearchNearbyResponse : https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Protocols/SearchResponse.html, Sendable, SendableMetatype

The response object for the `searchNearby` method.
- `


  ### [places](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/SearchNearbyResponse#/s:17GooglePlacesSwift20SearchNearbyResponseV6placesSayAA5PlaceVGSgvp)


  ` The array of places that match the request.

  #### Declaration

  Swift

      var places: [https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/Place.html]? { get }

- `


  ### [routingSummaries](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/SearchNearbyResponse#/s:17GooglePlacesSwift20SearchNearbyResponseV16routingSummariesSayAA14RoutingSummaryVGvp)


  ` A list of routing summaries where each entry maps to the corresponding place in the same
  index in the places field.

  #### Declaration

  Swift

      var routingSummaries: [https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/RoutingSummary.html] { get }