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

View Source

Area information and the area's relationship with the target location. Areas includes precise sublocality, neighborhoods, and large compounds that are useful for describing a location.

Attributes

  • containment (type: String.t, default: nil) - Defines the spatial relationship between the target location and the area.
  • displayName (type: GoogleApi.Places.V1.Model.GoogleTypeLocalizedText.t, default: nil) - The area's display name.
  • name (type: String.t, default: nil) - The area's resource name.
  • placeId (type: String.t, default: nil) - The area's place id.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Places.V1.Model.GoogleMapsPlacesV1AddressDescriptorArea{
  containment: String.t() | nil,
  displayName: GoogleApi.Places.V1.Model.GoogleTypeLocalizedText.t() | nil,
  name: String.t() | nil,
  placeId: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.