GoogleApi.Places.V1.Model.GoogleMapsPlacesV1SearchNearbyResponse (google_api_places v0.11.0)

View Source

Response proto for Search Nearby.

Attributes

  • places (type: list(GoogleApi.Places.V1.Model.GoogleMapsPlacesV1Place.t), default: nil) - A list of places that meets user's requirements like places types, number of places and specific location restriction.
  • 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 the places field. If the routing summary is not available for one of the places, it will contain an empty entry. This list should have as many entries as the list of places if requested.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Places.V1.Model.GoogleMapsPlacesV1SearchNearbyResponse{
  places: [GoogleApi.Places.V1.Model.GoogleMapsPlacesV1Place.t()] | nil,
  routingSummaries:
    [GoogleApi.Places.V1.Model.GoogleMapsPlacesV1RoutingSummary.t()] | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.