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

View Source

A relational description of a location. Includes a ranked set of nearby landmarks and precise containing areas and their relationship to the target location.

Attributes

  • areas (type: list(GoogleApi.Places.V1.Model.GoogleMapsPlacesV1AddressDescriptorArea.t), default: nil) - A ranked list of containing or adjacent areas. The most recognizable and precise areas are ranked first.
  • landmarks (type: list(GoogleApi.Places.V1.Model.GoogleMapsPlacesV1AddressDescriptorLandmark.t), default: nil) - A ranked list of nearby landmarks. The most recognizable and nearby landmarks are ranked first.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Places.V1.Model.GoogleMapsPlacesV1AddressDescriptor{
  areas:
    [GoogleApi.Places.V1.Model.GoogleMapsPlacesV1AddressDescriptorArea.t()]
    | nil,
  landmarks:
    [GoogleApi.Places.V1.Model.GoogleMapsPlacesV1AddressDescriptorLandmark.t()]
    | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.