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

View Source

A block of content that can be served individually.

Attributes

  • content (type: GoogleApi.Places.V1.Model.GoogleTypeLocalizedText.t, default: nil) - Content related to the topic.
  • references (type: GoogleApi.Places.V1.Model.GoogleMapsPlacesV1References.t, default: nil) - Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. References that are related to this block of content.
  • topic (type: String.t, default: nil) - The topic of the content, for example "overview" or "restaurant".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Places.V1.Model.GoogleMapsPlacesV1ContentBlock{
  content: GoogleApi.Places.V1.Model.GoogleTypeLocalizedText.t() | nil,
  references: GoogleApi.Places.V1.Model.GoogleMapsPlacesV1References.t() | nil,
  topic: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.