GoogleApi.Places.V1.Model.GoogleMapsPlacesV1ContextualContentJustificationReviewJustification (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. User review justifications. This highlights a section of the user review that would interest an end user. For instance, if the search query is "firewood pizza", the review justification highlights the text relevant to the search query.

Attributes

  • highlightedText (type: GoogleApi.Places.V1.Model.GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText.t, default: nil) -
  • review (type: GoogleApi.Places.V1.Model.GoogleMapsPlacesV1Review.t, default: nil) - The review that the highlighted text is generated from.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Places.V1.Model.GoogleMapsPlacesV1ContextualContentJustificationReviewJustification{
    highlightedText:
      GoogleApi.Places.V1.Model.GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText.t()
      | nil,
    review: 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.