# GooglePlacesSwift Framework Reference

# SearchByTextResponse

    struct SearchByTextResponse

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

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


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


  ` The pagination object for the response.

  #### Declaration

  Swift

      var pagination: https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/Pagination.html<SearchByTextResponse>? { get }

- `


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


  ` 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/SearchByTextResponse#/s:17GooglePlacesSwift20SearchByTextResponseV16routingSummariesSayAA14RoutingSummaryVGvp)


  ` 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 }

- `


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


  ` A link to search with the given query on Google Maps.

  #### Declaration

  Swift

      var searchURL: URL? { get }