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

View Source

Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. Content that is contextual to the place query.

Attributes

  • justifications (type: list(GoogleApi.Places.V1.Model.GoogleMapsPlacesV1ContextualContentJustification.t), default: nil) - Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. Justifications for the place.
  • photos (type: list(GoogleApi.Places.V1.Model.GoogleMapsPlacesV1Photo.t), default: nil) - Information (including references) about photos of this place, contexual to the place query.
  • reviews (type: list(GoogleApi.Places.V1.Model.GoogleMapsPlacesV1Review.t), default: nil) - List of reviews about this place, contexual to the place query.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Places.V1.Model.GoogleMapsPlacesV1ContextualContent{
  justifications:
    [
      GoogleApi.Places.V1.Model.GoogleMapsPlacesV1ContextualContentJustification.t()
    ]
    | nil,
  photos: [GoogleApi.Places.V1.Model.GoogleMapsPlacesV1Photo.t()] | nil,
  reviews: [GoogleApi.Places.V1.Model.GoogleMapsPlacesV1Review.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.