GoogleApi.Places.V1.Model.GoogleMapsPlacesV1SearchTextResponse (google_api_places v0.11.0)
View SourceResponse proto for SearchText.
Attributes
-
contextualContents
(type:list(GoogleApi.Places.V1.Model.GoogleMapsPlacesV1ContextualContent.t)
, default:nil
) - Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. A list of contextual contents where each entry associates to the corresponding place in the same index in the places field. The contents that are relevant to thetext_query
in the request are preferred. If the contextual content is not available for one of the places, it will return non-contextual content. It will be empty only when the content is unavailable for this place. This list will have as many entries as the list of places if requested. -
nextPageToken
(type:String.t
, default:nil
) - A token that can be sent aspage_token
to retrieve the next page. If this field is omitted or empty, there are no subsequent pages. -
places
(type:list(GoogleApi.Places.V1.Model.GoogleMapsPlacesV1Place.t)
, default:nil
) - A list of places that meet the user's text search criteria. -
routingSummaries
(type:list(GoogleApi.Places.V1.Model.GoogleMapsPlacesV1RoutingSummary.t)
, default:nil
) - A list of routing summaries where each entry associates to the corresponding place in the same index in theplaces
field. If the routing summary is not available for one of the places, it will contain an empty entry. This list will have as many entries as the list of places if requested. -
searchUri
(type:String.t
, default:nil
) - A link allows the user to search with the same text query as specified in the request on Google Maps.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Places.V1.Model.GoogleMapsPlacesV1SearchTextResponse{ contextualContents: [GoogleApi.Places.V1.Model.GoogleMapsPlacesV1ContextualContent.t()] | nil, nextPageToken: String.t() | nil, places: [GoogleApi.Places.V1.Model.GoogleMapsPlacesV1Place.t()] | nil, routingSummaries: [GoogleApi.Places.V1.Model.GoogleMapsPlacesV1RoutingSummary.t()] | nil, searchUri: String.t() | nil }