View Source GoogleApi.Places.V1.Model.GoogleMapsPlacesV1PhotoMedia (google_api_places v0.4.0)

A photo media from Places API.

Attributes

  • name (type: String.t, default: nil) - The resource name of a photo media in the format: places/{place_id}/photos/{photo_reference}/media.
  • photoUri (type: String.t, default: nil) - A short-lived uri that can be used to render the photo.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Places.V1.Model.GoogleMapsPlacesV1PhotoMedia{
  name: String.t() | nil,
  photoUri: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.