GoogleApi.Places.V1.Model.GoogleMapsPlacesV1References (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. Reference that the generative content is related to.

Attributes

  • places (type: list(String.t), default: nil) - The list of resource names of the referenced places. This name can be used in other APIs that accept Place resource names.
  • reviews (type: list(GoogleApi.Places.V1.Model.GoogleMapsPlacesV1Review.t), default: nil) - Reviews that serve as references.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Places.V1.Model.GoogleMapsPlacesV1References{
  places: [String.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.